On Tue, 26 Mar 2019 at 21:33, Theodore Brown <theodor...@outlook.com> wrote:

var_export("50" == " 50"); // true
>

I almost had a heart attack after running this code. I knew that PHP had a
few quirks when comparing different types, but I had long taken for granted
that comparing 2 *strings *performed a byte-by-byte comparison.

I also strongly support fixing the current quirk, rather than extending it.

Ben

Reply via email to