3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $result = array(0 => '1'); echo isset($result[0]['foo']) ? 'Yes, it is set.' : 'No, it is not set.'; echo (isset($result['0']['exist'])) ? true : false;
Output for 5.0.0 - 5.0.2, 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
No, it is not set.
Output for 4.3.0 - 4.4.9, 5.0.3 - 5.3.29
Yes, it is set.1