xref: /PHP-5.3/Zend/tests/constants_007.phpt (revision 77e7f1c1)
1--TEST--
2Testing const names
3--FILE--
4<?php
5
6const a = 'a';
7const A = 'b';
8
9
10class a {
11	const a = 'c';
12	const A = 'd';
13}
14
15var_dump(a, A, a::a, a::A);
16
17?>
18--EXPECT--
19string(1) "a"
20string(1) "b"
21string(1) "c"
22string(1) "d"
23