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