Date: 06/01/99
- Next message: Bug Database: "[PHP-DEV] Bug #1199 Updated: mktime() doesn't correctly trap invalid dates"
- Previous message: Bug Database: "[PHP-DEV] Bug #1241 Updated: fgets and fgetss don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Bug Database wrote:
>ID: 1317
>Updated by: jim
>Reported By: fuf <email protected>
>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.
oh my fault then - sorry for this.
>
>dirname() is not being passed a path to a file,
>so its return value is as correct as it can get.
well - /usr/bin/dirname says otherwise:
[fuf <email protected> ~/]$ dirname file.ext returns
.
[fuf <email protected> ~/]$
whereas php's dirname():
echo dirname("file.ext"); returns
file.ext
in my opinion php's dirname behaviour is wrong.
>
>Bugs about different functions should be reported
>as seperate bugs.
i'll do my best
-- fuf------------------------------ na IRC ------------------------------------- BillGates [bgates <email protected>] has joined #LINUX ... mode/#linux [+b BillGates!*@*] by DoDad BillGates was kicked off #linux by DoDad (banned: We see enough of Bill Gates already.)
-- PHP Development Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] Bug #1199 Updated: mktime() doesn't correctly trap invalid dates"
- Previous message: Bug Database: "[PHP-DEV] Bug #1241 Updated: fgets and fgetss don't work"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

