3v4l.org

run code in 300+ PHP versions simultaneously
<?$b=99;while($b--)echo"$b bottles of beer on the wall $b bottles of beer Took 1 down passed it around ".($b-1)." bottles of beer on the wall ";
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 = 2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 12, Position 2 = 2
Branch analysis from position: 12
Branch analysis from position: 2
filename:       /in/JTSB1
function name:  (null)
number of ops:  13
compiled vars:  !0 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 99
          1      > JMP                                                      ->10
          2    >   ROPE_INIT                                     4  ~3      !0
          3        ROPE_ADD                                      1  ~3      ~3, '+bottles+of+beer+on+the+wall+'
          4        ROPE_ADD                                      2  ~3      ~3, !0
          5        ROPE_END                                      3  ~2      ~3, '+bottles+of+beer+Took+1+down+passed+it+around+'
          6        SUB                                              ~5      !0, 1
          7        CONCAT                                           ~6      ~2, ~5
          8        CONCAT                                           ~7      ~6, '+bottles+of+beer+on+the+wall+'
          9        ECHO                                                     ~7
         10    >   POST_DEC                                         ~8      !0
         11      > JMPNZ                                                    ~8, ->2
         12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
174.95 ms | 1384 KiB | 13 Q