3v4l.org

run code in 200+ 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 - 7.2.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