Bug #1317 Updated: max() works strangely, dirname() works strangely
| From: | Bug Database | Date: | Tue, 01 Jun 1999 19:39:09 +0000 |
| Subject: | Bug #1317 Updated: max() works strangely, dirname() works strangely | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6383@lists.php.net to get a copy of this message | ||
ID: 1317
Updated by: jim
Reported By: fuf@fuf.sh.cvut.cz
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
strpos() returns false when the needle isn't found,
so you aren't giving max() a number of integers.
dirname() is not being passed a path to a file,
so its return value is as correct as it can get.
Bugs about different functions should be reported
as seperate bugs.
Full Bug description available at: http://bugs.php.net/?id=1317