Hello Andi,

Tuesday, October 12, 2004, 11:43:11 PM, you wrote:

> We were discussing adding a per class (zend_class_entry *) callback for 
> constants. It might make sense to allow that and if the callback is NULL 
> then try the constant's hash in zend_class_entry.
> That should solve all cases, right?

Andi still the patch is a good extension to the engine API and i think
we should add it. Why should every programmer that wants constants add
constant handlers just to add some basic constants? I see the handlers
only to allow soem special cases, maybe to have array consts or whatever.

marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to