Re: Let parse_str() parse more than max_input_vars args

From: Date: Thu, 15 Mar 2012 10:01:45 +0000
Subject: Re: Let parse_str() parse more than max_input_vars args
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Stas Malyshev wrote:
Hi!
That's probably going to confuse people if it doesn't change the HTTP request parsing limit too, IMHO. And I'm not sure that's something we necessarily want.
Err, how you can change it after HTTP request has already been parsed?
I'm not arguing that it should, I'm saying that in the INI it refers to the HTTP arguments, while in the code (via ini_set) it would not affect this. I think that could be confusing for users who don't realise the script is only loaded after parsing the request. Rasmus Lerdorf wrote:
I think that is a documentation issue. We already have plenty of confusion here because it isn't documented that parse_str() is affected by the max_input_vars setting.
I think that is definitely a documentation issue, but the extra argument is the way to go in terms of being the least confusing option. -- Ryan McCue <http://ryanmccue.info/>

Thread (20 messages)

« previous php.internals (#58954) next »