Req #22494 [Fbk->NoF]: Additional functions needed for namespaces

From: Date: Tue, 30 Dec 2014 10:41:19 +0000
Subject: Req #22494 [Fbk->NoF]: Additional functions needed for namespaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189361@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=22494&edit=1 ID: 22494 Updated by: php-bugs@lists.php.net Reported by: andrew at evilwalrus dot com Summary: Additional functions needed for namespaces -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: *General Issues Operating System: WinXP PHP Version: 5CVS-2003-03-01 (dev) Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-04-16 18:15:32] levim@php.net Unless the documentation is out of date, get_declared_classes does not accept a namespace parameter. Anyone know? Is there still interest in this? ------------------------------------------------------------------------ [2003-04-18 14:35:48] pollita@php.net FYI: get_namespace_classes() already exists as: get_declared_classes($namespace) ------------------------------------------------------------------------ [2003-03-01 13:21:10] andrew at evilwalrus dot com With the advent of the new namespace {} context, how bout a few new functions to suit them? A few off the top of my head: - get_namespace_classes (Retrieves a list of all classes in a namespace) - get_namespace_methods (Gets a list of all methods in a namespace) - get_namespace_vars (You guessed it, gets all vars..) Just simple things like that... it could come in handy. Just a thought. ~ Andrew Heebner ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=22494&edit=1

« previous php.bugs (#189361) next »