3v4l.org

run code in 500+ PHP versions simultaneously
<?php $char = "ჯ"; $uppercaseChar = mb_strtoupper($char); echo $uppercaseChar . "\n"; echo $uppercaseChar === $char ? 'same' : 'different';
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/5CG8Z
function name:  (null)
number of ops:  14
compiled vars:  !0 = $char, !1 = $uppercaseChar
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, '%E1%83%AF'
    3     1        INIT_FCALL                                                   'mb_strtoupper'
          2        SEND_VAR                                                     !0
          3        DO_ICALL                                             $3      
          4        ASSIGN                                                       !1, $3
    4     5        CONCAT                                               ~5      !1, '%0A'
          6        ECHO                                                         ~5
    5     7        IS_IDENTICAL                                                 !1, !0
          8      > JMPZ                                                         ~6, ->11
          9    >   QM_ASSIGN                                            ~7      'same'
         10      > JMP                                                          ->12
         11    >   QM_ASSIGN                                            ~7      'different'
         12    >   ECHO                                                         ~7
         13      > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
127.61 ms | 478 KiB | 8 Q