3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $o = (object)["blah" => 'hi']; $var = property_exists($o, 'blah'); var_dump($var);
Output for 5.4.0 - 7.1.0
bool(true)
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/ckSAg on line 3
Process exited with code 255.