summaryrefslogtreecommitdiff
path: root/src/tests/disabled_functions_mb.phpt
blob: 949fc5d62abbac1ab702b3e3c707841b65537632 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Disable functions
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) die "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_functions_mb.ini
--FILE--
<?php 
echo strlen("id");
?>
--EXPECTF--
[snuffleupagus][0.0.0.0][disabled_function][drop] Aborted execution on call of the function 'strlen' in %a/tests/disabled_functions_mb.php:2.