3v4l.org

run code in 300+ PHP versions simultaneously
<?php while((!isset($i) ? $id = 0 : ++$i) < 5){ echo "$i \n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 4
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 1
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 10
Branch analysis from position: 7
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 1
Branch analysis from position: 14
Branch analysis from position: 1
Branch analysis from position: 10
filename:       /in/lGr01
function name:  (null)
number of ops:  15
compiled vars:  !0 = $i, !1 = $id
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->4
    4     1    >   NOP                                                      
          2        FAST_CONCAT                                      ~2      !0, '+%0A'
          3        ECHO                                                     ~2
    3     4    >   ISSET_ISEMPTY_CV                                 ~3      !0
          5        BOOL_NOT                                         ~4      ~3
          6      > JMPZ                                                     ~4, ->10
          7    >   ASSIGN                                           ~5      !1, 0
          8        QM_ASSIGN                                        ~6      ~5
          9      > JMP                                                      ->12
         10    >   PRE_INC                                          ~7      !0
         11        QM_ASSIGN                                        ~6      ~7
         12    >   IS_SMALLER                                               ~6, 5
         13      > JMPNZ                                                    ~8, ->1
    5    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.48 ms | 1393 KiB | 13 Q