diff options
Diffstat (limited to 'Zend/tests/bug42859.phpt')
| -rwxr-xr-x | Zend/tests/bug42859.phpt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Zend/tests/bug42859.phpt b/Zend/tests/bug42859.phpt new file mode 100755 index 0000000000..6464f9b4c7 --- /dev/null +++ b/Zend/tests/bug42859.phpt @@ -0,0 +1,12 @@ +--TEST-- +Bug #42859 import always conflicts with internal classes +--FILE-- +<?php +namespace Foo; +class Ex {} + +import Blah::Exception; +import Blah::Ex; +?> +--EXPECTF-- +Fatal error: Import name 'Ex' conflicts with defined class in %sbug42859.php on line 6
\ No newline at end of file |
