3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( $a = base64_encode(1), base64_decode($a), $b = base64_encode(2), base64_decode($b), $c = base64_encode(3), base64_decode($c), $d = base64_encode(4) base64_decode($d) );
based on Vasrb
Output for 7.0.0
Parse error: syntax error, unexpected 'base64_decode' (T_STRING), expecting ',' or ')' in /in/eeXMJ on line 11
Process exited with code 255.
Output for 5.4.10 - 5.6.16
Parse error: syntax error, unexpected 'base64_decode' (T_STRING) in /in/eeXMJ on line 11
Process exited with code 255.
Output for 5.3.20 - 5.3.29
Parse error: syntax error, unexpected T_STRING in /in/eeXMJ on line 11
Process exited with code 255.