#28548 [NEW]: Max bug
| From: | none at sample dot com | Date: | Thu, 27 May 2004 19:01:53 +0000 |
| Subject: | #28548 [NEW]: Max bug | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-60083@lists.php.net to get a copy of this message | ||
From: none at sample dot com
Operating system: Windows
PHP version: 4.3.6
PHP Bug Type: Unknown/Other Function
Bug description: Max bug
Description:
------------
'Max' function bug.
Reproduce code:
---------------
echo max(1, 2, '3', 'foo'), ' ', max(1, 2, 3, 'foo');
Expected result:
----------------
foo 3
Actual result:
--------------
3 3
--
Edit bug report at http://bugs.php.net/?id=28548&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28548&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28548&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=28548&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=28548&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=28548&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=28548&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=28548&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=28548&r=support
Expected behavior: http://bugs.php.net/fix.php?id=28548&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=28548&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=28548&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=28548&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28548&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=28548&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=28548&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=28548&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28548&r=float