summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_shell_exec_backtick.phpt
blob: 6f53ceaee5a9ddd28927362f655951fe91197c56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--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
error_reporting = E_ALL & ~E_DEPRECATED
--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