3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Tests { } $a = array('Test' => 'foo'); $b = new Test(); var_dump($a[$b]);