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

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -