mirror of
https://github.com/php/php-src.git
synced 2025-01-06 02:43:34 +08:00
11 lines
197 B
Plaintext
11 lines
197 B
Plaintext
|
--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
|