Closed RyanDevelopering closed 6 years ago
Hi! I cant run php script because php return error: PHP Fatal error: Default value for parameters with a class type hint can only be NULL in /var/www/test/vendor/danog/madelineproto/src/Socket.php on line 50
I get a code from example (pipesbot.php) https://github.com/danog/MadelineProto/blob/master/userbots/pipesbot.php
MadelineProto supports only PHP 7. Install php 7 or run 7to5 on the repo to run it with php 5.
Hi! I cant run php script because php return error: PHP Fatal error: Default value for parameters with a class type hint can only be NULL in /var/www/test/vendor/danog/madelineproto/src/Socket.php on line 50
I get a code from example (pipesbot.php) https://github.com/danog/MadelineProto/blob/master/userbots/pipesbot.php