PHP error message on init.php -



PHP error message on init.php -

i'm using 000webhost.com , uploaded of coding in it. error shows when seek open website:

parse error: syntax error, unexpected t_function, expecting ')' in /home/a4350293/public_html/core/init.php on line 25

this line on init.php:

spl_autoload_register(function($class) { require_once 'classes/' . $class . '.php'; });

can tell me error is? can't seem find it. thanks, help appreciated. link website: http://educationexperts.host56.com/

i had quick , appears "000webhost.com" runs php 5.2.

reference

this not because php 5.2 no longer supported. must find web host supports later version of php. preferably 5.4 5.3 has reached it's eol (end of life).

php syntax-error

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -