|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37117 basename can't split off the exact filename
Submitted: 2006-04-18 08:21 UTC Modified: 2006-04-18 08:34 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: miaofeng at starsoftcomm dot com Assigned:
Status: Wont fix Package: Filesystem function related
PHP Version: 5.1.2 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: miaofeng at starsoftcomm dot com
New email:
PHP Version: OS:


 [2006-04-18 08:21 UTC] miaofeng at starsoftcomm dot com
Chinese file name can't be extracted from the whole directory string

Reproduce code:
echo basename("/somewhere/&#20320;&#22909;.dat");

Expected result:

Actual result:


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-04-18 08:34 UTC]
Unicode support will appear in PHP6.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 13 04:01:31 2024 UTC