3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = numfmt_create( 'de_DE', NumberFormatter::DECIMAL ); echo numfmt_parse($fmt, "1,000.00");
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/giTbA
function name:  (null)
number of ops:  12
compiled vars:  !0 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL_BY_NAME                                       'numfmt_create'
          1        SEND_VAL_EX                                              'de_DE'
          2        FETCH_CLASS_CONSTANT                             ~1      'NumberFormatter', 'DECIMAL'
          3        SEND_VAL_EX                                              ~1
          4        DO_FCALL                                      0  $2      
          5        ASSIGN                                                   !0, $2
    4     6        INIT_FCALL_BY_NAME                                       'numfmt_parse'
          7        SEND_VAR_EX                                              !0
          8        SEND_VAL_EX                                              '1%2C000.00'
          9        DO_FCALL                                      0  $4      
         10        ECHO                                                     $4
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.29 ms | 1397 KiB | 13 Q