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

From: Date: Wed, 16 Apr 2014 18:15:33 +0000
Subject: Req #22494 [Opn->Fbk]: Additional functions needed for namespaces
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185287@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: levim@php.net Reported by: andrew at evilwalrus dot com Summary: Additional functions needed for namespaces -Status: Open +Status: Feedback Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues Operating System: WinXP PHP Version: 5CVS-2003-03-01 (dev) Block user comment: N Private report: N New Comment: Unless the documentation is out of date, get_declared_classes does not accept a namespace parameter. Anyone know? Is there still interest in this? Previous Comments: ------------------------------------------------------------------------ [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 (#185287) next »