php-src/Zend/tests/ns_050.phpt
2020-08-09 22:03:36 +02:00

16 lines
198 B
PHP

--TEST--
050: Name conflict and compile-time constants (ns name)
--FILE--
<?php
namespace test\ns1;
const INI_ALL = 0;
function foo($x = INI_ALL) {
var_dump($x);
}
foo();
?>
--EXPECT--
int(0)