Sorry...

> On Sat, 10 Jan 2004 15:37:17 -0000
> "Nuno Lopes" <[EMAIL PROTECTED]> wrote:
> 
> > Here it is!
> 
> Nice try ;)
> 
> Use .txt attachment (text/*) so it can go through the list. Or provide a
> nice little url to it :)
> 
> pierre
Index: main/output.c
===================================================================
RCS file: /repository/php-src/main/output.c,v
retrieving revision 1.163
diff -u -r1.163 output.c
--- main/output.c       8 Jan 2004 08:17:53 -0000       1.163
+++ main/output.c       10 Jan 2004 15:44:40 -0000
@@ -1041,6 +1041,10 @@
    Reset(clear) URL rewriter values */
 PHP_FUNCTION(output_reset_rewrite_vars)
 {
+       if (ZEND_NUM_ARGS() != 0) {
+               ZEND_WRONG_PARAM_COUNT();
+       }
+
        if (php_url_scanner_reset_vars(TSRMLS_C) == SUCCESS) {
                RETURN_TRUE;
        } else {

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to