ID: 28981 Updated by: [EMAIL PROTECTED] Reported By: hunix at hunix dot idv dot tw -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: Linux 2.4.26 PHP Version: 5.0.0RC3 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2004-07-01 08:02:46] hunix at hunix dot idv dot tw Description: ------------ When calling dirname with an UTF-8 dir-string, The dirname can NOT return non ASCII strings. For example, dirname("/x/y/z/UTF-8name/basename"); the return value would be "/x/y/z/name" not "/x/y/z/UTF-8name". The same code work on php-4.3.5, php-4.3.6, php-4.3.7 very well. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28981&edit=1