php-src/Zend/tests/bug42859.phpt
2008-05-14 13:04:05 +00:00

13 lines
263 B
PHP
Executable File

--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