note 11543 added to Type Juggling

From: Date: Fri, 23 Feb 2001 22:00:20 +0000
Subject: note 11543 added to Type Juggling
Groups: php.notes 
Request: Send a blank email to php-notes+get-11505@lists.php.net to get a copy of this message
Implicit string conversions in PHP seem to be converting 0 to "". These seems incredibly inconvenient, especially now that NULL is supported. Even when I pass "0" instead of 0, if I do any inbetween functions (like a join), I lose it back to "", which ends up in my database as NULL and messes with all my booleans.... I hope this will be fixed soon. http://www.php.net/manual/en/language.types.type-juggling.php

« previous php.notes (#11505) next »