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