3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array[] = array ( 'age' => 'Lower limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 2, 'highlight' => false ); $array[] = array ( 'age' => 'Upper limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' =>3, 'highlight' => false ); $array[] = array ( 'age' => 'Limits:', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => null, 'highlight' => 1 ); $array[] = array ( 'age' => 'Freeze limit', 'shipments' => null, 'orders' => null, 'ifs' => null, 'items' => 1, 'highlight' => false ); $array2 = array ( 'ageing_data' => $array, ); foreach ($array2 as $row) { print_r(implode('',array_slice($row, 1))); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 11, Position 2 = 24
Branch analysis from position: 11
2 jumps found. (Code = 78) Position 1 = 12, Position 2 = 24
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
Branch analysis from position: 24
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 24
filename:       /in/MjmSL
function name:  (null)
number of ops:  26
compiled vars:  !0 = $array, !1 = $array2, !2 = $row
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN_DIM                                               !0
    3     1        OP_DATA                                                  <array>
   11     2        ASSIGN_DIM                                               !0
   12     3        OP_DATA                                                  <array>
   19     4        ASSIGN_DIM                                               !0
   20     5        OP_DATA                                                  <array>
   28     6        ASSIGN_DIM                                               !0
   29     7        OP_DATA                                                  <array>
   38     8        INIT_ARRAY                                       ~7      !0, 'ageing_data'
   37     9        ASSIGN                                                   !1, ~7
   42    10      > FE_RESET_R                                       $9      !1, ->24
         11    > > FE_FETCH_R                                               $9, !2, ->24
   43    12    >   INIT_FCALL                                               'print_r'
         13        INIT_FCALL                                               'implode'
         14        SEND_VAL                                                 ''
         15        INIT_FCALL                                               'array_slice'
         16        SEND_VAR                                                 !2
         17        SEND_VAL                                                 1
         18        DO_ICALL                                         $10     
         19        SEND_VAR                                                 $10
         20        DO_ICALL                                         $11     
         21        SEND_VAR                                                 $11
         22        DO_ICALL                                                 
   42    23      > JMP                                                      ->11
         24    >   FE_FREE                                                  $9
   44    25      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.68 ms | 1395 KiB | 19 Q