3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "Whoooot!\n"; $b = (object)"It's an object!\n"; $c = &$a; $d = &$b; function testIt ($z){ print_r($z); } testIt($c); testIt($d);

preferences:
38.15 ms | 402 KiB | 5 Q