diff options
| author | Ben Fuhrmannek | 2014-12-03 13:52:57 +0100 |
|---|---|---|
| committer | Ben Fuhrmannek | 2014-12-03 13:52:57 +0100 |
| commit | f08ccc6821dc6d56cf204f04eb988efe6c18c0d2 (patch) | |
| tree | 1f50dfe7cfabff09f7b0acd478dc47467c26240a /tests/executor/function_whiletist_absmax.phpt | |
| parent | 5a0d9ff59f2a222259e430076f83ae62421d684e (diff) | |
| parent | 7ea20b91eaa4d977991ef81bf1000758c9d3b6c6 (diff) | |
Merge branch 'master' into 0.9.37
Diffstat (limited to 'tests/executor/function_whiletist_absmax.phpt')
| -rw-r--r-- | tests/executor/function_whiletist_absmax.phpt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/executor/function_whiletist_absmax.phpt b/tests/executor/function_whiletist_absmax.phpt new file mode 100644 index 0000000..f240e69 --- /dev/null +++ b/tests/executor/function_whiletist_absmax.phpt | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | --TEST-- | ||
| 2 | Testing: suhosin.executor.func.whitelist=abs,max | ||
| 3 | --SKIPIF-- | ||
| 4 | <?php include "../skipifnotcli.inc"; ?> | ||
| 5 | --INI-- | ||
| 6 | suhosin.log.sapi=64 | ||
| 7 | suhosin.executor.func.whitelist=abs,max | ||
| 8 | --FILE-- | ||
| 9 | <?php | ||
| 10 | abs(1); | ||
| 11 | max(1,2); | ||
| 12 | abs(1); | ||
| 13 | ?> | ||
| 14 | --EXPECTF-- | ||
| 15 | |||
