3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.4 ms | 1394 KiB | 17 Q