3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
vars.php <?php $i = 10; $t = 20; global $e = 0; echo "I: $i\n"; echo "T: $t\n"; echo "E: $e\n"; addition(); echo "E: $e\n"; function addition($i, $t) { $e = $i+$t; } ?>
Output for 5.3.0 - 5.4.20
Parse error: syntax error, unexpected '=', expecting ',' or ';' in /in/cpZJX on line 5
Process exited with code 255.