xref: /PHP-8.1/Zend/tests/errmsg_026.phpt (revision 782352c5)
1--TEST--
2errmsg: cannot redeclare class
3--FILE--
4<?php
5
6class stdclass {
7}
8
9echo "Done\n";
10?>
11--EXPECTF--
12Fatal error: Cannot declare class stdclass, because the name is already in use in %s on line %d
13