3v4l.org

run code in 300+ PHP versions simultaneously
<?for($b=99,$a=' bottles of beer',$c=' on the wall';$b;$b--)echo"$b$a$c, $b$a.\nTake one down and passed it around, ".($b-1)."$a$c.\n\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 19
Branch analysis from position: 19
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 4
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 4
Branch analysis from position: 20
Branch analysis from position: 4
filename:       /in/8FWj7
function name:  (null)
number of ops:  21
compiled vars:  !0 = $b, !1 = $a, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, 99
          1        ASSIGN                                                   !1, '+bottles+of+beer'
          2        ASSIGN                                                   !2, '+on+the+wall'
          3      > JMP                                                      ->19
          4    >   ROPE_INIT                                     7  ~7      !0
          5        ROPE_ADD                                      1  ~7      ~7, !1
          6        ROPE_ADD                                      2  ~7      ~7, !2
          7        ROPE_ADD                                      3  ~7      ~7, '%2C+'
          8        ROPE_ADD                                      4  ~7      ~7, !0
          9        ROPE_ADD                                      5  ~7      ~7, !1
         10        ROPE_END                                      6  ~6      ~7, '.%0ATake+one+down+and+passed+it+around%2C+'
         11        SUB                                              ~11     !0, 1
         12        CONCAT                                           ~12     ~6, ~11
         13        ROPE_INIT                                     3  ~14     !1
         14        ROPE_ADD                                      1  ~14     ~14, !2
         15        ROPE_END                                      2  ~13     ~14, '.%0A%0A'
         16        CONCAT                                           ~16     ~12, ~13
         17        ECHO                                                     ~16
         18        PRE_DEC                                                  !0
         19    > > JMPNZ                                                    !0, ->4
         20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.61 ms | 1398 KiB | 13 Q