Re: Run Time Cache RFC
| From: | Stas Malyshev | Date: | Mon, 24 May 2010 17:29:14 +0000 |
| Subject: | Re: Run Time Cache RFC | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-48438@lists.php.net to get a copy of this message | ||
Hi!
If I understand what you implied later in your email, calls to zend_hash_copy should be replaced with calls to object_properties_init. Is this always true? Is this the onlyThat's probably not so. As I understand, the patch changes the way the object properties are accessed. So if your extension manipulates properties of some objects directly, it needs to be changed. This includes initializing properties (object_properties_init) and accessing them as hash (which would probably require zend_std_get_properties or zend_std_get_properties. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227