Bug #67220 [NEW]: realpath() on MacOSX doesn't normalize the case of characters
From: nicolas dot grekas+php at gmail dot com
Operating system: MacOSX/Darwin
PHP version: 5.5.12
Package: Filesystem function related
Bug Type: Bug
Bug description:realpath() on MacOSX doesn't normalize the case of characters
Description:
------------
See test script.
__FILE__, __DIR__, ReflectionClass::getFilename(), etc. are also
affected (but getcwd() is OK).
Test script:
---------------
<?php
var_dump(realpath('/Users') === realpath('/users'));
Expected result:
----------------
bool(true)
Actual result:
--------------
bool(false)
--
Edit bug report at https://bugs.php.net/bug.php?id=67220&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67220&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67220&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67220&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=67220&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=67220&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=67220&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=67220&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=67220&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=67220&r=support
Expected behavior: https://bugs.php.net/fix.php?id=67220&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=67220&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=67220&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=67220&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67220&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=67220&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=67220&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=67220&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=67220&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=67220&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=67220&r=mysqlcfg
Thread (11 messages)
- nicolas dot grekas+php at gmail dot com
- levim@php.netBug #67220 [Opn->Nab]: realpath() on MacOSX doesn't normalize the case of characters
- rasmus@php.netBug #67220 [Nab]: realpath() on MacOSX doesn't normalize the case of characters
- nicolas dot grekas+php at gmail dot comBug #67220 [Nab]: realpath() on MacOSX doesn't normalize the case of characters
- tyrael@php.netBug #67220 [Nab]: realpath() on MacOSX doesn't normalize the case of characters
- rullaf at gmail dot comBug #67220 [Com]: realpath() on MacOSX doesn't normalize the case of characters
- bishop@php.netBug #67220 [Nab]: realpath() on MacOSX doesn't normalize the case of characters
- jpauli@php.netBug #67220 [Nab->ReO]: realpath() on MacOSX doesn't normalize the case of characters
- andreas at heigl dot orgBug #67220 [Com]: realpath() on MacOSX doesn't normalize the case of characters
- tyrael@php.netBug #67220 [ReO]: realpath() on MacOSX doesn't normalize the case of characters
- worldsaynews at gmail dot comBug #67220 [Com]: realpath() on MacOSX doesn't normalize the case of characters