3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; while( true ){ echo $i++.PHP_EOL; for($j = 0; $j < 10; $j++){ echo $i. " - ". $j; if( $i == 101 ){ goto end; } } } end: echo "end";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 13
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 7
Branch analysis from position: 16
Branch analysis from position: 7
filename:       /in/bMnen
function name:  (null)
number of ops:  19
compiled vars:  !0 = $i, !1 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    4     1      > JMP                                                      ->16
    5     2    >   POST_INC                                         ~3      !0
          3        CONCAT                                           ~4      ~3, '%0A'
          4        ECHO                                                     ~4
    6     5        ASSIGN                                                   !1, 0
          6      > JMP                                                      ->14
    7     7    >   CONCAT                                           ~6      !0, '+-+'
          8        CONCAT                                           ~7      ~6, !1
          9        ECHO                                                     ~7
    9    10        IS_EQUAL                                                 !0, 101
         11      > JMPZ                                                     ~8, ->13
   10    12    > > JMP                                                      ->17
    6    13    >   PRE_INC                                                  !1
         14    >   IS_SMALLER                                               !1, 10
         15      > JMPNZ                                                    ~10, ->7
    4    16    > > JMPNZ                                                    <true>, ->2
   16    17    >   ECHO                                                     'end'
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.63 ms | 1394 KiB | 13 Q