cvs: ZendEngine2 / zend_API.c

From: Date: Mon, 21 Mar 2005 06:20:18 +0000
Subject: cvs: ZendEngine2 / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3522@lists.php.net to get a copy of this message
andrei Mon Mar 21 01:20:18 2005 EDT Modified files: /ZendEngine2 zend_API.c Log: internal_function->fn_flags is not initialized at this point http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.280&r2=1.281&ty=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.280 ZendEngine2/zend_API.c:1.281 --- ZendEngine2/zend_API.c:1.280 Tue Mar 15 23:18:42 2005 +++ ZendEngine2/zend_API.c Mon Mar 21 01:20:17 2005 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.280 2005/03/16 04:18:42 wez Exp $ */ +/* $Id: zend_API.c,v 1.281 2005/03/21 06:20:17 andrei Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1327,7 +1327,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 (#3522) next »