Re: is this a bug in php?
| From: | Matthew Ballard | Date: | Tue, 12 Dec 2000 19:04:23 +0000 |
| Subject: | Re: is this a bug in php? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-29939@lists.php.net to get a copy of this message | ||
What version of PHP are you using? I tried it and it works fine in both PHP4.0b2 and 4.0.3pl1 (returning 23).
Matthew
At 12:11 PM 12/12/2000 +0200, you wrote:
<? echo max(23, "10"); ?> i expected this to write 23, but it writes 10. isnt php supposed to convert both arguments to integers?