summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_exec.phpt
blob: d49ea5839defdfae321d2351566982ed2d01617d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Disable functions - exec
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_functions_extra.ini
--FILE--
<?php 
echo exec('ls -l');
?>
--EXPECTF--
Fatal error: [snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'exec' in %a.php on line 2