note 14815 added to function.max.php
| From: | jeroen@php.net | Date: | Wed, 15 Aug 2001 22:22:52 +0000 |
| Subject: | note 14815 added to function.max.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16782@lists.php.net to get a copy of this message | ||
Examples:
max('1000',200);
max('010','11');
max(' 1', -3);
max(0xff,123,456);
All work correctly, no need to convert types!
[Note: this is not true for PHP3)
http://www.php.net/manual/en/function.max.php