3v4l.org

run code in 300+ PHP versions simultaneously
<?php setLocale(LC_ALL, 'russian'); $string = 'Привет'; if (ctype_alnum($string)) { echo "This string totally works"; } else { echo "And this one not so much"; }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 11
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/CdkWI
function name:  (null)
number of ops:  13
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'setlocale'
          1        SEND_VAL                                                 6
          2        SEND_VAL                                                 'russian'
          3        DO_ICALL                                                 
    3     4        ASSIGN                                                   !0, '%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82'
    4     5        INIT_FCALL                                               'ctype_alnum'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $3      
          8      > JMPZ                                                     $3, ->11
    5     9    >   ECHO                                                     'This+string+totally+works'
         10      > JMP                                                      ->12
    8    11    >   ECHO                                                     'And+this+one+not+so+much'
    9    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.06 ms | 1394 KiB | 17 Q