cvs: ZendEngine2 / zend_builtin_functions.c
[email protected] ("Hannes Magnusson")
| Newsgroups | php.zend-engine.cvs |
|---|---|
| Message-ID | <cvsbjori1230663637@cvsserver> |
bjori Tue Dec 30 19:00:37 2008 UTC
Modified files:
/ZendEngine2 zend_builtin_functions.c
Log:
MFB5.3: Fix error_reporting arginfo and proto
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.391&r2=1.392&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.391 ZendEngine2/zend_builtin_functions.c:1.392
--- ZendEngine2/zend_builtin_functions.c:1.391 Tue Dec 30 18:17:28 2008
+++ ZendEngine2/zend_builtin_functions.c Tue Dec 30 19:00:37 2008
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_builtin_functions.c,v 1.391 2008/12/30 18:17:28 helly Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.392 2008/12/30 19:00:37 bjori Exp $ */
#include "zend.h"
#include "zend_API.h"
@@ -119,7 +119,7 @@
ZEND_ARG_INFO(1, arr)
ZEND_END_ARG_INFO()
-ZEND_BEGIN_ARG_INFO_EX(arginfo_error_reporting, 0, 0, 1)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_error_reporting, 0, 0, 0)
ZEND_ARG_INFO(0, new_error_level)
ZEND_END_ARG_INFO()
@@ -575,7 +575,7 @@
}
/* }}} */
-/* {{{ proto int error_reporting(int new_error_level=null) U
+/* {{{ proto int error_reporting([int new_error_level]) U
Return the current error_reporting level, and if an argument was passed - change to the new level */
ZEND_FUNCTION(error_reporting)
{