summaryrefslogtreecommitdiff
path: root/src/tests/disable_function/disabled_function_local_var_crash.phpt
blob: f36b2c7b2f68fc559e129bad2d9ed797d8b028c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--TEST--
Disable functions - match on a local variable
--SKIPIF--
<?php if (!extension_loaded("snuffleupagus")) print "skip"; ?>
--INI--
sp.configuration_file={PWD}/config/disabled_function_local_var.ini
--FILE--
<?php 
function test(){
    echo strtoupper("id") . "\n";
}
ob_start(test());
echo "test\n";
?>
--EXPECTF--
ID
test