mirror of
https://github.com/php/php-src.git
synced 2024-12-21 16:00:18 +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
|