#49852 [NEW]: Please Add an spl_autoload_case_sensitivity() Function

From: Date: Mon, 12 Oct 2009 23:11:05 +0000
Subject: #49852 [NEW]: Please Add an spl_autoload_case_sensitivity() Function
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-143505@lists.php.net to get a copy of this message
From: rahlentertainment at gmail dot com Operating system: Ubuntu Server 8.10/9.04 PHP version: 5.2.11 PHP Bug Type: Feature/Change Request Bug description: Please Add an spl_autoload_case_sensitivity() Function Description: ------------ Bug #48129, "spl_autoload and case sensitive" was marked as closed/won't fix because changing the behaviour of spl_autoload would break backwards compatibility. As an alternative, to allow case sensitivity in the future, without breaking existing code, why not add a an spl_autoload_case_sensitivity() function? The function could take a Boolean value, which enables/disables case sensitivity for spl_autoload, with the default being disabled. Developers who DO want case-sensitivity can simply call: spl_autoload_case_sensitivity(true); spl_autoload("MyClass"); -- Edit bug report at http://bugs.php.net/?id=49852&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49852&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49852&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49852&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=49852&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49852&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=49852&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=49852&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=49852&r=needscript Try newer version: http://bugs.php.net/fix.php?id=49852&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=49852&r=support Expected behavior: http://bugs.php.net/fix.php?id=49852&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=49852&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=49852&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=49852&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49852&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=49852&r=dst IIS Stability: http://bugs.php.net/fix.php?id=49852&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=49852&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=49852&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=49852&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=49852&r=mysqlcfg

« previous php.bugs (#143505) next »