I get the following error for a site running Apache 2 and PHP 4.4.8
Parse error: syntax error, unexpected '=', expecting ')' in /www/httpdocs/sites/all/modules/gmap_addons/gmap_overlays/gmap_overlays.module on line 14
I don't think it's allowed to set a referenced variable to a default value in the function declaration.
Replacing the &$map=NULL with &$map results in a missing argument error on line 14, unsurprisingly.
Drew
Comments
Comment #1
bdragon commentedDuplicate of #186744: Parse error: syntax error, unexpected '=', expecting ')'.