xref: /php-src/Zend/tests/constants_004.phpt (revision edf22962)
1--TEST--
2Trying to redeclare constant inside namespace
3--FILE--
4<?php
5
6namespace foo;
7
8const foo = 1;
9const foo = 2;
10
11?>
12--EXPECTF--
13Warning: Constant foo\foo already defined in %s on line %d
14