3v4l.org

run code in 300+ PHP versions simultaneously
<?php $it = new ArrayIterator(range(1, 5)); $cb = 'hello'; $test = new CallbackFilterIterator($it, $cb);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/uoNCC
function name:  (null)
number of ops:  15
compiled vars:  !0 = $it, !1 = $cb, !2 = $test
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'ArrayIterator'
          1        INIT_FCALL                                               'range'
          2        SEND_VAL                                                 1
          3        SEND_VAL                                                 5
          4        DO_ICALL                                         $4      
          5        SEND_VAR_NO_REF_EX                                       $4
          6        DO_FCALL                                      0          
          7        ASSIGN                                                   !0, $3
    4     8        ASSIGN                                                   !1, 'hello'
    5     9        NEW                                              $8      'CallbackFilterIterator'
         10        SEND_VAR_EX                                              !0
         11        SEND_VAR_EX                                              !1
         12        DO_FCALL                                      0          
         13        ASSIGN                                                   !2, $8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.19 ms | 1394 KiB | 15 Q