3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array( 'Client' => 'foo', 'Grnd Compte' => 'bar', 'marchand' => 'foobaz' ); var_dump($array['client']); var_dump($array['grnd compte']); var_dump($array['Grnd Compte']);
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined index: client in /in/loYU8 on line 10 NULL Notice: Undefined index: grnd compte in /in/loYU8 on line 11 NULL string(3) "bar"
Output for 4.3.0 - 5.2.17
Notice: Undefined index: client in /in/loYU8 on line 10 NULL Notice: Undefined index: grnd compte in /in/loYU8 on line 11 NULL string(3) "bar"