3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $dataAgent['Paul'] = array('Sale' => 4,'Conv' => 1.5); $dataAgent['Bill'] = array('Sale' => 6,'Conv' => 5.5); $dataAgent['Tom'] = array('Sale' => 1); $dataAgent['Jake'] = array('Sale' => 6,'Conv' => 10.5); if(array_key_exists("Conv",$dataAgent['Paul'])) { print_r($dataAgent); }
Output for 4.3.0 - 7.1.0
Array ( [Paul] => Array ( [Sale] => 4 [Conv] => 1.5 ) [Bill] => Array ( [Sale] => 6 [Conv] => 5.5 ) [Tom] => Array ( [Sale] => 1 ) [Jake] => Array ( [Sale] => 6 [Conv] => 10.5 ) )