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
Ok, attached is a revised patch that also compiles in zts :)
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
--
Tal Peer
tal@php.net