Top "Php-7" questions

PHP 7 is the successor to PHP 5.6, it was released on December 3, 2015.

Have trouble installing phpmyadmin on PHP7 Apache/2.4.7 (Ubuntu)

I installed PHP7 today with sudo add-apt-repository ppa:ondrej/php-7.0 sudo apt-get install php7.0-cli php7.0-common libapache2-mod-php7.0 php7.0 …

php phpmyadmin php-7
How to install redis extension for php 7

Referred this link https://anton.logvinenko.name/en/blog/how-to-install-redis-and-redis-php-client.html And done following steps PhpRedis for PHP 7 (Skip it …

php redis php-7 phpredis
Fatal error: Uncaught Error: Call to undefined function ereg_replace() PHP 7

below code is giving me the fatal error in php 7 $jquery_click_hook = ereg_replace("[^A-Za-z0-9]", "", strtolower($value['name'])); …

php php-7 ereg-replace
configure: error: Please reinstall the libzip distribution

I am getting this error, when trying to install Zip for PHP 7: pecl install zip yields the error configure: error: …

php php-7 pecl
How can I install mcrypt under PHP7? Laravel needs it

Since Laravel4 requires mcrypt extension, and PHP7 doesn't seem to have mcrypt extension, is there any workaround for this to …

php laravel laravel-4 php-7 mcrypt
Type hinting for properties in PHP 7?

Does php 7 support type hinting for class properties? I mean, not just for setters/getters but for the property itself. …

php attributes php-7 type-hinting variable-types
Unterminated entity reference in PHP

Here is my code: <?php // 27/01/2016 Edit: $result = mysql_query("A Long mysql query"); $rss = new SimpleXMLElement('<rss …

php xml simplexml php-7
php 7 php.ini upload_max_filesize not working

I have read many solutions on internet , but still cannot change upload_max_filesize value (upload_max_filesize always = 2M ) …

php php-7
WARNING: Module ini file doesn't exist under /etc/php/7.0/mods-available

I have uninstalled php7 and all its modules from ubuntu, and when I try to reinstall the modules, I get …

php php-extension php-7
Is it possible to specify multiple return types on PHP 7?

I have some methods that can return one of two return types. I'm using a framework utilizing MCV so refactoring …

php php-7 type-hinting