3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo number_format(abs((float)str_replace(',','.','141.50')), 2, '.','');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/jv2fr
function name:  (null)
number of ops:  17
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'number_format'
          1        INIT_FCALL                                               'abs'
          2        INIT_FCALL                                               'str_replace'
          3        SEND_VAL                                                 '%2C'
          4        SEND_VAL                                                 '.'
          5        SEND_VAL                                                 '141.50'
          6        DO_ICALL                                         $0      
          7        CAST                                          5  ~1      $0
          8        SEND_VAL                                                 ~1
          9        DO_ICALL                                         $2      
         10        SEND_VAR                                                 $2
         11        SEND_VAL                                                 2
         12        SEND_VAL                                                 '.'
         13        SEND_VAL                                                 ''
         14        DO_ICALL                                         $3      
         15        ECHO                                                     $3
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.65 ms | 1385 KiB | 19 Q