3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.62 ms | 1394 KiB | 15 Q