Function __global->check_suhosin_request_quantity

Definitions

sources/form_templates.php

  • Ensure Suhosin is not going to break a request due to number of request form fields. Call this each time a field is added to the output.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$inc integer No No 1 N/A N/A How much to increment the counter by
$name_length integer No No 0 N/A N/A The name length being checked

Preview

Code (PHP)

/**
 * Ensure Suhosin is not going to break a request due to number of request form fields. Call this each time a field is added to the output.
 *
 * @param  integer $inc How much to increment the counter by
 * @param  integer $name_length The name length being checked
 */

function check_suhosin_request_quantity(int $inc = 1, int $name_length = 0)