convert_to_string for boolean wrong?
| From: | Thies C. Arntzen | Date: | Thu, 01 Jul 1999 16:15:31 +0000 |
| Subject: | convert_to_string for boolean wrong? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-1784@lists.php.net to get a copy of this message | ||
if a buildin-module does a:
...
RETURN_FALSE;
...
and the php-code looks like:
echo "<".(string) some_c_func_returning_false().">\n";
php3 will output:
<>
php4 will:
<0>
tc
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany