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