3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $oObj = (object) ['id' => 1]; var_dump(property_exists($oObj, 'id'));
Output for 5.4.2 - 7.0.6, 7.1.0 - 7.2.0
bool(true)
Output for 7.0.20

Process exited with code 137.
Output for 5.3.17 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/9TUIK on line 2
Process exited with code 255.