blob: f38468ae503f436e120fcc7123d4f2abdabe5aea (
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] Aborted execution on call of the function 'shell_exec' in %a/tests/disabled_functions_filename_r.php:%d.
|