From c01b85444dba83b3ed9d381619eaf1032c3fd098 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Wed, 12 Feb 2014 14:48:35 +0100 Subject: Some function_exist() tests for whitelist/blacklist usage --- .../function_whitelist_function_exists.phpt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tests/executor/function_whitelist_function_exists.phpt (limited to 'tests/executor/function_whitelist_function_exists.phpt') diff --git a/tests/executor/function_whitelist_function_exists.phpt b/tests/executor/function_whitelist_function_exists.phpt new file mode 100644 index 0000000..bc515ab --- /dev/null +++ b/tests/executor/function_whitelist_function_exists.phpt @@ -0,0 +1,22 @@ +--TEST-- +Testing: suhosin.executor.func.whitelist with function_exists() +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.func.whitelist=printf,max,function_exists,var_dump +--FILE-- + +--EXPECTF-- +bool(false) +bool(true) +bool(false) +bool(true) +bool(false) + -- cgit v1.3