Doc #65778 [NEW]: wrong information about introduction of max_input_vars directive
| From: | ubuntu at spacetrace dot org | Date: | Sat, 28 Sep 2013 05:42:33 +0000 |
| Subject: | Doc #65778 [NEW]: wrong information about introduction of max_input_vars directive | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-10322@lists.php.net to get a copy of this message | ||
From: ubuntu at spacetrace dot org
Operating system: debian
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:wrong information about introduction of max_input_vars directive
Description:
------------
---
From manual page: http://www.php.net/info.configuration
---
It sais max_input_vars is available since PHP 5.3.9.
But I run PHP 5.3.3-7+squeeze17 on my debian server which also already has
the directive max_input_vars.
I can change the value in php.ini and it is displayed correctry changed in
phpinfo().
Please add information about the behaviour with older versions
see
http://stackoverflow.com/questions/19042734/is-there-a-limit-like-max-input-vars-in-versions-before-5-3-9
Test script:
---------------
<?php
if(!empty($_REQUEST)) echo sizeof($_REQUEST)." num request variables";
else {
?><form method="post"><?
for($i=0;$i<1100;$i++) echo '<input type="hidden"
value="v'.$i.'"
name="v'.$i.'">';
?><input type="submit">
</form>
<?
}
Expected result:
----------------
after hitting the submit button it should say:
"1100 num request variables"
Actual result:
--------------
still "1000 num request variables"
although phpinfo() sais: max_input_vars is set to 100000
see
http://r.z11.de/paste/max_input_vars.php
--
Edit bug report at https://bugs.php.net/bug.php?id=65778&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=65778&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=65778&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=65778&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=65778&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=65778&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=65778&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=65778&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=65778&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=65778&r=support
Expected behavior: https://bugs.php.net/fix.php?id=65778&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=65778&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=65778&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=65778&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=65778&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=65778&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=65778&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=65778&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=65778&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=65778&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=65778&r=mysqlcfg