diff options
author | Sara Golemon <pollita@php.net> | 2005-04-16 15:24:56 +0000 |
---|---|---|
committer | Sara Golemon <pollita@php.net> | 2005-04-16 15:24:56 +0000 |
commit | 083795cbbfefb875c06977cce9d334a77156947c (patch) | |
tree | a620b90b8753dac2abbc83c73975ffaf0036f713 /Zend/zend_builtin_functions.c | |
parent | b79838dab8bd32677d14ffcb3abd45681f3b709e (diff) | |
download | php-git-083795cbbfefb875c06977cce9d334a77156947c.tar.gz |
Fix method_exists(), pce is fetched, but ce is used
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r-- | Zend/zend_builtin_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 6f83b92e17..3d70c37474 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -869,6 +869,7 @@ ZEND_FUNCTION(method_exists) if (zend_lookup_class(Z_STRVAL_PP(klass), Z_STRLEN_PP(klass), &pce TSRMLS_CC) == FAILURE) { RETURN_FALSE; } + ce = *pce; } else { RETURN_FALSE; } |