Questions tagged [php-7]

PHP 7, launched on December 3, 2015, is the upgraded version of PHP 5.6. Feel free to utilize this tag for any queries related to PHP 7 development.

I successfully coded a function without utilizing the function key, but unfortunately I am encountering difficulties when trying to output the

I have created a function without using the function keyword. The function should take the age above 15 and push it into an array. I have been able to do that, but I am struggling to print the result. Can anyone help me with this? my code <script> ...

Laravel 5 is known for experiencing a frustrating "This site can't be reached" error message when attempting to download a file

I am experiencing an issue with my Laravel 5.2 and PHP7 setup on my hosting server. Everything seems to be working fine, except for the links that are supposed to generate and download xlsx files using Laravel Excel. Whenever I click on these links, I enco ...

Challenges encountered with Composer while running mPDF on PHP 7.4

After installing the most recent version of mPDF on my cloud server running PHP 7.4, I encountered an error when attempting to run it in my browser. Despite the fact that the mPDF requirements page states that this version should be compatible with PHP 7.3 ...

creating PHP multidimensional arrays by combining elements

<?php $userData = [ [ "UID" => "5f10482574d83d4b726fe5", "name" => "Yug Gill", "orgID" => "5f10481d74d83d4b726", "imageURL" => "fe ...

Is it necessary to have a PHP accelerator installed for the Symfony 3.0 migration from PHP 5.5 to PHP 7.1? It is highly recommended to install and enable a PHP accelerator for optimal performance

In my SYMFONY 3.0 Project, I am looking to upgrade from PHP5.5 to PHP7.1. While exploring the "php.ini" file for the necessary changes, there is one unresolved issue: Previously, under PHP5.5, I utilized the extension accelerator php_apcu.dll. However, i ...