summaryrefslogtreecommitdiff
path: root/src/tests/disabled_native_functions_indirect.phpt
blob: 61ea48b84484bcfa3e85b24326e4bfa2056ea19b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Disabled native functions, called indirectly
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_functions.ini
--FILE--
<?php 
array_map('system', [1,2,3,4]);
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'system' in%a/tests/disabled_native_functions_indirect.php:2.