mirror of
https://github.com/vrana/adminer.git
synced 2026-04-11 15:08:29 +02:00
php_shrink: Move add_apo_slashes to compile.php
This commit is contained in:
@@ -13,6 +13,9 @@ function check($code, $expected) {
|
||||
//! bugs:
|
||||
check('{if (true) {} echo 1;}', '{if(true);echo 1;}');
|
||||
|
||||
//! inefficiencies
|
||||
check('echo "a"."b",\'c\'."d$a"."e";', 'echo "abcd$a"."e"');
|
||||
|
||||
check('$ab = 1; echo $ab;', '$a=1;echo$a;');
|
||||
check('$ab = 1; $cd = 2;', '$a=1;$b=2;');
|
||||
check('define("AB", 1);', 'define("AB",1);');
|
||||
|
||||
Reference in New Issue
Block a user