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--EXPECTF--
13Parse error: syntax error, unexpected 'return' (T_RETURN), expecting identifier (T_STRING) in %s on line 8
14