php-src/Zend/tests/use_function/case_insensivity.phpt
2013-10-14 23:32:11 +02:00

14 lines
272 B
PHP

--TEST--
importing function with same name but different case should fail
--FILE--
<?php
namespace {
use function foo\bar;
use function foo\BAR;
}
?>
--EXPECTF--
Fatal error: Cannot use function foo\BAR as BAR because the name is already in use in %s on line %d