3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new NumberFormatter( 'de_DE', NumberFormatter::CURRENCY ); $return = $fmt->formatCurrency('@fds1234567.891234567890000', 'de_DE'); var_dump(numfmt_get_error_message($fmt), intl_is_failure($fmt->getErrorCode()), $return); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9th6C
function name:  (null)
number of ops:  25
compiled vars:  !0 = $fmt, !1 = $return
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'NumberFormatter'
          1        SEND_VAL_EX                                              'de_DE'
          2        FETCH_CLASS_CONSTANT                             ~3      'NumberFormatter', 'CURRENCY'
          3        SEND_VAL_EX                                              ~3
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    3     6        INIT_METHOD_CALL                                         !0, 'formatCurrency'
          7        SEND_VAL_EX                                              '%40fds1234567.891234567890000'
          8        SEND_VAL_EX                                              'de_DE'
          9        DO_FCALL                                      0  $6      
         10        ASSIGN                                                   !1, $6
    4    11        INIT_FCALL                                               'var_dump'
         12        INIT_FCALL_BY_NAME                                       'numfmt_get_error_message'
         13        SEND_VAR_EX                                              !0
         14        DO_FCALL                                      0  $8      
         15        SEND_VAR                                                 $8
         16        INIT_FCALL_BY_NAME                                       'intl_is_failure'
         17        INIT_METHOD_CALL                                         !0, 'getErrorCode'
         18        DO_FCALL                                      0  $9      
         19        SEND_VAR_NO_REF_EX                                       $9
         20        DO_FCALL                                      0  $10     
         21        SEND_VAR                                                 $10
         22        SEND_VAR                                                 !1
         23        DO_ICALL                                                 
    5    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.29 ms | 1395 KiB | 15 Q