3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.32 ms | 1394 KiB | 15 Q