HipHop Fatal error: syntax error, unexpected T_CLASS-Collection of common programming errors

I am trying to make a framework work for HHVM, but I am running into this weird error that only occurs in Hip-Hop HHVM. The same error only occurs in versions of PHP 5.2 and lower. The full error is

HipHop Fatal error: syntax error, unexpected T_CLASS in /var/www/www.unbiasly.com/libraries/prodigyview/data/PVStaticPatterns.php on line 116

Line 116 is this class here:

https://github.com/ProdigyView/ProdigyView-Core/blob/master/data/PVStaticPatterns.php#L116

Is there something different about the Reflection class in HHVM? Is it running on an older version of PHP? Can’t make heads or tails of the T_CLASS error.