3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = array('one'=>1, 'two'=>2); $output = array_key_exists('one',$test) ? 'cool' : 'not'; echo $output;
Output for 4.3.0 - 7.1.0
cool