3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.97 ms | 1394 KiB | 15 Q