3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array[0]['somekey'] = 'bla'; isset($array[0]['somekey']['someotherkey']) ? print $array[0]['somekey']['someotherkey'] : print $array[0]['somekey']['someotherkey'];
based on SBFgo
Output for 5.4.0 - 7.1.0
Warning: Illegal string offset 'someotherkey' in /in/aWs9M on line 5 b
Output for 4.3.0 - 5.3.29
b