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, ); print_r($array2); 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 = 14, Position 2 = 27
Branch analysis from position: 14
2 jumps found. (Code = 78) Position 1 = 15, Position 2 = 27
Branch analysis from position: 15
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
Branch analysis from position: 27
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 27
filename:       /in/0ts6J
function name:  (null)
number of ops:  29
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
   41    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !1
         12        DO_ICALL                                                 
   42    13      > FE_RESET_R                                       $10     !1, ->27
         14    > > FE_FETCH_R                                               $10, !2, ->27
   44    15    >   INIT_FCALL                                               'print_r'
         16        INIT_FCALL                                               'implode'
         17        SEND_VAL                                                 ''
         18        INIT_FCALL                                               'array_slice'
         19        SEND_VAR                                                 !2
         20        SEND_VAL                                                 1
         21        DO_ICALL                                         $11     
         22        SEND_VAR                                                 $11
         23        DO_ICALL                                         $12     
         24        SEND_VAR                                                 $12
         25        DO_ICALL                                                 
   42    26      > JMP                                                      ->14
         27    >   FE_FREE                                                  $10
   45    28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.49 ms | 1396 KiB | 19 Q