|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-04-14 16:20 UTC] ab@php.net
-Status: Open
+Status: Feedback
[2017-04-14 16:20 UTC] ab@php.net
[2017-04-14 16:28 UTC] ab@php.net
[2017-04-23 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 20:00:01 2025 UTC |
Description: ------------ The function basename() are random split a filename by first ASCII char. I get unexcepted actual result in 1/3 cases with same filename. I get actual result with mod_php, and never in CLI. Test script: --------------- <?php echo basename('/имя.doc'); Expected result: ---------------- имя.doc Actual result: -------------- .doc