fQuery refuses to install, generating this error and preventing any pages from loading.

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /modules/fquery/fquery.module on line 76:

Here's line line 76 foreach ($search as &$element) {
Looks like a typo to me. can i remove the "&"?

If it's not a typo, What's the "&" do? I don't remember that from my PHP book.

Comments

cableray’s picture

Priority: Critical » Normal
Status: Active » Fixed

Oops, I thought i had php 5 running but i didn't. So it works fine with the right version. Ignore previous bug.
I'm still curious as to what the ampersand does, though.

killes@www.drop.org’s picture

Status: Fixed » Closed (fixed)