mirror of
https://github.com/php/php-src.git
synced 2025-01-08 20:17:28 +08:00
13 lines
218 B
Plaintext
13 lines
218 B
Plaintext
|
--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
|