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