xref: /PHP-5.6/Zend/tests/class_alias_010.phpt (revision 5c2ff404)
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 redeclare class b in %s on line %d
15