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

At 11:54 PM 10/11/2004 -0700, Robert Silva wrote:
This patch allows php extension authors to declare constants on internal
objects. This pretty much just duplicates the zend_declare_property_*
functions but for constants. Currently there is no way for C level class
authors to declare constants on their objects since the engine has to
allocate space for them.

Bob Silva

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

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



Reply via email to