summaryrefslogtreecommitdiff
path: root/tests/logging/logscript_executable.phpt
blob: f6d535c70926c16bb22a946ebf887b2f6ac49adb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--TEST--
Testing: suhosin.log.script.name=EXECUTABLE
--SKIPIF--
<?php include "../skipifnotcli.inc"; ?>
--INI--
suhosin.log.sapi=0
suhosin.log.stdout=0
suhosin.log.script=255
suhosin.log.script.name=/bin/echo
suhosin.log.syslog=0
suhosin.executor.func.blacklist=max
--FILE--
<?php
	max(1,2);
?>
--EXPECTF--
Warning: max() has been disabled for security reasons in %s on line 2