3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'ほげ'; // "ほげ" $b = 'ほげ';// "ほ\x0Fげ"; echo '$a===$b: ',($a === $b ? 'true' : 'false')."\n"; echo ' $a: '.$a."\n"; echo ' $b: '.$b."\n"; /* $a===$b: false $a: ほげ $b: ほげ */
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 7
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cTkJ7
function name:  (null)
number of ops:  17
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%E3%81%BB%E3%81%92'
    4     1        ASSIGN                                                   !1, '%E3%81%BB%0F%E3%81%92'
    6     2        ECHO                                                     '%24a%3D%3D%3D%24b%3A+'
          3        IS_IDENTICAL                                             !0, !1
          4      > JMPZ                                                     ~4, ->7
          5    >   QM_ASSIGN                                        ~5      'true'
          6      > JMP                                                      ->8
          7    >   QM_ASSIGN                                        ~5      'false'
          8    >   CONCAT                                           ~6      ~5, '%0A'
          9        ECHO                                                     ~6
    7    10        CONCAT                                           ~7      '+++++%24a%3A+', !0
         11        CONCAT                                           ~8      ~7, '%0A'
         12        ECHO                                                     ~8
    8    13        CONCAT                                           ~9      '+++++%24b%3A+', !1
         14        CONCAT                                           ~10     ~9, '%0A'
         15        ECHO                                                     ~10
   13    16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.91 ms | 1442 KiB | 13 Q