1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/Zend/tests/errmsg_021.phpt
Antony Dovgal 0f0fe9c967 MFH: new tests
2007-02-07 11:10:32 +00:00

18 lines
238 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