3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(IntlChar::getIntPropertyValue("A", IntlChar::PROPERTY_ALPHABETIC) === 1); var_dump(IntlChar::getIntPropertyValue("[", IntlChar::PROPERTY_BIDI_MIRRORED) === 1); var_dump(IntlChar::getIntPropertyValue("Φ", IntlChar::PROPERTY_BLOCK) === IntlChar::BLOCK_CODE_GREEK);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/g8D7b
function name:  (null)
number of ops:  29
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', 'getIntPropertyValue'
          2        SEND_VAL_EX                                              'A'
          3        FETCH_CLASS_CONSTANT                             ~0      'IntlChar', 'PROPERTY_ALPHABETIC'
          4        SEND_VAL_EX                                              ~0
          5        DO_FCALL                                      0  $1      
          6        IS_IDENTICAL                                     ~2      $1, 1
          7        SEND_VAL                                                 ~2
          8        DO_ICALL                                                 
    3     9        INIT_FCALL                                               'var_dump'
         10        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getIntPropertyValue'
         11        SEND_VAL_EX                                              '%5B'
         12        FETCH_CLASS_CONSTANT                             ~4      'IntlChar', 'PROPERTY_BIDI_MIRRORED'
         13        SEND_VAL_EX                                              ~4
         14        DO_FCALL                                      0  $5      
         15        IS_IDENTICAL                                     ~6      $5, 1
         16        SEND_VAL                                                 ~6
         17        DO_ICALL                                                 
    4    18        INIT_FCALL                                               'var_dump'
         19        INIT_STATIC_METHOD_CALL                                  'IntlChar', 'getIntPropertyValue'
         20        SEND_VAL_EX                                              '%CE%A6'
         21        FETCH_CLASS_CONSTANT                             ~8      'IntlChar', 'PROPERTY_BLOCK'
         22        SEND_VAL_EX                                              ~8
         23        DO_FCALL                                      0  $9      
         24        FETCH_CLASS_CONSTANT                             ~10     'IntlChar', 'BLOCK_CODE_GREEK'
         25        IS_IDENTICAL                                     ~11     $9, ~10
         26        SEND_VAL                                                 ~11
         27        DO_ICALL                                                 
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
181.87 ms | 1395 KiB | 15 Q