cvs: ZendEngine2 / zend_execute_API.c zend_vm_def.h zend_vm_execute.h

From: Date: Sat, 25 Feb 2006 17:43:12 +0000
Subject: cvs: ZendEngine2 / zend_execute_API.c zend_vm_def.h zend_vm_execute.h
Groups: php.zend-engine.cvs 
Request: Send a blank email to php-zend-engine-cvs+get-4621@lists.php.net to get a copy of this message
helly Sat Feb 25 17:43:12 2006 UTC Modified files: /ZendEngine2 zend_execute_API.c zend_vm_def.h zend_vm_execute.h Log: - Deprecation severity shall be E_STRICT (as commented by ilia) # Actually this conforms with other messages http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_execute_API.c?r1=1.361&r2=1.362&diff_format=u Index: ZendEngine2/zend_execute_API.c diff -u ZendEngine2/zend_execute_API.c:1.361 ZendEngine2/zend_execute_API.c:1.362 --- ZendEngine2/zend_execute_API.c:1.361 Wed Feb 22 08:54:02 2006 +++ ZendEngine2/zend_execute_API.c Sat Feb 25 17:43:12 2006 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_execute_API.c,v 1.361 2006/02/22 08:54:02 dmitry Exp $ */ +/* $Id: zend_execute_API.c,v 1.362 2006/02/25 17:43:12 helly Exp $ */ #include <stdio.h> #include <signal.h> @@ -864,7 +864,7 @@ zend_error_noreturn(E_ERROR, "Cannot call abstract method %v::%v()", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); } if (EX(function_state).function->common.fn_flags & ZEND_ACC_DEPRECATED) { - zend_error(E_NOTICE, "Function %s%s%s() is deprecated", + zend_error(E_STRICT, "Function %s%s%s() is deprecated", EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name.s : "", EX(function_state).function->common.scope ? "::" : "", EX(function_state).function->common.function_name); http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_vm_def.h?r1=1.98&r2=1.99&diff_format=u Index: ZendEngine2/zend_vm_def.h diff -u ZendEngine2/zend_vm_def.h:1.98 ZendEngine2/zend_vm_def.h:1.99 --- ZendEngine2/zend_vm_def.h:1.98 Tue Feb 21 20:12:41 2006 +++ ZendEngine2/zend_vm_def.h Sat Feb 25 17:43:12 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: zend_vm_def.h,v 1.98 2006/02/21 20:12:41 dmitry Exp $ */ +/* $Id: zend_vm_def.h,v 1.99 2006/02/25 17:43:12 helly Exp $ */ /* If you change this file, please regenerate the zend_vm_execute.h and * zend_vm_opcodes.h files by running: @@ -1820,7 +1820,7 @@ ZEND_VM_NEXT_OPCODE(); /* Never reached */ } if (EX(function_state).function->common.fn_flags & ZEND_ACC_DEPRECATED) { - zend_error(E_NOTICE, "Function %v%s%v() is deprecated", + zend_error(E_STRICT, "Function %v%s%v() is deprecated", EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : (zstr)EMPTY_STR, EX(function_state).function->common.scope ? "::" : "", EX(function_state).function->common.function_name); http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_vm_execute.h?r1=1.102&r2=1.103&diff_format=u Index: ZendEngine2/zend_vm_execute.h diff -u ZendEngine2/zend_vm_execute.h:1.102 ZendEngine2/zend_vm_execute.h:1.103 --- ZendEngine2/zend_vm_execute.h:1.102 Tue Feb 21 20:12:41 2006 +++ ZendEngine2/zend_vm_execute.h Sat Feb 25 17:43:12 2006 @@ -146,7 +146,7 @@ ZEND_VM_NEXT_OPCODE(); /* Never reached */ } if (EX(function_state).function->common.fn_flags & ZEND_ACC_DEPRECATED) { - zend_error(E_NOTICE, "Function %v%s%v() is deprecated", + zend_error(E_STRICT, "Function %v%s%v() is deprecated", EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : (zstr)EMPTY_STR, EX(function_state).function->common.scope ? "::" : "", EX(function_state).function->common.function_name);

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