mirror of
https://github.com/php/php-src.git
synced 2024-11-27 20:03:40 +08:00
11 lines
179 B
PHP
11 lines
179 B
PHP
--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
|