Substitute echo function in php 5

This commit is contained in:
Daniil Gentili 2019-06-18 18:35:32 +02:00
parent 3102209ace
commit e6cb604b0a

View File

@ -72,6 +72,7 @@ cd ..
cp $madelinePath/tests/random.php phar5/vendor/paragonie/random_compat/lib/random.php
cp phar5/vendor/danog/madelineproto/src/danog/MadelineProto/Coroutine.php phar5/vendor/amphp/amp/lib/Coroutine.php
sed 's/namespace danog\\MadelineProto;/namespace Amp;/g' -i phar5/vendor/amphp/amp/lib/Coroutine.php
sed 's/public function echo/public function echo_/g' -i phar5/vendor/danog/madelineproto/src/danog/MadelineProto/Tools.php
php -v
php=5