blob: 5aa5a8a630e22ad7d00e76cfa82db6039a56a126 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Disable functions - uppercase
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_functions.ini
--FILE--
<?php
sYSTEm("id");
pRINTf("printf in simulation mode\n");
pRINT("print in disabled mode\n");
vaR_DUmp("this is a super test");
echo sTRPOs("pouet", "o");
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] The call to the function 'system' in %a/tests/disabled_functions_upper.php:%d has been disabled.
|