cvs: ZendEngine2(PHP_5_0) / zend_API.c

From: Date: Thu, 31 Mar 2005 15:44:52 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3531@lists.php.net to get a copy of this message
derick Thu Mar 31 10:44:52 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_API.c Log: - MFH: internal_function->fn_flags is not initialized at this point http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.256.2.10&r2=1.256.2.11&ty=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.256.2.10 ZendEngine2/zend_API.c:1.256.2.11 --- ZendEngine2/zend_API.c:1.256.2.10 Tue Mar 15 23:19:20 2005 +++ ZendEngine2/zend_API.c Thu Mar 31 10:44:52 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.256.2.10 2005/03/16 04:19:20 wez Exp $ */ +/* $Id: zend_API.c,v 1.256.2.11 2005/03/31 15:44:52 derick Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1305,7 +1305,7 @@ if (ptr->flags) { if (!(ptr->flags & ZEND_ACC_PPP_MASK)) { zend_error(error_type, "Invalid access level for %s%s%s() - access must be exactly one of public, protected or private", scope ? scope->name : "", scope ? "::" : "", ptr->fname); - internal_function->fn_flags |= ZEND_ACC_PUBLIC; + internal_function->fn_flags = ZEND_ACC_PUBLIC; } else { internal_function->fn_flags = ptr->flags; }

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