Re: is this a bug in php?
| From: | Richard Lynch | Date: | Tue, 12 Dec 2000 18:29:59 +0000 |
| Subject: | Re: is this a bug in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29930@lists.php.net to get a copy of this message | ||
> <? echo max(23, "10"); ?>
> i expected this to write 23, but it writes 10.
> isnt php supposed to convert both arguments to integers?
Looks like a bug to me...
Check on http://bugs.php.net