3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $current_sidebars['import_sidebar'] = null; if(isset($current_sidebars['import_sidebar'])) { echo 'is set'; } if(array_key_exists('import_sidebar', $current_sidebars)) { echo 'key exists'; }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
key exists