Welcome Guest, Not a member yet? Register   Sign In
ERROR : allow_call_time_pass_reference
#2

[eluser]BrianDHall[/eluser]
Easy enough, just an esoteric meaning:

Code:
// this is the right way to pass by reference, in the function definition
function foo(&$var)
{
    $var++;
}

$var = 1;

// This is ok!
foo($var);

// This, however, will throw an error
foo(&$var);

In short, you are to define a function to accept a parameter by reference - it should be by design of the function to alter directly whatever it was passed. It is NOT ok to decide something should be passed by reference at "call time", when you actually use the function.

So on your Phxview.php on line 132 I presume you will find an & symbol - simply remove it.


Messages In This Thread
ERROR : allow_call_time_pass_reference - by El Forum - 11-02-2009, 09:49 PM
ERROR : allow_call_time_pass_reference - by El Forum - 11-02-2009, 10:01 PM
ERROR : allow_call_time_pass_reference - by El Forum - 11-03-2009, 02:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB