PHP Classes

Problems with PHP 5

Recommend this page to a friend!

      Path Parser  >  All threads  >  Problems with PHP 5  >  (Un) Subscribe thread alerts  
Subject:Problems with PHP 5
Summary:PHP 5 throws a Call-time pass-by-reference has been deprecated
Messages:1
Author:Alex Judd
Date:2008-10-10 17:30:37
 

  1. Problems with PHP 5   Reply   Report abuse  
Picture of Alex Judd Alex Judd - 2008-10-10 17:30:37
Remove the & from line 49 in class_path_parser.php

xml_set_object($this->parser,&$this);

so that it becomes

xml_set_object($this->parser,$this);

as the reference to the second parameter rather then the value should be declared in the function