For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > June 2004 > #28950 [Opn->Bgs]: Clearer (bool)"false" = true









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author #28950 [Opn->Bgs]: Clearer (bool)"false" = true
nlopess@php.net

2004-06-28, 4:07 pm

ID: 28950
Updated by: nlopess@php.net
Reported By: foxyshadis1 at dslextreme dot com
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Win2000
PHP Version: 4.3.7
New Comment:

I think there is no point in documenting this...

We have a "Type Juggling" page at:
http://www.php.net/manual/en/langua...pe-juggling.php


Previous Comments:
------------------------------------------------------------------------

[2004-06-28 19:38:24] foxyshadis1 at dslextreme dot com

Description:
------------
Docs should make explicit that (bool)"false" is true, not false - it's
easy to miss while reading through the boolean section. (I was under
the impression that if ints and strings could be coerced to each other,
it made sense that bools and strings could be, but obviously not.)



------------------------------------------------------------------------


--
Edit this bug report at http://bugs.php.net/?id=28950&edit=1
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com