blob: 106123c0a19e4828ca341291a37db01c2220763f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
--TEST--
Hooking of user-defined functions
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_noncore_function_hooking.ini
--FILE--
<?php
function custom_fun($a) {
echo $a;
}
custom_fun("hello");
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'custom_fun' in %a/tests/noncore_function_hooking.php:3 has been disabled.
|