3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = "Bleh"; $b = "Ho Hum"; function testIt (&$b){ $b = "Yay!"; } echo $a."\n"; testIt(&$a); echo $a."\n"; echo $b."\n";
Output for 5.4.0 - 5.4.30
Fatal error: Call-time pass-by-reference has been removed in /in/liOkl on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Deprecated: Call-time pass-by-reference has been deprecated in /in/liOkl on line 10 Bleh Yay! Ho Hum