3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = array("re" => 12, "er" => 45, "rt" => 66 ); do { each($ar); } while (current($ar) == 45); echo current($ar);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 1
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
filename:       /in/D13nJ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $ar
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    6     1    >   INIT_FCALL_BY_NAME                                       'each'
          2        SEND_VAR_EX                                              !0
          3        DO_FCALL                                      0          
    7     4        INIT_FCALL                                               'current'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        IS_EQUAL                                                 $3, 45
          8      > JMPNZ                                                    ~4, ->1
    9     9    >   INIT_FCALL                                               'current'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                         $5      
         12        ECHO                                                     $5
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.28 ms | 1394 KiB | 15 Q