Re: [apd][patch] Two new functions: override_constant() and rename_constant()
| From: | Sara Golemon | Date: | Thu, 23 Sep 2004 23:48:00 +0000 |
| Subject: | Re: [apd][patch] Two new functions: override_constant() and rename_constant() | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-1377@lists.php.net to get a copy of this message | ||
> Sorry, this mail got lost in my box -- I wasn't blowing you off.
>
I managed to miss it too....In fact, looking in my mailbox I still don't see
it, though I think php.net email was a little fuzzy at the time...
> Wez suggests 'hacksaw'. But he's had a couple drinks. In the 'kit'
> range, maybe 'execkit' or 'funckit' or 'runkit'.
>
I'm regretting my naming choice on classkit since this kind of added
functionality really should go in the same extension. After all
manipulating EG(function_table) is just the same as manipulating
ce->function_table, but without all the gooey inheritance bits.
> I think moving these things into a new extension is a good idea (that
> wasn't a clever avoidance technique on my part). I'm happy to help as
> time permits - I think it's very useful.
>
I suppose it ultimately is, but there are a few code blocks in classkit
which can be just copied whole-hog into runkit to simplify it.(my vote for
name btw -- funckit just sounds too suggestive when said aloud, and 'run'
really allows a wider range of meaning anyway).
I'll toss together something and throw it into PECL over the next couple
days.
-Sara