3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(setlocale(LC_ALL, 'de_DE.utf8')); // Assuming your file encoding is also UTF-8 var_dump(ctype_alpha(utf8_decode('äüöß'))); // bool(true) // Assuming your file encoding is ISO-8859-1/compatible var_dump(ctype_alpha(utf8_decode(utf8_encode('äüöß')))); // bool(true) // Assuming your file encoding is anything else var_dump(ctype_alpha(utf8_decode( mb_convert_encoding('äüöß', 'utf-8', mb_internal_encoding())))); // bool(true)
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/M96EC
function name:  (null)
number of ops:  45
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'setlocale'
          2        SEND_VAL                                                 6
          3        SEND_VAL                                                 'de_DE.utf8'
          4        DO_ICALL                                         $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
    4     7        INIT_FCALL                                               'var_dump'
          8        INIT_FCALL                                               'ctype_alpha'
          9        INIT_FCALL                                               'utf8_decode'
         10        SEND_VAL                                                 '%C3%A4%C3%BC%C3%B6%C3%9F'
         11        DO_ICALL                                         $2      
         12        SEND_VAR                                                 $2
         13        DO_ICALL                                         $3      
         14        SEND_VAR                                                 $3
         15        DO_ICALL                                                 
    6    16        INIT_FCALL                                               'var_dump'
         17        INIT_FCALL                                               'ctype_alpha'
         18        INIT_FCALL                                               'utf8_decode'
         19        INIT_FCALL                                               'utf8_encode'
         20        SEND_VAL                                                 '%C3%A4%C3%BC%C3%B6%C3%9F'
         21        DO_ICALL                                         $5      
         22        SEND_VAR                                                 $5
         23        DO_ICALL                                         $6      
         24        SEND_VAR                                                 $6
         25        DO_ICALL                                         $7      
         26        SEND_VAR                                                 $7
         27        DO_ICALL                                                 
    8    28        INIT_FCALL                                               'var_dump'
         29        INIT_FCALL                                               'ctype_alpha'
         30        INIT_FCALL                                               'utf8_decode'
    9    31        INIT_FCALL                                               'mb_convert_encoding'
         32        SEND_VAL                                                 '%C3%A4%C3%BC%C3%B6%C3%9F'
         33        SEND_VAL                                                 'utf-8'
         34        INIT_FCALL                                               'mb_internal_encoding'
         35        DO_ICALL                                         $9      
         36        SEND_VAR                                                 $9
         37        DO_ICALL                                         $10     
         38        SEND_VAR                                                 $10
         39        DO_ICALL                                         $11     
         40        SEND_VAR                                                 $11
         41        DO_ICALL                                         $12     
         42        SEND_VAR                                                 $12
         43        DO_ICALL                                                 
         44      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.55 ms | 1400 KiB | 27 Q