bjori           Mon Jun 26 22:19:04 2006 UTC

  Modified files:              
    /php-src/ext/standard       basic_functions.c 
  Log:
  Add arginfo for sys_getloadavg()
  iUpdate arginfo for base64_decode()
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/basic_functions.c?r1=1.783&r2=1.784&diff_format=u
Index: php-src/ext/standard/basic_functions.c
diff -u php-src/ext/standard/basic_functions.c:1.783 
php-src/ext/standard/basic_functions.c:1.784
--- php-src/ext/standard/basic_functions.c:1.783        Mon Jun 26 20:28:30 2006
+++ php-src/ext/standard/basic_functions.c      Mon Jun 26 22:19:04 2006
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: basic_functions.c,v 1.783 2006/06/26 20:28:30 bjori Exp $ */
+/* $Id: basic_functions.c,v 1.784 2006/06/26 22:19:04 bjori Exp $ */
 
 #include "php.h"
 #include "php_streams.h"
@@ -932,6 +932,12 @@
        ZEND_ARG_INFO(0, types)
        ZEND_ARG_INFO(0, prefix)
 ZEND_END_ARG_INFO()
+
+#ifdef HAVE_GETLOADAVG
+static
+ZEND_BEGIN_ARG_INFO(arginfo_sys_getloadavg, 0)
+ZEND_END_ARG_INFO()
+#endif
 /* }}} */
 /* {{{ assert.c */
 static
@@ -952,8 +958,9 @@
 ZEND_END_ARG_INFO()
 
 static
-ZEND_BEGIN_ARG_INFO(arginfo_base64_decode, 0)
+ZEND_BEGIN_ARG_INFO_EX(arginfo_base64_decode, 0, 0, 1)
        ZEND_ARG_INFO(0, str)
+       ZEND_ARG_INFO(0, strict)
 ZEND_END_ARG_INFO()
 
 /* }}} */
@@ -3344,7 +3351,7 @@
        PHP_FE(getopt,                                                          
                                                        arginfo_getopt)
 #endif
 #ifdef HAVE_GETLOADAVG
-       PHP_FE(sys_getloadavg,                                                  
                                                NULL)
+       PHP_FE(sys_getloadavg,                                                  
                                                arginfo_sys_getloadavg)
 #endif
 #ifdef HAVE_GETTIMEOFDAY
        PHP_FE(microtime,                                                       
                                                        arginfo_microtime)

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to