xref: /PHP-7.0/Zend/tests/bug42859.phpt (revision 610c7fbe)
1--TEST--
2Bug #42859 (import always conflicts with internal classes)
3--FILE--
4<?php
5namespace Foo;
6class Ex {}
7
8use Blah\Exception;
9use Blah\Ex;
10?>
11--EXPECTF--
12Fatal error: Cannot use Blah\Ex as Ex because the name is already in use in %sbug42859.php on line 6
13