Re: Re: patch

From: Date: Sat, 10 Jan 2004 15:46:59 +0000
Subject: Re: Re: patch
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-6955@lists.php.net to get a copy of this message
Sorry... > On Sat, 10 Jan 2004 15:37:17 -0000 > "Nuno Lopes" <nlopess@php.net> 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 {
« previous php.internals (#6955) next »