xref: /PHP-5.3/Zend/tests/class_alias_004.phpt (revision 5c2ff404)
1--TEST--
2Testing creation of alias using an existing interface name
3--FILE--
4<?php
5
6class foo { }
7
8interface test { }
9
10
11class_alias('foo', 'test');
12
13?>
14--EXPECTF--
15Warning: Cannot redeclare class test in %s on line %d
16