erebusnz / gapi-google-analytics-php-interface

GA:PI() - Google Analytics PHP Interface
167 stars 86 forks source link

Parse Error line 277 gapi.class.php #117

Closed webferas closed 9 years ago

webferas commented 9 years ago

Parse error: syntax error, unexpected T_FUNCTION in /home/public_html/gapi.class.php on line 277

erebusnz commented 9 years ago

Since v2.0.0 version, minimum PHP requirement is PHP 5.3.0 due to use of anonymous functions.

It would be possible to re-write GAPI to work with old versions but not recommended, PHP does not support versions earlier 5.3 any longer and does not provide security updates.

Please upgrade your version of PHP.