Re: removing functions?
| From: | Chuck Adams | Date: | Sat, 27 May 2000 21:31:46 +0000 |
| Subject: | Re: removing functions? | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19619@lists.php.net to get a copy of this message | ||
Something like this looks like a start to me, assuming it's in a
function that took the name of a function as an arg:
zend_hash_del_key_or_index(CG(function_table),
function_name->u.constant.value.str.val,function_name->u.constant.value.str.len+1, -1,
HASH_DEL_KEY);
Since functions are looked up by name every time they're called, this
shouldn't create any inconsistent states. Does this look sensible or
am I courting disaster here?
chuck