Parse error: syntax error, unexpected T_FUNCTION, expecting ')'
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/3723748/php-version-5-2-14-parse-error-syntax-error-unexpected-t-function-expecting">PHP Version 5.2.14 / Parse error: syntax error, unexpected T_FUNCTION, expecting &#39;)&#39;</a>  </p>
</blockquote>



<p>So i've been editing my site and everything after i finally got my login/register to work.
Then i uploaded everything through filezilla, i go to my site and i get the error i put in the title! How come under localhost/my/index.php i see everything fine without errors.
Then when uploaded to my webhost i get an error! WTF M8!</p>

<p>Tell me what i need to provide you with and i will do it, this is really making me mad, i spent forever making my script work, then i upload it and realize this?!!? I mean, come on now can anyone help me out? :D</p>

<p>Error on line 78:
Line 78: spl_autoload_register(function($class) {</p>
