Bug #69623 [Opn->Fbk]: BC: Namespaces now case-sensitive

From: Date: Tue, 12 May 2015 11:22:12 +0000
Subject: Bug #69623 [Opn->Fbk]: BC: Namespaces now case-sensitive
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-192633@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69623&edit=1 ID: 69623 Updated by: cmb@php.net Reported by: anna at foolab dot ca Summary: BC: Namespaces now case-sensitive -Status: Open +Status: Feedback Type: Bug -Package: *General Issues +Package: Scripting Engine problem Operating System: OSX 10.10.2 PHP Version: master-Git-2015-05-11 (Git) Block user comment: N Private report: N New Comment: The case-insensitivity of namespaces is supposed to be kept for PHP 7.0.0. I can't reproduce any change in this regard with latest master (06ef3aa6b0), see <http://3v4l.org/vPR24> for the code I used. With regard to autoloading, I can't detect a behavioral change, either. The namespace identifier is passed to the autoload function in the letter case its written in the source code (see <http://3v4l.org/Am1Fv>). Can you please post a test script that shows the behavior you're reporting. Please mention the commit you're testing with. Previous Comments: ------------------------------------------------------------------------ [2015-05-11 19:38:14] anna at foolab dot ca Description: ------------ PHP 7.0.0-dev Namespaces used to be case insensitive in PHP 5.6, but they are case sensitive now. Not sure if the desired behavior, but will cause fatal errors if there is a case mismatch. Example: Acme\Sitebundle will not be found in the folder is named Acme/SiteBundle ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69623&edit=1

« previous php.bugs (#192633) next »