mirror of
https://github.com/php/php-src.git
synced 2026-10-29 02:07:35 +08:00
17 lines
242 B
PHP
17 lines
242 B
PHP
--TEST--
|
|
errmsg: disabled function
|
|
--INI--
|
|
disable_functions=phpinfo
|
|
--FILE--
|
|
<?php
|
|
|
|
try {
|
|
phpinfo();
|
|
} catch (Throwable $e) {
|
|
echo $e::class, ': ', $e->getMessage(), "\n";
|
|
}
|
|
|
|
?>
|
|
--EXPECT--
|
|
Error: Call to undefined function phpinfo()
|