PDA

View Full Version : Call-time pass-by-reference has been deprecated


b00k
11-13-2008, 09:02 PM
-----------

Dismounted
11-14-2008, 03:04 AM
Those are warnings, and can be disregarded. If you see those on a page accessed through a web browser, then your PHP configuration's error level setting is not appropriate.

b00k
11-14-2008, 03:12 AM
-----------

Dismounted
11-14-2008, 03:16 AM
Call time pass-by-ref is when you call a function, and in front of an (variable) argument you add "&", passing the variable by reference. As the error suggests, you can fix this by removing the "&", and changing the function declaration to automatically fetch the argument by reference.

Alternatively, enable call time pass-by-reference as mentioned in the error.

b00k
11-14-2008, 03:22 AM
-----------