Re: [PATCH] Resubmitted for review

From: Date: Tue, 12 Oct 2004 21:43:11 +0000
Subject: Re: [PATCH] Resubmitted for review
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-13292@lists.php.net to get a copy of this message
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


« previous php.internals (#13292) next »