3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function foo($a) { $a **= 4; print_r(func_get_args()); } foo(34554);
based on 4AoQJ
Output for 7.0.0 - 7.2.0
Array ( [0] => 1425585651852535056 )
Output for 5.6.8 - 5.6.28
Array ( [0] => 34554 )
Output for 5.4.0 - 5.5.35
Parse error: syntax error, unexpected '*=' (T_MUL_EQUAL) in /in/hIXS6 on line 3
Process exited with code 255.
Output for 5.3.19 - 5.3.29
Parse error: syntax error, unexpected T_MUL_EQUAL in /in/hIXS6 on line 3
Process exited with code 255.