3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $testarray = Array ( 1 => Array ( 'id' => 1, 'account' => 'testuser', 'sum' => 152, 'sumrate' => 0.08, 'avgrate' => 10.133333333333, 'speed' => 14167.426844444, ) ); echo "Speed for User ID 1: {$testarray[1][speed]}";
Output for 7.2.0 - 7.3.0rc6
Warning: Use of undefined constant speed - assumed 'speed' (this will throw an Error in a future version of PHP) in /in/Pit0i on line 18 Speed for User ID 1: 14167.426844444
Output for 4.3.0 - 7.1.20
Notice: Use of undefined constant speed - assumed 'speed' in /in/Pit0i on line 18 Speed for User ID 1: 14167.426844444