blob: 931e7fe0f7121a37a4407739328979c4fcdfd874 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
--TEST--
Bug #42859 (import always conflicts with internal classes)
--FILE--
<?php
namespace Foo;
class Ex {}
use Blah::Exception;
use Blah::Ex;
?>
--EXPECTF--
Fatal error: Cannot use Blah::Ex as Ex because the name is already in use in %sbug42859.php on line 6
|