blob: cb35e88db69cfffa053087156ca2349093cc4932 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--TEST--
Class declaration colliding with import (in namespace)
--FILE--
<?php
namespace Foo {
class Bar {}
}
namespace Bazzle {
use Foo\Bar;
class Bar {}
}
?>
--EXPECTF--
Fatal error: Cannot declare class Bazzle\Bar because the name is already in use in %s on line %d
|