Am 04.03.2021 um 01:37 schrieb Ben Ramsey <b...@benramsey.com>:
> On Mar 3, 2021, at 14:25, Kamil Tekiela <tekiela...@gmail.com> wrote:
>> 
>> when both are strings then chances are that this is an error.
> 
> Except when comparing two values from sources known to provide numbers as 
> strings, such as form input and database results. :-)


This would be a problem for leading zeroes and leading/training spaces, right?

Leading zeroes theoretically could happen in databases, leading/training spaces 
happen in form input and possibly databases.
Are there other 'common' cases?

- Chris

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to