cvs: ZendEngine2(PHP_5_1) / zend_reflection_api.c

From: Date: Thu, 11 Aug 2005 21:16:21 +0000
Subject: cvs: ZendEngine2(PHP_5_1) / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3989@lists.php.net to get a copy of this message
tony2001 Thu Aug 11 17:16:21 2005 EDT Modified files: (Branch: PHP_5_1) /ZendEngine2 zend_reflection_api.c Log: fix #34078 (Reflection API problems in methods with boolean or null default values) http://cvs.php.net/diff.php/ZendEngine2/zend_reflection_api.c?r1=1.164&r2=1.164.2.1&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.164 ZendEngine2/zend_reflection_api.c:1.164.2.1 --- ZendEngine2/zend_reflection_api.c:1.164 Wed Aug 3 09:30:56 2005 +++ ZendEngine2/zend_reflection_api.c Thu Aug 11 17:16:20 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.164 2005/08/03 13:30:56 sniper Exp $ */ +/* $Id: zend_reflection_api.c,v 1.164.2.1 2005/08/11 21:16:20 tony2001 Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -1864,7 +1864,7 @@ 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); } /* }}} */

« previous php.zend-engine.cvs (#3989) next »