Substitute echo function in php 5
This commit is contained in:
parent
3102209ace
commit
e6cb604b0a
@ -72,6 +72,7 @@ cd ..
|
|||||||
cp $madelinePath/tests/random.php phar5/vendor/paragonie/random_compat/lib/random.php
|
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
|
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/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 -v
|
||||||
|
|
||||||
php=5
|
php=5
|
||||||
|
Loading…
Reference in New Issue
Block a user