I have two lines with seemingly identical values. One is stored as a key in the array, and the other in another other array. I compare the two using ==, === and strcmp. Everyone sees them as different lines. I am doing var_dump and that is what I get.
string(17) "Valentineβs Day"
string(15) "Valentine Day"
Does anyone know why the first line will be 17 characters and the second 15?
Update: this is a little more obvious when I pasted it from my editor, the font of which made two different apostrophes almost indistinguishable.
source
share