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['ageing_data'] as $row) { //print_r($row['highlight']); print_r(implode('',array_slice($row, 1))); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 12, Position 2 = 25
Branch analysis from position: 12
2 jumps found. (Code = 78) Position 1 = 13, Position 2 = 25
Branch analysis from position: 13
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 25
filename:       /in/EcYuu
function name:  (null)
number of ops:  27
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        FETCH_DIM_R                                      ~9      !1, 'ageing_data'
         11      > FE_RESET_R                                       $10     ~9, ->25
         12    > > FE_FETCH_R                                               $10, !2, ->25
   44    13    >   INIT_FCALL                                               'print_r'
         14        INIT_FCALL                                               'implode'
         15        SEND_VAL                                                 ''
         16        INIT_FCALL                                               'array_slice'
         17        SEND_VAR                                                 !2
         18        SEND_VAL                                                 1
         19        DO_ICALL                                         $11     
         20        SEND_VAR                                                 $11
         21        DO_ICALL                                         $12     
         22        SEND_VAR                                                 $12
         23        DO_ICALL                                                 
   42    24      > JMP                                                      ->12
         25    >   FE_FREE                                                  $10
   45    26      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.54 ms | 1395 KiB | 19 Q