3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::DECIMAL ); $fmt->format('1234567.891234567890000'); var_dump(numfmt_get_error_message($fmt)); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/fl54V
function name:  (null)
number of ops:  16
compiled vars:  !0 = $fmt
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'NumberFormatter'
          1        SEND_VAL_EX                                              'de_DE'
          2        FETCH_CLASS_CONSTANT                             ~2      'NumberFormatter', 'DECIMAL'
          3        SEND_VAL_EX                                              ~2
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $1
    3     6        INIT_METHOD_CALL                                         !0, 'format'
          7        SEND_VAL_EX                                              '1234567.891234567890000'
          8        DO_FCALL                                      0          
    4     9        INIT_FCALL                                               'var_dump'
         10        INIT_FCALL_BY_NAME                                       'numfmt_get_error_message'
         11        SEND_VAR_EX                                              !0
         12        DO_FCALL                                      0  $6      
         13        SEND_VAR                                                 $6
         14        DO_ICALL                                                 
    5    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
168.61 ms | 1385 KiB | 15 Q