3v4l.org

run code in 300+ PHP versions simultaneously
<?php list( $a, $b ) = array( 2, 4 ); for ( ; ++$a, $a < $b; ) { $result = $a * $b; } var_dump( $result );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 5
Branch analysis from position: 10
Branch analysis from position: 5
filename:       /in/lJItR
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $b, !2 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_LIST_R                                     $3      <array>, 0
          1        ASSIGN                                                   !0, $3
          2        FETCH_LIST_R                                     $5      <array>, 1
          3        ASSIGN                                                   !1, $5
    3     4      > JMP                                                      ->7
    4     5    >   MUL                                              ~7      !0, !1
          6        ASSIGN                                                   !2, ~7
    3     7    >   PRE_INC                                                  !0
          8        IS_SMALLER                                               !0, !1
          9      > JMPNZ                                                    ~10, ->5
    6    10    >   INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !2
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.91 ms | 1394 KiB | 15 Q