Re: Getting a list of registered namespaces.
| From: | Stas Malyshev | Date: | Thu, 16 Jun 2011 18:12:12 +0000 |
| Subject: | Re: Getting a list of registered namespaces. | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53342@lists.php.net to get a copy of this message | ||
Hi!
Okay, so namespaces doesn't exists for the engine, because they are added to the classnames in compile-time, but we could add some --rX argument for the php binary, which would iterate over the classes and functions and so for a given extension, and fetch and list the introduced namespaces. what do you think?Well, we could - you could actually do it right now with list of classes and some simple regexp-ing. The question is a value of it. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227