I have defined a class like:
The script halted when it comes to the line ofPHP Code:class MyClass {
public const AAA = 10; // doesn't work here
public const BBB = 100;
// some other methods
}
Can anybody give me a clue "why"?Code:public const AAA = 10;


LinkBack URL
About LinkBacks
Reply With Quote

