3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new \stdClass; $b = new \stdClass; $c = $a; var_dump(spl_hash_object($a)); var_dump(spl_hash_object($b)); var_dump(spl_hash_object($c)); $aa = [$a, $b]; var_dump(in_array($aa, $c));