3v4l.org

run code in 500+ PHP versions simultaneously
<?php $num = 4; echo "<pre>"; for ($i = 1; $i <= $num; ++$i) { printf("% {$num}d<br>", (10 ** $i - 1) / 9 * $i); }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
Branch analysis from position: 4
filename:       /in/qMSQf
function name:  (null)
number of ops:  19
compiled vars:  !0 = $num, !1 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 4
    4     1        ECHO                                                         '%3Cpre%3E'
    5     2        ASSIGN                                                       !1, 1
          3      > JMP                                                          ->16
    6     4    >   INIT_FCALL                                                   'printf'
          5        ROPE_INIT                                         3  ~5      '%25+'
          6        ROPE_ADD                                          1  ~5      ~5, !0
          7        ROPE_END                                          2  ~4      ~5, 'd%3Cbr%3E'
          8        SEND_VAL                                                     ~4
          9        POW                                                  ~7      10, !1
         10        SUB                                                  ~8      ~7, 1
         11        DIV                                                  ~9      ~8, 9
         12        MUL                                                  ~10     !1, ~9
         13        SEND_VAL                                                     ~10
         14        DO_ICALL                                                     
    5    15        PRE_INC                                                      !1
         16    >   IS_SMALLER_OR_EQUAL                                          !1, !0
         17      > JMPNZ                                                        ~13, ->4
    7    18    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
210.16 ms | 1857 KiB | 14 Q