Powerz Posted February 24, 2012 Share Posted February 24, 2012 Hello all I just got some errors in my script This is it: Deprecated: Call-time pass-by-reference has been deprecated in cls_xml.php on line 61 Deprecated: Call-time pass-by-reference has been deprecated in cls_xml.php on line 164 Deprecated: Call-time pass-by-reference has been deprecated in cls_xml.php on line 316 This is my script lines 61 : xml_set_object($this->parser, &$this); 164: array_push($toreturn, &$this->ownerDocument->nodes[$i]); 316: $text=trim(&$this->ownerDocument->nodes[$j]->text); What can be the problem for this error.What can cause it. thank you in advance for your help Link to comment https://forums.phpfreaks.com/topic/257722-call-time-pass-by-reference-problem/ Share on other sites More sharing options...
scootstah Posted February 24, 2012 Share Posted February 24, 2012 Remove the "&"s. Link to comment https://forums.phpfreaks.com/topic/257722-call-time-pass-by-reference-problem/#findComment-1320925 Share on other sites More sharing options...
Powerz Posted February 24, 2012 Author Share Posted February 24, 2012 Oh Thank you :D Link to comment https://forums.phpfreaks.com/topic/257722-call-time-pass-by-reference-problem/#findComment-1320938 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.