summaryrefslogtreecommitdiff
path: root/tests/executor/eval_whitelist_absmax.phpt
blob: fff7345fb6b5f8b2709d06f41d1d0a1e783e09ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
Testing: suhosin.executor.eval.whitelist=abs,max
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=64
suhosin.executor.disable_eval=0
suhosin.executor.eval.whitelist=abs,max
--FILE--
<?php
	eval('abs(1);
	max(1,2);
	abs(1);');
?>
--EXPECTF--