mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
13 lines
178 B
PHP
13 lines
178 B
PHP
--TEST--
|
|
Trying redeclare class with class_alias()
|
|
--FILE--
|
|
<?php
|
|
|
|
class foo { }
|
|
|
|
class_alias('foo', 'FOO');
|
|
|
|
?>
|
|
--EXPECTF--
|
|
Warning: Cannot redeclare class FOO in %s on line %d
|