cvs: ZendEngine2 / zend_API.c

From: Date: Tue, 24 Aug 2004 18:47:19 +0000
Subject: cvs: ZendEngine2 / zend_API.c
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-2900@lists.php.net to get a copy of this message
helly Tue Aug 24 14:47:19 2004 EDT Modified files: /ZendEngine2 zend_API.c Log: - Add missing brackets http://cvs.php.net/diff.php/ZendEngine2/zend_API.c?r1=1.256&r2=1.257&ty=u Index: ZendEngine2/zend_API.c diff -u ZendEngine2/zend_API.c:1.256 ZendEngine2/zend_API.c:1.257 --- ZendEngine2/zend_API.c:1.256 Sat Jun 5 10:59:21 2004 +++ ZendEngine2/zend_API.c Tue Aug 24 14:47:18 2004 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_API.c,v 1.256 2004/06/05 14:59:21 helly Exp $ */ +/* $Id: zend_API.c,v 1.257 2004/08/24 18:47:18 helly Exp $ */ #include "zend.h" #include "zend_execute.h" @@ -1344,21 +1344,21 @@ if (ctor) { ctor->common.fn_flags |= ZEND_ACC_CTOR; if (ctor->common.fn_flags & ZEND_ACC_STATIC) { - zend_error(error_type, "Constructor %s::%s cannot be static", ctor->common.scope->name, ctor->common.function_name); + zend_error(error_type, "Constructor %s::%s() cannot be static", ctor->common.scope->name, ctor->common.function_name); } ctor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; } if (dtor) { dtor->common.fn_flags |= ZEND_ACC_DTOR; if (dtor->common.fn_flags & ZEND_ACC_STATIC) { - zend_error(error_type, "Destructor %s::%s cannot be static", dtor->common.scope->name, dtor->common.function_name); + zend_error(error_type, "Destructor %s::%s() cannot be static", dtor->common.scope->name, dtor->common.function_name); } dtor->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; } if (clone) { clone->common.fn_flags |= ZEND_ACC_CLONE; if (clone->common.fn_flags & ZEND_ACC_STATIC) { - zend_error(error_type, "Constructor %s::%s cannot be static", clone->common.scope->name, clone->common.function_name); + zend_error(error_type, "Constructor %s::%s() cannot be static", clone->common.scope->name, clone->common.function_name); } clone->common.fn_flags &= ~ZEND_ACC_ALLOW_STATIC; }

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