3v4l.org

run code in 500+ PHP versions simultaneously
<?php foreach (range(0, 10) as $idx) { echo str_pad(++$idx, 2, '#', STR_PAD_LEFT), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 5, Position 2 = 16
Branch analysis from position: 5
2 jumps found. (Code = 78) Position 1 = 6, Position 2 = 16
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/DAqmo
function name:  (null)
number of ops:  18
compiled vars:  !0 = $idx
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                                   'range'
          1        SEND_VAL                                                     0
          2        SEND_VAL                                                     10
          3        DO_ICALL                                             $1      
          4      > FE_RESET_R                                           $2      $1, ->16
          5    > > FE_FETCH_R                                                   $2, !0, ->16
    4     6    >   INIT_FCALL                                                   'str_pad'
          7        PRE_INC                                              ~3      !0
          8        SEND_VAL                                                     ~3
          9        SEND_VAL                                                     2
         10        SEND_VAL                                                     '%23'
         11        SEND_VAL                                                     0
         12        DO_ICALL                                             $4      
         13        ECHO                                                         $4
         14        ECHO                                                         '%0A'
    3    15      > JMP                                                          ->5
         16    >   FE_FREE                                                      $2
    5    17      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.54 ms | 1892 KiB | 15 Q