3v4l.org

run code in 300+ PHP versions simultaneously
<?php while(($i++ ?? ($i = 0)) < 3) exit;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 8, Position 2 = 1
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 1
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/svJeB
function name:  (null)
number of ops:  9
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > JMP                                                      ->2
          1    > > EXIT                                                     
          2    >   POST_INC                                         ~1      !0
          3        COALESCE                                         ~2      ~1
          4        ASSIGN                                           ~3      !0, 0
          5        QM_ASSIGN                                        ~2      ~3
          6        IS_SMALLER                                               ~2, 3
          7      > JMPNZ                                                    ~4, ->1
          8    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.39 ms | 1393 KiB | 13 Q