3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = (object)"Whoooot!"; $b = &$a; function testIt ($c){ print_r($c); } testIt($b);
Output for 4.3.0 - 7.2.0
stdClass Object ( [scalar] => Whoooot! )