3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlChar::getNumericValue("4")); var_dump(IntlChar::getNumericValue("x") === NAN); var_dump(IntlChar::getNumericValue("\u{216C}"));
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/SBQ0e
function name:  (null)
number of ops:  20
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getNumericValue'
          2        SEND_VAL_EX                                              '4'
          3        DO_FCALL                                      0  $0      
          4        SEND_VAR                                                 $0
          5        DO_ICALL                                                 
    3     6        INIT_FCALL                                               'var_dump'
          7        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getNumericValue'
          8        SEND_VAL_EX                                              'x'
          9        DO_FCALL                                      0  $2      
         10        IS_IDENTICAL                                     ~3      $2, NAN
         11        SEND_VAL                                                 ~3
         12        DO_ICALL                                                 
    4    13        INIT_FCALL                                               'var_dump'
         14        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getNumericValue'
         15        SEND_VAL_EX                                              '%E2%85%AC'
         16        DO_FCALL                                      0  $5      
         17        SEND_VAR                                                 $5
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.62 ms | 1395 KiB | 15 Q