3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = array_chunk(range(1, 10000), 15); echo count(call_user_func_array('array_merge', $list));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/aoWIb
function name:  (null)
number of ops:  16
compiled vars:  !0 = $list
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'array_chunk'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 10000
          4        DO_ICALL                                         $1      
          5        SEND_VAR                                                 $1
          6        SEND_VAL                                                 15
          7        DO_ICALL                                         $2      
          8        ASSIGN                                                   !0, $2
    3     9        INIT_FCALL                                               'array_merge'
         10        SEND_ARRAY                                               !0
         11        CHECK_UNDEF_ARGS                                         
         12        DO_FCALL                                      0  $4      
         13        COUNT                                            ~5      $4
         14        ECHO                                                     ~5
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
187.62 ms | 1394 KiB | 19 Q