3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array("foo" => "bar"); var_dump(each($a)); var_dump(each($a)); var_dump(each($a));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/huoas
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        INIT_FCALL                                               'var_dump'
          2        INIT_FCALL_BY_NAME                                       'each'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $2      
          5        SEND_VAR                                                 $2
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL_BY_NAME                                       'each'
          9        SEND_VAR_EX                                              !0
         10        DO_FCALL                                      0  $4      
         11        SEND_VAR                                                 $4
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL_BY_NAME                                       'each'
         15        SEND_VAR_EX                                              !0
         16        DO_FCALL                                      0  $6      
         17        SEND_VAR                                                 $6
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
198.79 ms | 1399 KiB | 15 Q