3v4l.org

run code in 150+ 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 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant speed - assumed 'speed' in /in/Pit0i on line 18 Speed for User ID 1: 14167.426844444