is this a bug in php?
| From: | George Lefter | Date: | Tue, 12 Dec 2000 10:11:00 +0000 |
| Subject: | is this a bug in php? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-29853@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?