mirror of
https://github.com/php/php-src.git
synced 2024-12-24 17:30:48 +08:00
11 lines
179 B
Plaintext
11 lines
179 B
Plaintext
|
--TEST--
|
||
|
Cannot use special class name as trait name
|
||
|
--FILE--
|
||
|
<?php
|
||
|
|
||
|
trait self {}
|
||
|
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
Fatal error: Cannot use 'self' as class name as it is reserved in %s on line %d
|