diff options
Diffstat (limited to 'src/tests/disabled_functions_cidr_6.phpt')
| -rw-r--r-- | src/tests/disabled_functions_cidr_6.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/disabled_functions_cidr_6.phpt b/src/tests/disabled_functions_cidr_6.phpt index 92e542c..17822cd 100644 --- a/src/tests/disabled_functions_cidr_6.phpt +++ b/src/tests/disabled_functions_cidr_6.phpt | |||
| @@ -4,7 +4,7 @@ Disable functions | |||
| 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> | 4 | <?php if (!extension_loaded("snuffleupagus")) die "skip"; ?> |
| 5 | --ENV-- | 5 | --ENV-- |
| 6 | return <<<EOF | 6 | return <<<EOF |
| 7 | REMOTE_ADDR=2001:0db8:0000:0000:0000:ff00:0042:8328 | 7 | REMOTE_ADDR=2001:0db8:f000:f000:f000:ff00:0042:8328 |
| 8 | EOF; | 8 | EOF; |
| 9 | --INI-- | 9 | --INI-- |
| 10 | sp.configuration_file={PWD}/config/disabled_functions_cidr.ini | 10 | sp.configuration_file={PWD}/config/disabled_functions_cidr.ini |
| @@ -14,4 +14,4 @@ strpos("a", "b"); | |||
| 14 | printf(1337); | 14 | printf(1337); |
| 15 | ?> | 15 | ?> |
| 16 | --EXPECTF-- | 16 | --EXPECTF-- |
| 17 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strpos' in %a/disabled_functions_cidr_6.php on line 2 \ No newline at end of file | 17 | Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strpos' in %a/disabled_functions_cidr_6.php on line 2 |
