1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 16:52:18 +01:00
Files
archived-php-src/Zend/tests/class_alias_010.phpt
2008-05-12 13:31:36 +00:00

15 lines
200 B
PHP

--TEST--
Trying use an existing alias name in class declaration
--FILE--
<?php
interface a { }
class_alias('a', 'b');
class b { }
?>
--EXPECTF--
Warning: Cannot redeclare class b in %s on line %d