summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_026.phpt
blob: 90fa87d4f1ce08c3b59b1dd037b0137f98dd0b0a (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