3v4l.org

run code in 300+ PHP versions simultaneously
<?php iterator_to_array(new LimitIterator(new ArrayIterator(array(1, 2, 3)), 10));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/VHC6N
function name:  (null)
number of ops:  11
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'iterator_to_array'
          1        NEW                                              $0      'LimitIterator'
          2        NEW                                              $1      'ArrayIterator'
          3        SEND_VAL_EX                                              <array>
          4        DO_FCALL                                      0          
          5        SEND_VAR_NO_REF_EX                                       $1
          6        SEND_VAL_EX                                              10
          7        DO_FCALL                                      0          
          8        SEND_VAR                                                 $0
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.31 ms | 1394 KiB | 15 Q