3v4l.org

run code in 300+ PHP versions simultaneously
<?php $we_all_float_down_here = (float) 3467.60009765625; echo number_format($we_all_float_down_here, 20, '.', ''); echo PHP_EOL; $we_all_float_down_here = (float) 3467.60009765626; echo number_format($we_all_float_down_here, 20, '.', ''); echo PHP_EOL; $we_all_float_down_here = (float) 3467.600097656253; echo number_format($we_all_float_down_here, 20, '.', '');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/DBOjm
function name:  (null)
number of ops:  30
compiled vars:  !0 = $we_all_float_down_here
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          5  ~1      3467.6
          1        ASSIGN                                                   !0, ~1
    3     2        INIT_FCALL                                               'number_format'
          3        SEND_VAR                                                 !0
          4        SEND_VAL                                                 20
          5        SEND_VAL                                                 '.'
          6        SEND_VAL                                                 ''
          7        DO_ICALL                                         $3      
          8        ECHO                                                     $3
    4     9        ECHO                                                     '%0A'
    5    10        CAST                                          5  ~4      3467.6
         11        ASSIGN                                                   !0, ~4
    6    12        INIT_FCALL                                               'number_format'
         13        SEND_VAR                                                 !0
         14        SEND_VAL                                                 20
         15        SEND_VAL                                                 '.'
         16        SEND_VAL                                                 ''
         17        DO_ICALL                                         $6      
         18        ECHO                                                     $6
    7    19        ECHO                                                     '%0A'
    8    20        CAST                                          5  ~7      3467.6
         21        ASSIGN                                                   !0, ~7
    9    22        INIT_FCALL                                               'number_format'
         23        SEND_VAR                                                 !0
         24        SEND_VAL                                                 20
         25        SEND_VAL                                                 '.'
         26        SEND_VAL                                                 ''
         27        DO_ICALL                                         $9      
         28        ECHO                                                     $9
         29      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
141.01 ms | 1010 KiB | 14 Q