summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_021.phpt
blob: 7514e683590449ba9e8ce75365792485805bd53a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--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