note 14681 added to function.max.php
| From: | blair at nb dot net | Date: | Thu, 09 Aug 2001 01:38:59 +0000 |
| Subject: | note 14681 added to function.max.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16500@lists.php.net to get a copy of this message | ||
Or, you could use the intval() function:
max(intval(5),intval(8),intval(40));
This is the same as casting, but different syntax... Possibly it is slower than a cast though...
Anyone know?
http://www.php.net/manual/en/function.max.php