3v4l.org

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

Generated using Vulcan Logic Dumper, using php 7.4.0