'1.8' == 1.8 can return false or yet another example of the uselessness of type juggling.
| From: | Richard Quadling | Date: | Sat, 12 Apr 2008 10:40:56 +0000 |
| Subject: | '1.8' == 1.8 can return false or yet another example of the uselessness of type juggling. | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-36985@lists.php.net to get a copy of this message | ||
On 12/04/2008, Rasmus Lerdorf <rasmus@lerdorf.com> wrote:
> There is no bug here. Please read:
>
> http://docs.sun.com/source/806-3568/ncg_goldberg.html
>
> -Rasmus
So, would I be right in thinking that the only time type-juggling is
100% successful is between strings and integers?
--
-----
Richard Quadling
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
"Standing on the shoulders of some very clever giants!"