3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a=$GLOBALS; $b=$a; $b["x"]=0; $c=$b; $b["x"]=1; echo gettype($b), $c["x"];
Output for 4.3.0 - 7.2.0
array1