splitline/PHPFuck

Support PHP 5

oToToT opened this issue · 3 comments

I think that this only works in PHP 7 QAQ.

cool
i only test on my php7 :/


I can't figure out why

var_dump( (([]^[]).[])[0] );

failed on php5

but

$x=(([]^[]).[]);
var_dump( $x[0] );

will work.

I guess that it's AST parse wrongly

PHP SUCKS = =

Ok I got it

PHP 5 doesn't support things like this

'abc'[1]

and this is the main idea to make this obfuscator.

So, wontfix :)

close 8888888

It's quite sad. QAQ...
Btw, maybe you could notify users about the version this project supports in README.