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

class parent {
}

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