I saw this small piece of code that is evading my understanding:
<?php $a = '0e462097431906509019562988736854'; $b = '0e830400451993494058024219903391'; var_dump($a == $b);
Which will output:
I understand that when using
==, PHP will attempt fuzzy comparison, silently converting between types in order to perform the comparison. What I'm not understanding is why PHP seems to think these two strings are the same. I would have thought since
$b are strings, that no type conversion would need to take place.
What am I not understanding?