From: matthew at slyman dot org Operating system: Windows 7 PHP version: 5.4.6 Package: Filesystem function related Bug Type: Bug Bug description:require() fails depending on PHP filename (includes ASCII 'µ' character)
Description: ------------ --- >From manual page: http://www.php.net/function.require-once --- Where PHP filename includes "µ" character, for example; calling "require_once" on that file results in an error message (require fails). Similar paths/filenames without the special ASCII characters work under the same (Windows/XAMPP) installation, and identical paths/filenames including the special characters work under Linux. Test script: --------------- (Create a file called "microtime.php" and another file called "µTIME.php", and put them in the C:/ drive root folder, or some other place where PHP files may be included from.) ~~~ require_once('C:/microtime.php');//works require_once('C:/µTIME.php');//results in error message, but only under Windows. Expected result: ---------------- PHP file included. Actual result: -------------- ERROR MESSAGE: ~~~ Warning: require_once(C:/htdocs/[path_hidden]/µTIME.php): failed to open stream: No such file or directory in C:\htdocs\[path_hidden]\[filename_hidden].php on line ... -- Edit bug report at https://bugs.php.net/bug.php?id=62917&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62917&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62917&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62917&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62917&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62917&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62917&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62917&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62917&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62917&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62917&r=support Expected behavior: https://bugs.php.net/fix.php?id=62917&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62917&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62917&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62917&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62917&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=62917&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62917&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62917&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62917&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62917&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62917&r=mysqlcfg