3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlChar::getBlockCode("A") === IntlChar::BLOCK_CODE_BASIC_LATIN); var_dump(IntlChar::getBlockCode("Φ") === IntlChar::BLOCK_CODE_GREEK); 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/0ddYY
function name:  (null)
number of ops:  25
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        FETCH_CLASS_CONSTANT                             ~5      'IntlChar', 'BLOCK_CODE_GREEK'
         13        IS_IDENTICAL                                     ~6      $4, ~5
         14        SEND_VAL                                                 ~6
         15        DO_ICALL                                                 
    4    16        INIT_FCALL                                               'var_dump'
         17        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getBlockCode'
         18        SEND_VAL_EX                                              '%E2%98%83'
         19        DO_FCALL                                      0  $8      
         20        FETCH_CLASS_CONSTANT                             ~9      'IntlChar', 'BLOCK_CODE_MISCELLANEOUS_SYMBOLS'
         21        IS_IDENTICAL                                     ~10     $8, ~9
         22        SEND_VAL                                                 ~10
         23        DO_ICALL                                                 
    5    24      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
157.7 ms | 1395 KiB | 15 Q