1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 06:51:18 +02:00
Files
archived-php-src/Zend/tests/ns_052.phpt
Máté Kocsis 7aacc705d0 Add many missing closing PHP tags to tests
Closes GH-5958
2020-08-09 22:03:36 +02:00

16 lines
226 B
PHP

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