3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(array('Lusitanian', 'cryptic', 'Mike B', 'Jack', 'webarto') as $key => $value) { echo sprintf("%s%s[%d]", $value, str_repeat('.', 20 - 1 - strlen($value)), 1), PHP_EOL; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 1, Position 2 = 18
Branch analysis from position: 1
2 jumps found. (Code = 78) Position 1 = 2, Position 2 = 18
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 1
Branch analysis from position: 1
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
filename:       /in/1W4gt
function name:  (null)
number of ops:  20
compiled vars:  !0 = $value, !1 = $key
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E > > FE_RESET_R                                       $2      <array>, ->18
          1    > > FE_FETCH_R                                       ~3      $2, !0, ->18
          2    >   ASSIGN                                                   !1, ~3
    5     3        INIT_FCALL                                               'sprintf'
          4        SEND_VAL                                                 '%25s%25s%5B%25d%5D'
          5        SEND_VAR                                                 !0
          6        INIT_FCALL                                               'str_repeat'
          7        SEND_VAL                                                 '.'
          8        STRLEN                                           ~5      !0
          9        SUB                                              ~6      19, ~5
         10        SEND_VAL                                                 ~6
         11        DO_ICALL                                         $7      
         12        SEND_VAR                                                 $7
         13        SEND_VAL                                                 1
         14        DO_ICALL                                         $8      
         15        ECHO                                                     $8
         16        ECHO                                                     '%0A'
    3    17      > JMP                                                      ->1
         18    >   FE_FREE                                                  $2
    6    19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.79 ms | 1395 KiB | 17 Q