summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_050.phpt
blob: 33be1b7f243361900b367f04c185267da0c01668 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--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)