|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2016-12-30 22:57 UTC] cmb@php.net
 
-Package: Feature/Change Request
+Package: Output Control
  [2018-07-12 13:01 UTC] cmb@php.net
 
-Summary:          output_reset_rewrite_vars doesnt
                   check the number of parameters
+Summary:          Some nullary functions don't check
                   the number of arguments
-Status:           Open
+Status:           Verified
-Type:             Feature/Change Request
+Type:             Bug
-Package:          Output Control
+Package:          *General Issues
-Operating System: n/a
+Operating System: *
-PHP Version:      5CVS-2005-06-28 (dev)
+PHP Version:      7.3Git-2018-07-12 (Git)
-Assigned To:
+Assigned To:      cmb
  [2018-07-12 13:01 UTC] cmb@php.net
  [2018-07-12 13:07 UTC] cmb@php.net
  [2018-07-12 13:07 UTC] cmb@php.net
 
-Status: Verified
+Status: Closed
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
Description: ------------ Index: output.c =================================================================== RCS file: /repository/php-src/main/output.c,v retrieving revision 1.166 diff -u -r1.166 output.c --- output.c 28 Apr 2005 14:20:28 -0000 1.166 +++ output.c 28 Jun 2005 19:41:33 -0000 @@ -1042,6 +1042,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 {