PHP_Compat
[ class tree: PHP_Compat ] [ index: PHP_Compat ] [ all elements ]

File: _magic_quotes_inputs.php

Source Location: /PHP_Compat-1.6.0a3/Compat/Environment/_magic_quotes_inputs.php

Classes:

Page Details:

Common include for magic quotes files

"Correct" behaviour is defined as that of PHP 5.2.2 and (so far) above:

  • $_GET, $_POST, $_COOKIE and $_REQUEST are treated
  • All of the above variables's keys and values are treated
Fixed exceptions:
  • PHP < 5.2.2 keys of order 1 array values are not escaped
  • 5.0.0 >= PHP < 5.1.0 keys are escaped even when magic quotes is off
  • PHP < 5.0.0 keys of order 1 scalar values are not escaped
  • PHP < 4.3.4 keys of all scalar values are not escaped


Documentation generated on Mon, 11 Mar 2019 15:39:40 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.