Re: [PHP-DEV] INIT_CLASS_ENTRY and char*

2006-05-09 Thread Brandon Fosdick
Marcus Boerger wrote: > that's by design. Look into: ext/spl/spl_functions.c:spl_register_sub_class() Thanks, I had already come up with the same workaround, but it took forever to figure out what the problem was. The only errors I got related to not being able to find the class, and ce.name al

Re: [PHP-DEV] INIT_CLASS_ENTRY and char*

2006-05-09 Thread Marcus Boerger
Hello Brandon, that's by design. Look into: ext/spl/spl_functions.c:spl_register_sub_class() regards marcus Tuesday, May 9, 2006, 6:58:43 AM, you wrote: > I think I found a bug in the INIT_OVERLOADED_CLASS_ENTRY_EX macro. At > least, I think its a bug, somebody else might think its a feature.

[PHP-DEV] INIT_CLASS_ENTRY and char*

2006-05-08 Thread Brandon Fosdick
I think I found a bug in the INIT_OVERLOADED_CLASS_ENTRY_EX macro. At least, I think its a bug, somebody else might think its a feature. :) If you do something like INIT_CLASS_ENTRY(ce, "MyClass", ...) everything works fine. However, if you have something like void register_class(char* name, ..