hero080
New Member
- Messages
- 16
- Reaction score
- 0
- Points
- 0
I have defined a class like:
The script halted when it comes to the line of
Can anybody give me a clue "why"?
PHP:
class MyClass {
public const AAA = 10; // doesn't work here
public const BBB = 100;
// some other methods
}
Code:
public const AAA = 10;