[horde] Parse error: syntax error, unexpected T_FUNCTION in /www/htdocs/user/etc/git/horde/imp/config/prefs.php on line 70

Michael J Rubinsky mrubinsk at horde.org
Fri Jun 5 13:19:05 UTC 2015


Quoting OnkelM <onkelm08 at gmail.com>:

> Hello all,
>
> on a fresh git install i get this error on /test.php
>
>
> *The file config/prefs.php has PHP syntax errors:Parse error: syntax error,
> unexpected T_FUNCTION in
> /www/htdocs/user/etc/git/horde/imp/config/prefs.php on line 70*
>  The line in question is:
>
>   70     'suppress' => function() {
>   71         return !IMP_Compose::canHtmlCompose();
>
>
>
> what should i do ?

Your probably running a too old version of PHP. Nothing wrong with that line.

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20150605/aa3951a5/attachment.bin>


More information about the horde mailing list