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 5.4.0 - 7.1.0
Notice: Array to string conversion in /in/mAYAU on line 18 Speed for User ID 1: Array[speed]
Output for 4.3.0 - 5.3.29
Speed for User ID 1: Array[speed]