summaryrefslogtreecommitdiff
path: root/tests/executor/function_call_user_func.phpt
diff options
context:
space:
mode:
authorBen Fuhrmannek2016-03-04 14:50:51 +0100
committerBen Fuhrmannek2016-03-04 14:50:51 +0100
commitf15b5aa308a46d555ecc09c075db8728a0895c23 (patch)
tree9c67754998d93aa922176c557df85b07fe9d857f /tests/executor/function_call_user_func.phpt
parentc46f6fdffade1aa4f544adc871650d3e1e360454 (diff)
test cases for eval+func black/whitelist
Diffstat (limited to 'tests/executor/function_call_user_func.phpt')
-rw-r--r--tests/executor/function_call_user_func.phpt12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/executor/function_call_user_func.phpt b/tests/executor/function_call_user_func.phpt
new file mode 100644
index 0000000..8a229d4
--- /dev/null
+++ b/tests/executor/function_call_user_func.phpt
@@ -0,0 +1,12 @@
1--TEST--
2Testing if call_user_func() actually works
3--SKIPIF--
4<?php include "../skipifnotcli.inc"; ?>
5--INI--
6suhosin.log.sapi=64
7--FILE--
8<?php
9 call_user_func("printf", "hello\n");
10?>
11--EXPECTF--
12hello \ No newline at end of file