summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_026.phpt
blob: 2144a0707b231bf0927135e88c41f9c643935bb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
errmsg: cannot redeclare class
--FILE--
<?php

class stdclass {
}

echo "Done\n";
?>
--EXPECTF--
Fatal error: Cannot declare class stdclass, because the name is already in use in %s on line %d