summaryrefslogtreecommitdiff
path: root/src/tests/disabled_function_super_global_var.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disabled_function_super_global_var.phpt')
-rw-r--r--src/tests/disabled_function_super_global_var.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/tests/disabled_function_super_global_var.phpt b/src/tests/disabled_function_super_global_var.phpt
deleted file mode 100644
index 771052a..0000000
--- a/src/tests/disabled_function_super_global_var.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
1--TEST--
2Disable functions - match on a super global
3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
5--INI--
6sp.configuration_file={PWD}/config/disabled_function_super_global_var.ini
7--GET--
8bla=test
9--FILE--
10<?php
11function test(){
12 echo strlen($_GET['bla']) . "\n";
13}
14test();
15$_GET['bla'] = 'test2';
16test();
17?>
18--EXPECTF--
194
20
21Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strlen' in %a/src/tests/disabled_function_super_global_var.php on line 3 \ No newline at end of file