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