3v4l.org

run code in 300+ PHP versions simultaneously
<?php $raw_value = 108464.6749028; print str_pad(sprintf('%.2f',round($raw_value, 2)), 12, '0', STR_PAD_LEFT);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/hCc7T
function name:  (null)
number of ops:  17
compiled vars:  !0 = $raw_value
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 108465
    4     1        INIT_FCALL                                               'str_pad'
          2        INIT_FCALL                                               'sprintf'
          3        SEND_VAL                                                 '%25.2f'
          4        INIT_FCALL                                               'round'
          5        SEND_VAR                                                 !0
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $2      
          8        SEND_VAR                                                 $2
          9        DO_ICALL                                         $3      
         10        SEND_VAR                                                 $3
         11        SEND_VAL                                                 12
         12        SEND_VAL                                                 '0'
         13        SEND_VAL                                                 0
         14        DO_ICALL                                         $4      
         15        ECHO                                                     $4
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.57 ms | 1398 KiB | 19 Q