cvs: ZendEngine2(PHP_5_3) / zend_builtin_functions.c

[email protected] ("Hannes Magnusson")
Newsgroups php.zend-engine.cvs
Message-ID <cvsbjori1230663316@cvsserver>
bjori		Tue Dec 30 18:55:16 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /ZendEngine2	zend_builtin_functions.c 
  Log:
  Fix arginfo and proto
  
  
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_builtin_functions.c?r1=1.277.2.12.2.25.2.38&r2=1.277.2.12.2.25.2.39&diff_format=u
Index: ZendEngine2/zend_builtin_functions.c
diff -u ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.38 ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.39
--- ZendEngine2/zend_builtin_functions.c:1.277.2.12.2.25.2.38	Tue Dec 30 18:17:44 2008
+++ ZendEngine2/zend_builtin_functions.c	Tue Dec 30 18:55:16 2008
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.38 2008/12/30 18:17:44 helly Exp $ */
+/* $Id: zend_builtin_functions.c,v 1.277.2.12.2.25.2.39 2008/12/30 18:55:16 bjori Exp $ */
 
 #include "zend.h"
 #include "zend_API.h"
@@ -118,7 +118,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()
 
@@ -582,7 +582,7 @@
 /* }}} */
 
 
-/* {{{ proto int error_reporting(int new_error_level=null)
+/* {{{ proto int error_reporting([int new_error_level])
    Return the current error_reporting level, and if an argument was passed - change to the new level */
 ZEND_FUNCTION(error_reporting)
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.