3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($amount = 0; $amount < 1000; ++$amount) { echo str_pad($amount, 3, ' ', STR_PAD_LEFT) . ': ' . round($amount / 100, 2) . "\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 2
Branch analysis from position: 20
Branch analysis from position: 2
filename:       /in/9sYHY
function name:  (null)
number of ops:  21
compiled vars:  !0 = $amount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
          1      > JMP                                                      ->18
    3     2    >   INIT_FCALL                                               'str_pad'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 3
          5        SEND_VAL                                                 '+'
          6        SEND_VAL                                                 0
          7        DO_ICALL                                         $2      
          8        CONCAT                                           ~3      $2, '%3A+'
          9        INIT_FCALL                                               'round'
         10        DIV                                              ~4      !0, 100
         11        SEND_VAL                                                 ~4
         12        SEND_VAL                                                 2
         13        DO_ICALL                                         $5      
         14        CONCAT                                           ~6      ~3, $5
         15        CONCAT                                           ~7      ~6, '%0A'
         16        ECHO                                                     ~7
    2    17        PRE_INC                                                  !0
         18    >   IS_SMALLER                                               !0, 1000
         19      > JMPNZ                                                    ~9, ->2
    4    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.82 ms | 1395 KiB | 17 Q