1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00
Files
archived-php-src/Zend/tests/constants/constants_007.phpt
DanielEScherzer a50f82bebf Zend/tests: organize some tests with sub directories (6) (#17807)
Move more tests into existing directories

Work towards GH-15631
2025-02-15 14:55:07 +00:00

23 lines
227 B
PHP

--TEST--
Testing const names
--FILE--
<?php
const a = 'a';
const A = 'b';
class a {
const a = 'c';
const A = 'd';
}
var_dump(a, A, a::a, a::A);
?>
--EXPECT--
string(1) "a"
string(1) "b"
string(1) "c"
string(1) "d"