summaryrefslogtreecommitdiff
path: root/Zend/tests/errmsg_029.phpt
blob: e40cb2dc682407012e7069389f1f96a0249490cd (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