From 36dbfacbe64697d959f524e537b15b73c090d898 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Sun, 21 Feb 2010 11:44:54 +0100 Subject: Inital commit --- tests/executor/disable_eval_on.phpt | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/executor/disable_eval_on.phpt (limited to 'tests/executor/disable_eval_on.phpt') diff --git a/tests/executor/disable_eval_on.phpt b/tests/executor/disable_eval_on.phpt new file mode 100644 index 0000000..49f4936 --- /dev/null +++ b/tests/executor/disable_eval_on.phpt @@ -0,0 +1,17 @@ +--TEST-- +Testing: suhosin.executor.disable_eval=1 +--SKIPIF-- + +--INI-- +suhosin.log.sapi=64 +suhosin.executor.disable_eval=1 +--FILE-- + +--EXPECTF-- +ALERT - use of eval is forbidden by configuration (attacker 'REMOTE_ADDR not set', file '%s', line 3) + +Fatal error: SUHOSIN - Use of eval is forbidden by configuration in %s(3) : eval()'d code on line 3 -- cgit v1.3