mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
18 lines
237 B
PHP
18 lines
237 B
PHP
--TEST--
|
|
errmsg: disabled class
|
|
--INI--
|
|
disable_classes=stdclass
|
|
--FILE--
|
|
<?php
|
|
|
|
class test extends stdclass {
|
|
}
|
|
|
|
$t = new test;
|
|
|
|
echo "Done\n";
|
|
?>
|
|
--EXPECTF--
|
|
Warning: test() has been disabled for security reasons in %s on line %d
|
|
Done
|