Bug #74112 [NEW]: about the warning if $_POST truncated due to max_input_vars

From: Date: Thu, 16 Feb 2017 18:32:52 +0000
Subject: Bug #74112 [NEW]: about the warning if $_POST truncated due to max_input_vars
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207416@lists.php.net to get a copy of this message
From: teo8976 at gmail dot com Operating system: PHP version: Irrelevant Package: *General Issues Bug Type: Bug Bug description:about the warning if $_POST truncated due to max_input_vars Description: ------------ From manual page: http://php.net/manual/en/info.configuration.php#ini.max-input-vars > If there are more input variables than specified by this directive, > an E_WARNING is issued, and further input variables are truncated from the > request. A note should be added similar to this: """ Note that in order for the warning to be issued, the error_reporting directive must be set to include E_WARNING in php.ini/.htaccess either globally or per directory (it's not enough to set it via ini_set()) Also, in order for the warning to be displayed, **both** the display_errors and display_startup_errors directives must be set to true in php.ini/.htaccess either globally or per directory (it's not enough to set them via ini_set()). """ I suspect the second part could be even argued to be a bug, but either way, it must be documented here because it's far from obvious. -- Edit bug report at https://bugs.php.net/bug.php?id=74112&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74112&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74112&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74112&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74112&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74112&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74112&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74112&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74112&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74112&r=support Expected behavior: https://bugs.php.net/fix.php?id=74112&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74112&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74112&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74112&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74112&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74112&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74112&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74112&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74112&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74112&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74112&r=mysqlcfg

« previous php.bugs (#207416) next »