3v4l.org

run code in 300+ PHP versions simultaneously
<?php $peak = 5; for ($i = $peak; $i; --$i) { echo implode(range($i, $peak)) , "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/KLo8j
function name:  (null)
number of ops:  15
compiled vars:  !0 = $peak, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 5
    5     1        ASSIGN                                                   !1, !0
          2      > JMP                                                      ->13
    6     3    >   INIT_FCALL                                               'implode'
          4        INIT_FCALL                                               'range'
          5        SEND_VAR                                                 !1
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $4      
          8        SEND_VAR                                                 $4
          9        DO_ICALL                                         $5      
         10        ECHO                                                     $5
         11        ECHO                                                     '%0A'
    5    12        PRE_DEC                                                  !1
         13    > > JMPNZ                                                    !1, ->3
    7    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.21 ms | 998 KiB | 15 Q