3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $section = new ArrayObject(); if (isset($section['Endpoint']['class'])) echo '[bad] class is set?'; else echo '[good] class not set.';
Output for 5.3.18 - 5.3.29, 5.4.8 - 5.6.28, 7.0.0 - 7.1.0
[good] class not set.
Output for hhvm-3.10.0 - 3.12.0
Notice: Undefined index: Endpoint in /in/KgV3Z on line 5 [good] class not set.
Output for 5.0.0 - 5.3.17, 5.4.0 - 5.4.7
Notice: Undefined index: Endpoint in /in/KgV3Z on line 5 [good] class not set.
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/KgV3Z on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/KgV3Z on line 3