xref: /PHP-8.3/Zend/tests/errmsg_020.phpt (revision 53eee290)
1--TEST--
2errmsg: disabled function
3--INI--
4disable_functions=phpinfo
5--FILE--
6<?php
7
8try {
9    phpinfo();
10} catch (Error $e) {
11    echo $e->getMessage(), "\n";
12}
13
14?>
15--EXPECT--
16Call to undefined function phpinfo()
17