3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
170.71 ms | 2787 KiB | 14 Q