summaryrefslogtreecommitdiff
path: root/src/tests/disabled_functions_param_alias.phpt
blob: 5cab1f7dc72dc7af2e21e4d22a5030e6ebcb951b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Disable functions - alias
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_disabled_functions_param_alias.ini
--FILE--
<?php 
system("id");
shell_exec("id");
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in %a/tests/disabled_functions_param_alias.php:2, because of the the rule '1'.