I am receiving the following parse error on line 16: 'syntax error, unexpected T_STRING'. That being said, the following block of codes parses correctly with PHP 5.4.16, however, does not parse correctly with PHP 4.4.9. Thoughts?
To me, the error is suggesting that the interface keyword was not supported in PHP 4.4.9, however, I could not find that in PHP's change log.
interface iA { // line 16
public function methodA();
public function methodB();
public function methodC();
}
EDIT (providing full snippet)
<?php
// a comment.
// a comment.
// a comment.
// a comment.
// a comment.
// a comment.
// a comment.
if (!defined('PRODUCT_ENV')) {
exit;
}
// a comment.
interface iA {
public function methodA();
public function methodB();
public function methodC();
}
include(PRODUCT_PWD . PRODUCT_IMPLES . 'anotherfile.php');