title: max_input_vars and serialized data
body: <p>I have a huge number of input elements on page which should be submitted to server via ajax.</p>
  
  <p>I've created an array and were trying to send it, but I've got a php warning: "your PHP configuration limits the maximum number of fields to post in a form: 1000 for max_input_vars"</p>
  
  <p>So, I decided to bypass this warning and modify all my huge array into a serialized string. As a result - warning disappear, but I steel getting truncated data on server side.</p>
  
  <p>P.S. In both cases problem can be solved via increasing max_input_vars variable. But in the second one data truncates by <code>parse_str($_POST['data'], $data)</code> function!</p>
  
  <p>Why does restriction of "max_input_vars" applied when I'm trying to parse a huge string?</p>