3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.95 ms | 1385 KiB | 19 Q