mirror of
https://github.com/php/php-src.git
synced 2024-12-11 19:04:38 +08:00
11 lines
197 B
PHP
11 lines
197 B
PHP
--TEST--
|
|
Cannot use special class name as alias
|
|
--FILE--
|
|
<?php
|
|
|
|
use Foo\Bar as self;
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot use Foo\Bar as self because 'self' is a special class name in %s on line %d
|