xref: /PHP-8.2/Zend/tests/class_alias_010.phpt (revision 67b907f0)
1--TEST--
2Trying use an existing alias name in class declaration
3--FILE--
4<?php
5
6interface a { }
7
8class_alias('a', 'b');
9
10class b { }
11
12?>
13--EXPECTF--
14Warning: Cannot declare interface b, because the name is already in use in %s on line %d
15