Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Andrei Zmievski wrote: > On Sun, 05 Aug 2001, Sterling Hughes wrote: > > That's used to register the class. If you can think of another way > > to do (*don't* say macro ;-), then I'd be more than willing to hear > > it, but otherwise... > > You can just initialize

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Andrei Zmievski
On Sun, 05 Aug 2001, Sterling Hughes wrote: > That's used to register the class. If you can think of another way > to do (*don't* say macro ;-), then I'd be more than willing to hear > it, but otherwise... You can just initialize the class entry manually. -Andrei "Everything is a m

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
On Mon, 6 Aug 2001, Zeev Suraski wrote: > It's not a big deal and we can commit it (as it's done in the > 'put-expensive-operations-here' part of PHP, the module-init, hint hint :). > ;) > However, is it really necessary? > Well, I have the following function (there maybe bugs, I'm st

Re: [PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Zeev Suraski
It's not a big deal and we can commit it (as it's done in the 'put-expensive-operations-here' part of PHP, the module-init, hint hint :). However, is it really necessary? Zeev At 05:53 06/08/2001, Sterling Hughes wrote: > Hey, > > The attached patch adds support for passing a variable

[PHP-DEV] [patch] INIT_OVERLOADED_CLASS_ENTRY fix

2001-08-06 Thread Sterling Hughes
Hey, The attached patch adds support for passing a variable to INIT_*CLASS_ENTRY in the name field (instead of just passing a constant string). I've needed this for a function which provides API functionality, registering classes with Zend based on the information passed