3v4l.org

run code in 300+ 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 = 10, Position 2 = 12
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Le5A1
function name:  (null)
number of ops:  15
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        FETCH_R                      local               ~6      !1
          8        IS_IDENTICAL                                             !0, ~6
          9      > JMPZ                                                     ~7, ->12
         10    >   QM_ASSIGN                                        ~8      'same'
         11      > JMP                                                      ->13
         12    >   QM_ASSIGN                                        ~8      'different'
         13    >   ECHO                                                     ~8
         14      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.31 ms | 1394 KiB | 15 Q