3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($x=30;$x-=1;$x>0) if ($x%2==0) skip; echo $x;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
Branch analysis from position: 7
filename:       /in/0Y1Es
function name:  (null)
number of ops:  13
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 30
          1      > JMP                                                      ->9
    3     2    >   MOD                                              ~2      !0, 2
          3        IS_EQUAL                                                 ~2, 0
          4      > JMPZ                                                     ~3, ->7
          5    >   FETCH_CONSTANT                                   ~4      'skip'
          6        FREE                                                     ~4
    2     7    >   IS_SMALLER                                       ~5      0, !0
          8        FREE                                                     ~5
          9    >   ASSIGN_OP                                     2  ~6      !0, 1
         10      > JMPNZ                                                    ~6, ->2
    4    11    >   ECHO                                                     !0
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.9 ms | 1393 KiB | 13 Q