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--EXPECT-- 23declare 24return 25function 26use 27use 28 29Done 30