3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 100000; $b = true; $a = array(); while($i-- && $b) { $b = !$a; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 6
Branch analysis from position: 6
2 jumps found. (Code = 46) Position 1 = 8, Position 2 = 9
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 = 46) Position 1 = 8, Position 2 = 9
Branch analysis from position: 8
Branch analysis from position: 9
Branch analysis from position: 9
filename:       /in/HUfRo
function name:  (null)
number of ops:  11
compiled vars:  !0 = $i, !1 = $b, !2 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 100000
          1        ASSIGN                                                   !1, <true>
          2        ASSIGN                                                   !2, <array>
          3      > JMP                                                      ->6
          4    >   BOOL_NOT                                         ~6      !2
          5        ASSIGN                                                   !1, ~6
          6    >   POST_DEC                                         ~8      !0
          7      > JMPZ_EX                                          ~8      ~8, ->9
          8    >   BOOL                                             ~8      !1
          9    > > JMPNZ                                                    ~8, ->4
         10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.4 ms | 1393 KiB | 13 Q