summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_020.phpt
blob: 4a7c326d0531753d84c824f3653da5e468c7eda5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--TEST--
errmsg: disabled function
--INI--
disable_functions=phpinfo
--FILE--
<?php

try {
    phpinfo();
} catch (Error $e) {
    echo $e->getMessage(), "\n";
}

?>
--EXPECT--
Call to undefined function phpinfo()