5 ms·
I just don't get why people in php use lazy comparison when you know that "0e4"=="0e5" in php. and yes, Laravel use lazy comparison (hundreds of times). And y
by xcombelle 3y ago
I just don't get why people in php use lazy comparison when you know that "0e4"=="0e5" in php.
and yes, Laravel use lazy comparison (hundreds of times). And yes at least three bugs where caused by this use.
see: https://github.com/laravel/ideas/issues/698 https://github.com/laravel/ideas/issues/698 for why I'm a bit grumpy with php ecosystem