diff options
| author | Stefan Esser | 2014-02-11 16:45:50 +0100 |
|---|---|---|
| committer | Stefan Esser | 2014-02-11 16:45:50 +0100 |
| commit | 30dc7eb30ef0b4c258678ab91d7f56eb2863dc8c (patch) | |
| tree | f92a3431838e30549c3db11d29400e74462b3ad8 /tests/executor/function_call_user_func.phpt | |
| parent | 3142dc0b525675616a9c1521053c9d5ddfe71108 (diff) | |
Add one more test to check if call_user_func works at all
Diffstat (limited to 'tests/executor/function_call_user_func.phpt')
| -rw-r--r-- | tests/executor/function_call_user_func.phpt | 12 |
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-- | ||
| 2 | Testing if call_user_func() actually works | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipifnotcli.inc"; ?> | ||
| 5 | --INI-- | ||
| 6 | suhosin.log.sapi=64 | ||
| 7 | --FILE-- | ||
| 8 | <?php | ||
| 9 | call_user_func("printf", "hello\n"); | ||
| 10 | ?> | ||
| 11 | --EXPECTF-- | ||
| 12 | hello \ No newline at end of file | ||
