summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_functions_shell_exec_backtick_var.phpt
blob: a312acfba039305f868afbbeedb47161080429a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Disable functions - shell_exec via backtick operator in context of a var name
--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