Posted by Toby A Inkster on 01/11/08 10:56
A Bit Narked wrote:
> There is no logic whatever in string representions of '1' and ''.
strlen(TRUE)==TRUE
strlen(FALSE)==FALSE
--
Toby A Inkster BSc (Hons) ARCS
[Geek of HTML/SQL/Perl/PHP/Python/Apache/Linux]
[OS: Linux 2.6.17.14-mm-desktop-9mdvsmp, up 11 days, 22:09.]
NetSol Cybersquatting
http://tobyinkster.co.uk/blog/2008/01/10/netsol-cybersquatting/
Navigation:
[Reply to this message]
|