Req #46989 [Opn->Wfx]: namespace fallback for classes

From: Date: Sat, 11 Mar 2017 18:04:26 +0000
Subject: Req #46989 [Opn->Wfx]: namespace fallback for classes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207788@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=46989&edit=1

 ID:                 46989
 Updated by:         nikic@php.net
 Reported by:        info at netmosfera dot it
 Summary:            namespace fallback for classes
-Status:             Open
+Status:             Wont fix
 Type:               Feature/Change Request
-Package:            Feature/Change Request
+Package:            *General Issues
 Operating System:   irrelevant
 PHP Version:        5.3.0alpha3
 Block user comment: N
 Private report:     N

 New Comment:

At this point in time, the behavior here is not going to change, so I'm marking this FR as
Won't Fix.


Previous Comments:
------------------------------------------------------------------------
[2009-01-02 01:42:18] info at netmosfera dot it

Description:
------------
hello
is possible to implement classes fallback in php namespaces?

thank you

Reproduce code:
---------------
namespace A\B\C;
new X();


A\B\C\Exception not found, switch to
A\B\Exception not found, switch to
A\Exception not found, switch to
\Exception found





------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=46989&edit=1


Thread (2 messages)

« previous php.bugs (#207788) next »