php-src/Zend/tests/ns_051.phpt

14 lines
179 B
Plaintext
Raw Normal View History

2007-08-24 13:50:52 +00:00
--TEST--
051: Name conflict and compile-time constants (php name)
--FILE--
<?php
2008-12-04 20:12:30 +00:00
namespace test\ns1;
2007-08-24 13:50:52 +00:00
function foo($x = INI_ALL) {
2020-02-03 21:52:20 +00:00
var_dump($x);
2007-08-24 13:50:52 +00:00
}
foo();
?>
2007-08-24 13:50:52 +00:00
--EXPECT--
int(7)