xref: /PHP-7.2/Zend/tests/class_alias_004.phpt (revision f1d7e3ca)
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
16