xref: /PHP-7.2/Zend/tests/ns_046.phpt (revision 7126de49)
1--TEST--
2046: Run-time name conflict and constants (ns name)
3--FILE--
4<?php
5namespace test\ns1;
6
7const INI_ALL = 0;
8
9var_dump(constant("test\\ns1\\INI_ALL"));
10--EXPECT--
11int(0)
12