Re: Re: var keyword deprecation/removal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2016-03-07 at 01:00 +0300, Andrey Repin wrote:
> And comparing two strings numerically, even if conversion of a string to
> number changes the content of the string, and explicitly invalidates any
> attempt to get meaningful results, right?

Yes.  Is "9E2444" a string or a number?  Strict typing is virtuous -
when, in any sane configuration, will a code path NOT KNOW what type it
should be using?  Answer: never, that's called a bug.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux