3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = 'ほげ'; $b = 'ほげ'; var_dump([ '$a===$b' => $a === $b, '$a' => bin2hex($a), '$b' => bin2hex($b), ]); /* array(3) { ["$a===$b"]=> bool(false) ["$a"]=> string(12) "e381bbe38192" ["$b"]=> string(14) "e381bb0fe38192" } */
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/cfrfl
function name:  (null)
number of ops:  16
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        INIT_FCALL                                               'var_dump'
    7     3        IS_IDENTICAL                                     ~4      !0, !1
          4        INIT_ARRAY                                       ~5      ~4, '%24a%3D%3D%3D%24b'
    8     5        INIT_FCALL                                               'bin2hex'
          6        SEND_VAR                                                 !0
          7        DO_ICALL                                         $6      
          8        ADD_ARRAY_ELEMENT                                ~5      $6, '%24a'
    9     9        INIT_FCALL                                               'bin2hex'
         10        SEND_VAR                                                 !1
         11        DO_ICALL                                         $7      
         12        ADD_ARRAY_ELEMENT                                ~5      $7, '%24b'
         13        SEND_VAL                                                 ~5
    6    14        DO_ICALL                                                 
   20    15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.02 ms | 1459 KiB | 15 Q