RE: [PHP-DEV] Re: Object Overloading
| From: | Sam Liddicott | Date: | Fri, 23 Aug 2002 14:09:37 +0000 |
| Subject: | RE: [PHP-DEV] Re: Object Overloading | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-87352@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Zeev Suraski [mailto:zeev@zend.com]
> Sent: 22 August 2002 14:52
> To: Sam Liddicott
> Cc: php-dev@lists.php.net
> Subject: [PHP-DEV] Re: Object Overloading
>
> At 16:44 22/08/2002, Sam Liddicott wrote:
> >Will the propget/propset system be lost in zend 2.0?
>
> It won't be lost at all - but it will indeed be completely
> different (much
> more efficient, and easier to work with).
Final request, Do you think we could change:
typedef struct _zend_object {
zend_class_entry *ce;
HashTable *properties;
} zend_object;
to:
typedef struct _zend_object {
zend_class_entry *ce;
HashTable *properties;
void *overloadedobject;
} zend_object;
? it would be very convenient and more efficient though I can see it would
increase the size of every zval out there by sizeof(void*)
Or am I missing something obvious?
Sam