3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array('a' => false, 'b' => null, 'c' => '', 'd' => 'd'); foreach ($array as $k => $v) { printf( '%s => %s isset = %s ake = %s', $k, $v, isset($array[ $k ]), array_key_exists($k, $array) ); }
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
a => isset = 1 ake = 1b => isset = ake = 1c => isset = 1 ake = 1d => d isset = 1 ake = 1