xref: /php-src/Zend/tests/errmsg/errmsg_031.phpt (revision 275f63e7)
1--TEST--
2errmsg: cannot use "parent" as parent class name
3--FILE--
4<?php
5
6class test extends parent {
7}
8
9echo "Done\n";
10?>
11--EXPECTF--
12Fatal error: Cannot use "parent" as class name, as it is reserved in %s on line %d
13