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