#38933 [NEW]: dirname not support binary file path
| From: | foxgoblin at gmail dot com | Date: | Sat, 23 Sep 2006 07:28:38 +0000 |
| Subject: | #38933 [NEW]: dirname not support binary file path | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-102555@lists.php.net to get a copy of this message | ||
From: foxgoblin at gmail dot com
Operating system: Windows XP
PHP version: 5.1.6
PHP Bug Type: Directory function related
Bug description: dirname not support binary file path
Description:
------------
function "dirname" not support binary file path
Reproduce code:
---------------
<?
echo dirname("c:\\window\\\xd7\xc0\\test");
?>
Expected result:
----------------
c:\window\×À
Actual result:
--------------
c:\window
--
Edit bug report at http://bugs.php.net/?id=38933&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38933&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38933&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38933&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38933&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=38933&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38933&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38933&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38933&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38933&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38933&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=38933&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=38933&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38933&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38933&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38933&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38933&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38933&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38933&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38933&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38933&r=mysqlcfg