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; echo $b;
Output for 4.3.0 - 7.2.0
Bleh Yay!Ho Hum