diff options
| author | Dmitry Stogov <dmitry@zend.com> | 2014-04-17 15:40:45 +0400 |
|---|---|---|
| committer | Dmitry Stogov <dmitry@zend.com> | 2014-04-17 15:40:45 +0400 |
| commit | e96073b1e40c4999dee70db684721a582ea5e055 (patch) | |
| tree | d2bfacb90dc6742450a5f6b6112c1db1d088d8ac /Zend/zend_builtin_functions.c | |
| parent | c92dd8eedf95f204520a3b2a15668d56a1aefbde (diff) | |
| download | php-git-e96073b1e40c4999dee70db684721a582ea5e055.tar.gz | |
Moved zend_literal->cache_slot right into zval.
It should be accessed using Z_CACHE_SLOT() macro.
zend_literal structure is removed.
API functions that accepted pointer to zend_literal now accept pointer to zval or cache_slot directly.
Calls of such functiond that now accept cache_slot need to be changed to pass -1 instead of NULL.
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index d3839108c7..cffe0b4c78 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -1205,7 +1205,7 @@ ZEND_FUNCTION(property_exists) if (Z_TYPE_P(object) == IS_OBJECT && Z_OBJ_HANDLER_P(object, has_property) && - Z_OBJ_HANDLER_P(object, has_property)(object, &property_z, 2, 0 TSRMLS_CC)) { + Z_OBJ_HANDLER_P(object, has_property)(object, &property_z, 2, -1 TSRMLS_CC)) { RETURN_TRUE; } RETURN_FALSE; |
