<?php
namespace Foo
{
const MAX = 1;
function somethig ($param)
{
var_dump($param);
}
class MAX
{
public $property;
}
}
namespace Bar
{
use const Foo\MAX;
class Barek
{
}
}
Parse error: syntax error, unexpected 'const' (T_CONST), expecting identifier (T_STRING) or \\ (T_NS_SEPARATOR) in /in/ufnAJ on line 20
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_CONST, expecting T_STRING or T_NS_SEPARATOR in /in/ufnAJ on line 20
Process exited with code 255.