blob: ed46802933f42c6eabb0781125f5811ec983b7cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--TEST--
Disable functions - filename regexp
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_disabled_functions_filename_r.ini
--FILE--
<?php
system("echo 42");
shell_exec("echo 43");
?>
--EXPECTF--
42
[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'shell_exec' in %a/tests/disabled_functions_filename_r.php:%d has been disabled.
|