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[])) { print_r($dataAgent); }
Output for 5.3.0 - 5.5.9
Fatal error: Cannot use [] for reading in /in/2dllA on line 8
Process exited with code 255.