1--TEST--
2Test possible constant naming regression on procedural scope
3--FILE--
4<?php
5
6class Obj
7{
8 const return = 'yep';
9}
10
11const return = 'nope';
12?>
13--EXPECTF--
14Parse error: syntax error, unexpected token "return", expecting identifier in %s on line %d
15