Project:GMap Addons
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (duplicate)

Issue Summary

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

#1

Status:active» closed (duplicate)

Duplicate of #186744: Parse error: syntax error, unexpected '=', expecting ')'.