1--TEST--
2Attempting to define exit constant in a namespace
3--FILE--
4<?php
5
6namespace Foo;
7
8const exit = 5;
9
10var_dump(exit);
11
12?>
13--EXPECTF--
14Parse error: syntax error, unexpected token "exit", expecting identifier in %s on line %d
15