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