| 1 | <?php |
||
| 4 | class Base |
||
| 5 | { |
||
| 6 | /** |
||
| 7 | * @see http://php.net/manual/en/reserved.variables.php |
||
| 8 | */ |
||
| 9 | private static $ignoringVariableNames = array( |
||
| 10 | 'GLOBALS', |
||
| 11 | '_SERVER', |
||
| 12 | '_GET', |
||
| 13 | '_POST', |
||
| 14 | '_FILES', |
||
| 15 | '_REQUEST', |
||
| 16 | '_SESSION', |
||
| 17 | '_ENV', |
||
| 18 | '_COOKIE', |
||
| 19 | 'php_errormsg', |
||
| 20 | 'HTTP_RAW_POST_DATA', |
||
| 21 | 'http_response_header', |
||
| 22 | 'argc', |
||
| 23 | 'argv', |
||
| 24 | ); |
||
| 25 | |||
| 26 | protected function ignoringVariable($theKey) |
||
| 30 | } |
||
| 31 |