{"id":6827,"date":"2014-04-23T08:10:20","date_gmt":"2014-04-23T08:10:20","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/hiphop-fatal-error-syntax-error-unexpected-t_class-collection-of-common-programming-errors\/"},"modified":"2014-04-23T08:10:20","modified_gmt":"2014-04-23T08:10:20","slug":"hiphop-fatal-error-syntax-error-unexpected-t_class-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/23\/hiphop-fatal-error-syntax-error-unexpected-t_class-collection-of-common-programming-errors\/","title":{"rendered":"HipHop Fatal error: syntax error, unexpected T_CLASS-Collection of common programming errors"},"content":{"rendered":"<p>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<\/p>\n<pre><code>HipHop Fatal error: syntax error, unexpected T_CLASS in \/var\/www\/www.unbiasly.com\/libraries\/prodigyview\/data\/PVStaticPatterns.php on line 116\n<\/code><\/pre>\n<p>Line 116 is this class here:<\/p>\n<p>https:\/\/github.com\/ProdigyView\/ProdigyView-Core\/blob\/master\/data\/PVStaticPatterns.php#L116<\/p>\n<p>Is there something different about the Reflection class in HHVM? Is it running on an older version of PHP? Can&#8217;t make heads or tails of the T_CLASS error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6827","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6827","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6827"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6827\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6827"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6827"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6827"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}