blob: 1d18c07980d1acdcc831e6f9fe593b05d03e4785 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--TEST--
Disable functions - Called with register_tick_function
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/config_disabled_user_functions_die.ini
--FILE--
<?php
function my_super_function() {
echo 'lose';
}
echo 1337;
register_tick_function('my_super_function');
?>
--EXPECTF--
1337
[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'die' in %a/tests/disabled_functions_register_tick_function.php:%d has been disabled.
--XFAIL--
|