Top "Php-7" questions

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

PHP 7.0.5: Use of undefined constant FTP_BINARY - assumed 'FTP_BINARY'

Upgrading to PHP 7.0.5 on Windows IIS (finally since the sqlsrv PDO drivers are available). I'm using Laravel 5.1 and when trying …

windows iis laravel-5.1 php-7 flysystem
How can I migrate Zend Framework 1 to 3

Has anyone please describe how much architecture changed by Zend from Ver 1 to 3. Recently zend released ZF3 but no information …

php zend-framework php-7 zend-framework3 zf3
PHP Sockets with SSL / TLS - no suitable shared cipher could be used

I am attempting to create a server and client using PHP Sockets with SSL / TLS. However, when sending data to …

ssl client-server php-7 tls1.2 php-socket
PHP 7 with Doctrine MongoDB ODM

I have a Symfony 2 application that is using Doctrine MongoDB ODM and I'm trying to get this running with PHP 7. …

symfony composer-php doctrine-odm php-7
Returning NULL with return type declarations

I was refactoring a codebase for use with PHP7, particularly implementing scalar type hints and return type hints, when I …

php php-7 type-hinting php-7.1
PHP7.0-fpm extremly slow on Ubuntu Windows Subsystem Linux

I installed Windows Subsystem Ubuntu shell recently and shifted all of my development from XAMPP to nginx and php7.0-fpm …

nginx fastcgi php-7
Anonymous class construction

I need an idea to create anonymous class on PHP. I don't know how I can works. See my limitations: …

php class namespaces anonymous php-7
PHP iterable to array or Traversable

I'm quite happy that PHP 7.1 introduced the iterable pseudo-type. Now while this is great when just looping over a parameter …

php arrays iterator php-7 php-7.1
Are scalar and strict types in PHP7 a performance enhancing feature?

Since PHP7 we can now use scalar typehint and ask for strict types on a per-file basis. Are there any …

php performance types strong-typing php-7
Installing mailparse php7 mbstring error

I'm currently working to put our project under php7. When trying to compile the mailparse extension or use pecl to …

php-extension php-7 email-parsing