summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_031.phpt
blob: 6e356485492fe6f65c56b7e0c00e50239df3e75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
errmsg: cannot use 'parent' as parent class name
--FILE--
<?php

class test extends parent {
}

echo "Done\n";
?>
--EXPECTF--	
Fatal error: Cannot use 'parent' as class name as it is reserved in %s on line %d