summaryrefslogtreecommitdiff
path: root/src/tests/disabled_functions_param_r.phpt
blob: fbbbf8f1e4051feedbb384b05d0f33601aa34719 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Disable functions
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_disabled_functions_param_r.ini
--FILE--
<?php 
system("id");
system("echo win");
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions_param_r.php:2 has been disabled, because its argument 'command' content (id) matched a rule.