3v4l.org

run code in 200+ 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'; //}
based on itE3k
Output for 4.3.0 - 4.4.1, 4.4.3 - 5.0.5, 5.1.1, 5.1.3 - 5.1.4, 5.1.6 - 7.2.0
Output for 4.4.2, 5.1.2, 5.1.5
//}
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/HFP9T on line 8
Process exited with code 255.