xref: /PHP-8.1/Zend/tests/errmsg_021.phpt (revision 782352c5)
1--TEST--
2errmsg: disabled class
3--INI--
4disable_classes=stdclass
5--FILE--
6<?php
7
8class test extends stdclass {
9}
10
11$t = new test;
12
13echo "Done\n";
14?>
15--EXPECTF--
16Warning: test() has been disabled for security reasons in %s on line %d
17Done
18