3v4l.org

run code in 300+ PHP versions simultaneously
<?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]}";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Pit0i
function name:  (null)
number of ops:  8
compiled vars:  !0 = $testarray
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   18     1        NOP                                                      
          2        FETCH_CONSTANT                                   ~3      'speed'
          3        FETCH_DIM_R                                      ~2      !0, 1
          4        FETCH_DIM_R                                      ~4      ~2, ~3
          5        FAST_CONCAT                                      ~5      'Speed+for+User+ID+1%3A+', ~4
          6        ECHO                                                     ~5
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.93 ms | 1392 KiB | 13 Q