Parse error: "syntax error, unexpected ';', expecting T_FUNCTION"
<p><strong>Sample Code:</strong></p>

<pre><code>Config.php:
class Config {
    public $serverIP = "1.1.1.10";
}

DB.php:
require_once "/home/mysite/PHP/Config.php";
class DB extends Config {
    //DB related functions here..
}

research.php:
require_once "/home/mysite/PHP/DB.php";
class research extends DB {
    // Using DB functions to retrieve information from the research tables.
}
</code></pre>

<p>On executing the research.php file, I am getting an error message saying:</p>

<pre><code> "Parse error: syntax error, unexpected ';', expecting T_FUNCTION in /home/mysite/PHP/research.php on line 1". 
</code></pre>

<p>I have checked every possibility that may cause this error. But I couldn't fix it. I have checked few possibilities such as <code>require_once("filepath");</code> missing braces, etc...</p>
