Closed (fixed)
Project:
fQuery
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2007 at 00:35 UTC
Updated:
11 May 2007 at 12:31 UTC
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
Comment #1
cableray commentedOops, 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.
Comment #2
killes@www.drop.org commented