[PATCH] get_declared_classes NS support and a little bug
| From: | Tal Peer | Date: | Mon, 24 Mar 2003 15:48:21 +0000 |
| Subject: | [PATCH] get_declared_classes NS support and a little bug | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-212@lists.php.net to get a copy of this message | ||
Hello,
I've changed get_declared_classes behaviour a bit in order to add
namespaces support (NS::class format). See attached patch.
Currently, due to what seems to me as a bug, it outputs every user-defined
class (inside a namespace, that is) twice. I checked, and EG(class_table)
seems to contain each namespace entry twice. This can be workedaround with
a little hack, but i guess it should be fixed.
--
Tal Peer
tal@php.net