#28950 [Bgs->Opn]: Clearer (bool)"false" = true

From: Date: Tue, 29 Jun 2004 06:55:40 +0000
Subject: #28950 [Bgs->Opn]: Clearer (bool)"false" = true
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969361585@lists.php.net to get a copy of this message
ID: 28950 Updated by: derick@php.net Reported By: foxyshadis1 at dslextreme dot com -Status: Bogus +Status: Open Bug Type: Documentation problem Operating System: Win2000 PHP Version: 4.3.7 New Comment: I don't agree, this should also appear on the http://www.php.net/manual/en/language.types.boolean.php page. Derick Previous Comments: ------------------------------------------------------------------------ [2004-06-28 20:10:55] nlopess@php.net I think there is no point in documenting this... We have a "Type Juggling" page at: http://www.php.net/manual/en/language.types.type-juggling.php ------------------------------------------------------------------------ [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

« previous php.doc (#969361585) next »