3v4l.org

run code in 300+ PHP versions simultaneously
<?php $matches = [ 'xyz', 'dublin', 40, 'abc', 'canada', 2 ]; $matches = array_chunk($matches,3); print_r($matches); foreach ($matches as $value) { var_dump($value); }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
2 jumps found. (Code = 78) Position 1 = 11, Position 2 = 15
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 15
filename:       /in/0QlGu
function name:  (null)
number of ops:  17
compiled vars:  !0 = $matches, !1 = $value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   12     1        INIT_FCALL                                               'array_chunk'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 3
          4        DO_ICALL                                         $3      
          5        ASSIGN                                                   !0, $3
   14     6        INIT_FCALL                                               'print_r'
          7        SEND_VAR                                                 !0
          8        DO_ICALL                                                 
   16     9      > FE_RESET_R                                       $6      !0, ->15
         10    > > FE_FETCH_R                                               $6, !1, ->15
   17    11    >   INIT_FCALL                                               'var_dump'
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
   16    14      > JMP                                                      ->10
         15    >   FE_FREE                                                  $6
   18    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.06 ms | 1428 KiB | 16 Q