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 declare class test, because the name is already in use in %s on line %d