cvs: ZendEngine2 / zend_execute_API.c

From: Date: Thu, 28 Sep 2006 07:16:59 +0000
Subject: cvs: ZendEngine2 / zend_execute_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-5276@lists.php.net to get a copy of this message
dmitry Thu Sep 28 07:16:59 2006 UTC Modified files: /ZendEngine2 zend_execute_API.c Log: Fixed wrong return value http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute_API.c?r1=1.382&r2=1.383&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.382 ZendEngine2/zend_execute_API.c:1.383 --- ZendEngine2/zend_execute_API.c:1.382 Tue Sep 19 10:38:30 2006 +++ ZendEngine2/zend_execute_API.c Thu Sep 28 07:16:59 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.382 2006/09/19 10:38:30 dmitry Exp $ */ +/* $Id: zend_execute_API.c,v 1.383 2006/09/28 07:16:59 dmitry Exp $ */ #include <stdio.h> #include <signal.h> @@ -857,7 +857,7 @@ && !(EX(function_state).function->common.fn_flags & ZEND_ACC_STATIC) && !instanceof_function(check_scope_or_static, calling_scope TSRMLS_CC)) { zend_error(E_ERROR, "Cannot call method %R() of class %v which is not a derived from %v", Z_TYPE_P(fci->function_name), Z_UNIVAL_P(fci->function_name), calling_scope->name, check_scope_or_static->name); - return 0; + return FAILURE; } } else { unsigned int lcname_len;

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