3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tokens = [1,2,3]; new NoRewindIterator(SplFixedArray::fromArray($tokens)->getIterator());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/13jav
function name:  (null)
number of ops:  11
compiled vars:  !0 = $tokens
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        NEW                                              $2      'NoRewindIterator'
          2        INIT_STATIC_METHOD_CALL                                  'SplFixedArray', 'fromArray'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0  $3      
          5        INIT_METHOD_CALL                                         $3, 'getIterator'
          6        DO_FCALL                                      0  $4      
          7        SEND_VAR_NO_REF_EX                                       $4
          8        DO_FCALL                                      0          
          9        FREE                                                     $2
         10      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.35 ms | 1392 KiB | 13 Q