3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlChar::getBlockCode("A") === IntlChar::BLOCK_CODE_BASIC_LATIN); var_dump(IntlChar::getBlockCode("Φ")); var_dump(IntlChar::getBlockCode("\u{2603}") === IntlChar::BLOCK_CODE_MISCELLANEOUS_SYMBOLS); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/gY7vi
function name:  (null)
number of ops:  23
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', 'getBlockCode'
          2        SEND_VAL_EX                                              'A'
          3        DO_FCALL                                      0  $0      
          4        FETCH_CLASS_CONSTANT                             ~1      'IntlChar', 'BLOCK_CODE_BASIC_LATIN'
          5        IS_IDENTICAL                                     ~2      $0, ~1
          6        SEND_VAL                                                 ~2
          7        DO_ICALL                                                 
    3     8        INIT_FCALL                                               'var_dump'
          9        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getBlockCode'
         10        SEND_VAL_EX                                              '%CE%A6'
         11        DO_FCALL                                      0  $4      
         12        SEND_VAR                                                 $4
         13        DO_ICALL                                                 
    4    14        INIT_FCALL                                               'var_dump'
         15        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getBlockCode'
         16        SEND_VAL_EX                                              '%E2%98%83'
         17        DO_FCALL                                      0  $6      
         18        FETCH_CLASS_CONSTANT                             ~7      'IntlChar', 'BLOCK_CODE_MISCELLANEOUS_SYMBOLS'
         19        IS_IDENTICAL                                     ~8      $6, ~7
         20        SEND_VAL                                                 ~8
         21        DO_ICALL                                                 
    5    22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.64 ms | 1399 KiB | 15 Q