3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ( ; $a=3, $b=4, $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 = 9, Position 2 = 1
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 1
Branch analysis from position: 9
Branch analysis from position: 1
filename:       /in/Khusl
function name:  (null)
number of ops:  13
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        ASSIGN                                                   !2, 4
          5        IS_SMALLER                                       ~7      !1, !2
          6        FREE                                                     ~7
          7        POST_INC                                         ~8      !1
          8      > JMPNZ                                                    ~8, ->1
    5     9    >   INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.33 ms | 1394 KiB | 15 Q