cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c

From: Date: Thu, 11 Aug 2005 21:17:29 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_reflection_api.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3990@lists.php.net to get a copy of this message
tony2001 Thu Aug 11 17:17:29 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_reflection_api.c Log: MF5.1: 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.111.2.22&r2=1.111.2.23&ty=u Index: ZendEngine2/zend_reflection_api.c diff -u ZendEngine2/zend_reflection_api.c:1.111.2.22 ZendEngine2/zend_reflection_api.c:1.111.2.23 --- ZendEngine2/zend_reflection_api.c:1.111.2.22 Fri Jun 10 06:22:50 2005 +++ ZendEngine2/zend_reflection_api.c Thu Aug 11 17:17:28 2005 @@ -19,7 +19,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_reflection_api.c,v 1.111.2.22 2005/06/10 10:22:50 dmitry Exp $ */ +/* $Id: zend_reflection_api.c,v 1.111.2.23 2005/08/11 21:17:28 tony2001 Exp $ */ #include "zend.h" #include "zend_API.h" #include "zend_exceptions.h" @@ -1748,7 +1748,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 (#3990) next »