The error I'm getting here is:
Parse error: syntax error, unexpected 'CASE' (T_CASE), expecting identifier (T_STRING) in [filename] on line 4
<?php
class PartCategories {
const CASE = 1;
const PROCESSOR = 2;
const HARD_DRIVE = 3;
const MEMORY = 4;
}
Can't say I've tried anything but for the life of me can't see what's wrong here.
Why is this a syntax error?