3v4l.org

run code in 300+ PHP versions simultaneously
<?php $table_array = array(); $results = array('hi', 'hello', 'there'); array_walk($result, function($row) { printf('%s ', $row[0]); $index = $row[0]; $table_array[$index] = array(); }, $table_array);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/geEmc
function name:  (null)
number of ops:  9
compiled vars:  !0 = $table_array, !1 = $results, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN                                                   !1, <array>
    4     2        INIT_FCALL                                               'array_walk'
          3        SEND_REF                                                 !2
          4        DECLARE_LAMBDA_FUNCTION                                  '%00%7Bclosure%7D%2Fin%2FgeEmc%3A4%240'
    8     5        SEND_VAL                                                 ~5
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Function %00%7Bclosure%7D%2Fin%2FgeEmc%3A4%240:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/geEmc
function name:  {closure}
number of ops:  11
compiled vars:  !0 = $row, !1 = $index, !2 = $table_array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   RECV                                             !0      
    5     1        INIT_FCALL                                               'printf'
          2        SEND_VAL                                                 '%25s+'
          3        FETCH_DIM_R                                      ~3      !0, 0
          4        SEND_VAL                                                 ~3
          5        DO_ICALL                                                 
    6     6        FETCH_DIM_R                                      ~5      !0, 0
          7        ASSIGN                                                   !1, ~5
    7     8        ASSIGN_DIM                                               !2, !1
          9        OP_DATA                                                  <array>
    8    10      > RETURN                                                   null

End of function %00%7Bclosure%7D%2Fin%2FgeEmc%3A4%240

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.91 ms | 1395 KiB | 17 Q