- var_dump: documentation ( source)
- bin2hex: documentation ( source)
<?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"
}
*/