3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
178.56 ms | 1385 KiB | 19 Q