3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo (float)"145,567,483.77"; echo "/n"; echo number_format((float)"145,567,483.77", 2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/E17f7
function name:  (null)
number of ops:  10
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   CAST                                          5  ~0      '145%2C567%2C483.77'
          1        ECHO                                                     ~0
    3     2        ECHO                                                     '%2Fn'
    4     3        INIT_FCALL                                               'number_format'
          4        CAST                                          5  ~1      '145%2C567%2C483.77'
          5        SEND_VAL                                                 ~1
          6        SEND_VAL                                                 2
          7        DO_ICALL                                         $2      
          8        ECHO                                                     $2
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.49 ms | 1394 KiB | 15 Q