Visually same string gives different var_dumps in

2019-06-05 21:00发布

问题:

UPDATE: Anwer is here PHP unserialize fails with non-encoded characters?

I'm trying to match objects with in_array. This works fine except for the object with this string as a property. Visually they are the same, but when I do a var_dump PHP sees different lengths.

var_dump results:

string(26) "Waar    zijn mijn centjes