1
0
mirror of https://github.com/php/php-src.git synced 2026-04-17 21:11:02 +02:00
Files
archived-php-src/Zend/tests/class_alias_004.phpt
Felipe Pena c065d7e7e7 - New tests
2008-05-12 13:30:50 +00:00

16 lines
218 B
PHP

--TEST--
Testing creation of alias using an existing interface name
--FILE--
<?php
class foo { }
interface test { }
class_alias('foo', 'test');
?>
--EXPECTF--
Warning: Cannot redeclare class test in %s on line %d