summaryrefslogtreecommitdiff
path: root/Zend/tests/ns_046.phpt
blob: d5203f14dc1ee21bc4bbde42eb22059fd5dc6f8d (plain)
1
2
3
4
5
6
7
8
9
10
11
--TEST--
046: Run-time name conflict and constants (ns name)
--FILE--
<?php
namespace test\ns1;

const INI_ALL = 0;

var_dump(constant("test\\ns1\\INI_ALL"));
--EXPECT--
int(0)