kakserpom / phpdaemon

Asynchronous server-side framework for network applications implemented in PHP using libevent
http://daemon.io/
GNU Lesser General Public License v3.0
1.53k stars 231 forks source link

PHP Fatal error: Cannot use 'Object' as class name as it is reserved in PHPDaemon/Config/Object.php on line 19 #289

Closed sashok1337 closed 6 years ago

sashok1337 commented 6 years ago

What steps will reproduce the problem? install php 7.2.x install phpDaemon

$phpd start

What is the expected result? app is successfully launched

What do you get instead? PHP Fatal error: Cannot use 'Object' as class name as it is reserved in PHPDaemon/Config/Object.php on line 19

Object is reserved word since PHP 7.2.

kakserpom commented 6 years ago

The class must be renamed to _Object. I am out on a trip, so feel free to send a Pull Request for this. Thank you.

sashok1337 commented 6 years ago

@kakserpom pull request #290