php-src/Zend/tests/bug42859.phpt

13 lines
261 B
Plaintext
Raw Normal View History

--TEST--
Bug #42859 import always conflicts with internal classes
--FILE--
<?php
namespace Foo;
class Ex {}
2007-11-07 09:13:50 +00:00
use Blah::Exception;
use Blah::Ex;
?>
--EXPECTF--
2007-11-12 17:52:15 +00:00
Fatal error: Cannot use Blah::Ex as Ex because the name is already in use in %sbug42859.php on line 6