3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $_F=__FILE__;$_X='Pz48P3BocCANCjRuY2wzZDUoJ3NjcjRwdC5waHAnKTsNCj8+DQo='; print(base64_decode('Pz48P3BocCANCjRuY2wzZDUoJ3NjcjRwdC5waHAnKTsNCj8+DQo=')); print(base64_decode('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCcxMjM0NTZhb3VpZScsJ2FvdWllMTIzNDU2Jyk7JF9SPWVyZWdfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw==')); $_X=base64_decode($_X);$_X=strtr($_X,'123456aouie','aouie123456');$_R=ereg_replace('__FILE__',"'".$_F."'",$_X); echo ''\n'; print $_R; #print $_X; #print $_F; #eval($_R);$_R=0;$_X=0; ?>
based on QvkcE
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.1.12
Parse error: syntax error, unexpected '\' (T_NS_SEPARATOR), expecting ',' or ';' in /in/u09co on line 8
Process exited with code 255.
Output for hhvm-3.22.0
Fatal error: Uncaught Error: syntax error, unexpected T_NS_SEPARATOR, expecting ',' or ';' in /in/u09co:-1 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.18.5 - 3.21.3
Fatal error: Uncaught Error: syntax error, unexpected T_NS_SEPARATOR, expecting ',' or ';' in /in/u09co:8 Stack trace: #0 {main}
Process exited with code 255.