summaryrefslogtreecommitdiff
path: root/Zend/tests/class_alias_009.phpt
blob: f17769e1f421309c8620c29eeb071040d96aa04b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--TEST--
Testing interface declaration using the original and alias class name
--FILE--
<?php

interface a { }

class_alias('a', 'b');

interface c extends a, b { }

?>
--EXPECTF--
Fatal error: Class c cannot implement previously implemented interface a in %s on line %d