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