diff options
author | Antony Dovgal <tony2001@php.net> | 2005-08-11 21:32:57 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2005-08-11 21:32:57 +0000 |
commit | b58f366c5cba553eff7889e8b4e121d30e6633c9 (patch) | |
tree | 72477c4181b34a3159edce08c045995769efa2ec /Zend/zend_reflection_api.c | |
parent | ef36d692cd08b9bc647f167b220e900cf792b41e (diff) | |
download | php-git-b58f366c5cba553eff7889e8b4e121d30e6633c9.tar.gz |
MF5.1: fix #34078 (Reflection API problems in methods with boolean or null default values)
(andrei said to sara a few hours ago you may commit whatever you want until 9pm) (c) helly
if there are any problems with this patch - please tell me, I'll revert it immediately
Diffstat (limited to 'Zend/zend_reflection_api.c')
-rw-r--r-- | Zend/zend_reflection_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_reflection_api.c b/Zend/zend_reflection_api.c index 6034af75ce..2bbd91bc98 100644 --- a/Zend/zend_reflection_api.c +++ b/Zend/zend_reflection_api.c @@ -1864,7 +1864,7 @@ ZEND_METHOD(reflection_parameter, getDefaultValue) zv_copy = precv->op2.u.constant; zv = &zv_copy; - zval_update_constant(&zv, (void*)1 TSRMLS_CC); + zval_update_constant(&zv, (void*)0 TSRMLS_CC); RETURN_ZVAL(zv, 1, 1); } /* }}} */ |