3v4l.org

run code in 500+ PHP versions simultaneously
<?php for ($i = 0; $i < 0x10ffff; $i++) { $chr = mb_chr($i); if (strlen($chr) !== strlen(mb_strtolower($chr)) || strlen($chr) !== strlen(mb_strtoupper($chr))) { var_dump($i); var_dump($chr); var_dump(mb_strtolower($chr)); var_dump(mb_strtoupper($chr)); break; } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 41
Branch analysis from position: 41
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 2
Branch analysis from position: 43
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 47) Position 1 = 13, Position 2 = 20
Branch analysis from position: 13
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 40
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 43
Branch analysis from position: 43
Branch analysis from position: 40
2 jumps found. (Code = 44) Position 1 = 43, Position 2 = 2
Branch analysis from position: 43
Branch analysis from position: 2
Branch analysis from position: 20
filename:       /in/5E9Um
function name:  (null)
number of ops:  44
compiled vars:  !0 = $i, !1 = $chr
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                       !0, 0
          1      > JMP                                                          ->41
    4     2    >   INIT_FCALL                                                   'mb_chr'
          3        SEND_VAR                                                     !0
          4        DO_ICALL                                             $3      
          5        ASSIGN                                                       !1, $3
    5     6        STRLEN                                               ~5      !1
          7        INIT_FCALL                                                   'mb_strtolower'
          8        SEND_VAR                                                     !1
          9        DO_ICALL                                             $6      
         10        STRLEN                                               ~7      $6
         11        IS_NOT_IDENTICAL                                     ~8      ~5, ~7
         12      > JMPNZ_EX                                             ~8      ~8, ->20
         13    >   STRLEN                                               ~9      !1
         14        INIT_FCALL                                                   'mb_strtoupper'
         15        SEND_VAR                                                     !1
         16        DO_ICALL                                             $10     
         17        STRLEN                                               ~11     $10
         18        IS_NOT_IDENTICAL                                     ~12     ~9, ~11
         19        BOOL                                                 ~8      ~12
         20    > > JMPZ                                                         ~8, ->40
    6    21    >   INIT_FCALL                                                   'var_dump'
         22        SEND_VAR                                                     !0
         23        DO_ICALL                                                     
    7    24        INIT_FCALL                                                   'var_dump'
         25        SEND_VAR                                                     !1
         26        DO_ICALL                                                     
    8    27        INIT_FCALL                                                   'var_dump'
         28        INIT_FCALL                                                   'mb_strtolower'
         29        SEND_VAR                                                     !1
         30        DO_ICALL                                             $15     
         31        SEND_VAR                                                     $15
         32        DO_ICALL                                                     
    9    33        INIT_FCALL                                                   'var_dump'
         34        INIT_FCALL                                                   'mb_strtoupper'
         35        SEND_VAR                                                     !1
         36        DO_ICALL                                             $17     
         37        SEND_VAR                                                     $17
         38        DO_ICALL                                                     
   10    39      > JMP                                                          ->43
    3    40    >   PRE_INC                                                      !0
         41    >   IS_SMALLER                                                   !0, 1114111
         42      > JMPNZ                                                        ~20, ->2
   12    43    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
158.08 ms | 1879 KiB | 16 Q