summaryrefslogtreecommitdiff
path: root/Zend/tests/bug42859.phpt
blob: 755f41f8d62b9dca46afe02734cf5a8d6bc0b17d (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