3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = "\xE4"; setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1"); print_r($chars); print_r(strtoupper($chars)); echo strcasecmp($chars, strtoupper($chars))."\n";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/acKpH
function name:  (null)
number of ops:  29
compiled vars:  !0 = $chars
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '%E4'
    3     1        INIT_FCALL                                               'setlocale'
          2        SEND_VAL                                                 0
          3        SEND_VAL                                                 'de_DE'
          4        SEND_VAL                                                 'de'
          5        SEND_VAL                                                 'german'
          6        SEND_VAL                                                 'ge'
          7        SEND_VAL                                                 'de_DE.ISO8859-1'
          8        SEND_VAL                                                 'ISO8859-1'
          9        DO_ICALL                                                 
    4    10        INIT_FCALL                                               'print_r'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
    5    13        INIT_FCALL                                               'print_r'
         14        INIT_FCALL                                               'strtoupper'
         15        SEND_VAR                                                 !0
         16        DO_ICALL                                         $4      
         17        SEND_VAR                                                 $4
         18        DO_ICALL                                                 
    6    19        INIT_FCALL                                               'strcasecmp'
         20        SEND_VAR                                                 !0
         21        INIT_FCALL                                               'strtoupper'
         22        SEND_VAR                                                 !0
         23        DO_ICALL                                         $6      
         24        SEND_VAR                                                 $6
         25        DO_ICALL                                         $7      
         26        CONCAT                                           ~8      $7, '%0A'
         27        ECHO                                                     ~8
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
189.53 ms | 1395 KiB | 21 Q