summaryrefslogtreecommitdiff
path: root/Zend/tests/class_alias_010.phpt
blob: 3e52f5ffc5c46c74fefaec8382e9d295cc7839d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Trying use an existing alias name in class declaration
--FILE--
<?php

interface a { }

class_alias('a', 'b');

class b { }

?>
--EXPECTF--
Warning: Cannot declare interface b, because the name is already in use in %s on line %d