cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c

From: Date: Fri, 28 Jan 2005 20:25:27 +0000
Subject: cvs: ZendEngine2(PHP_5_0) / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-3345@lists.php.net to get a copy of this message
helly Fri Jan 28 15:25:27 2005 EDT Modified files: (Branch: PHP_5_0) /ZendEngine2 zend_execute_API.c Log: - MFH Fix severity http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.287.2.6&r2=1.287.2.7&ty=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.287.2.6 ZendEngine2/zend_execute_API.c:1.287.2.7 --- ZendEngine2/zend_execute_API.c:1.287.2.6 Thu Nov 25 15:26:48 2004 +++ ZendEngine2/zend_execute_API.c Fri Jan 28 15:25:26 2005 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.287.2.6 2004/11/25 20:26:48 zeev Exp $ */ +/* $Id: zend_execute_API.c,v 1.287.2.7 2005/01/28 20:25:26 helly Exp $ */ #include <stdio.h> #include <signal.h> @@ -807,7 +807,7 @@ } else { severity = E_ERROR; } - zend_error(E_STRICT, "Non-static method %s::%s() cannot be called statically", calling_scope->name, EX(function_state).function->common.function_name); + zend_error(severity, "Non-static method %s::%s() cannot be called statically", calling_scope->name, EX(function_state).function->common.function_name); } }

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