summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_upper.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/disable_function/disabled_functions_upper.phpt')
-rw-r--r--src/tests/disable_function/disabled_functions_upper.phpt16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/tests/disable_function/disabled_functions_upper.phpt b/src/tests/disable_function/disabled_functions_upper.phpt
new file mode 100644
index 0000000..8fa8ea3
--- /dev/null
+++ b/src/tests/disable_function/disabled_functions_upper.phpt
@@ -0,0 +1,16 @@
1--TEST--
2Disable functions - uppercase
3--SKIPIF--
4<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
5--INI--
6sp.configuration_file={PWD}/config/disabled_functions.ini
7--FILE--
8<?php
9sYSTEm("id");
10pRINTf("printf in simulation mode\n");
11pRINT("print in disabled mode\n");
12vaR_DUmp("this is a super test");
13echo sTRPOs("pouet", "o");
14?>
15--EXPECTF--
16Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'system' in %a/disabled_functions_upper.php on line 2 \ No newline at end of file