--TEST-- Disable functions - match on a local variable --SKIPIF-- --INI-- sp.configuration_file={PWD}/config/disabled_function_local_var.ini --FILE-- Array('qwe'), '456' => Array('no block this')); var_dump($qwe); strtoupper("qwe"); $qwe = Array('123' => Array('qwe'), '456' => Array(Array('block this'))); var_dump($qwe); strtoupper("qwe"); ?> --EXPECTF-- array(2) { [123]=> array(1) { [0]=> string(3) "qwe" } [456]=> array(1) { [0]=> string(13) "no block this" } } array(2) { [123]=> array(1) { [0]=> string(3) "qwe" } [456]=> array(1) { [0]=> array(1) { [0]=> string(10) "block this" } } } Fatal error: [snuffleupagus][disabled_function] Aborted execution on call of the function 'strtoupper' in %a/disabled_function_local_var_10.php on line 7