vertmonkee wrote:Strict Standards: Assigning the return value of new by reference is deprecated
This is the line of code
$xuf =& new xajaxUserFunction($xuf);
In PHP4, new xajaxUserFunction($xuf) would have returned an object, and this object would have been copied to $xuf, resulting in an unnecessary copy. As such, assigning/returning by reference was used to avoid this inefficiency. In PHP5, object variables actually hold object references, and new xajaxUserFunction($xuf) now returns an object reference, thus there is no reason to assign/return by reference.
The solution would be to change it to:
$xuf = new xajaxUserFunction($xuf);
vertmonkee wrote:Strict Standards: is_a(): Deprecated. Please use the instanceof operator
This is the line of code
if (is_a($mResult, 'xajaxRequest'))
According to the latest news, is_a() has been "undeprecated", so there is actually no problem, heh. Still, you could change it to:
if ($mResult instanceof xajaxRequest)
vertmonkee wrote:Do you mind telling me what I would need to change these to?
Notice that the error messages actually tell you roughly what to do 😉