1--TEST--
2Test to ensure const list syntax declaration works
3--FILE--
4<?php
5
6class Obj
7{
8    const DECLARE = 'declare',
9          RETURN = 'return',
10          FUNCTION = 'function',
11          USE = 'use';
12}
13
14echo Obj::DECLARE, PHP_EOL;
15echo Obj::RETURN, PHP_EOL;
16echo Obj::FUNCTION, PHP_EOL;
17echo Obj::USE, PHP_EOL;
18echo Obj::
19
20    USE, PHP_EOL;
21echo "\nDone\n";
22?>
23--EXPECT--
24declare
25return
26function
27use
28use
29
30Done
31