I hadn't noticed that. My php.ini was set to on, changing it to off gave the
warning.
Having changed:
xml_set_object($this->parser,&$this);
to:
xml_set_object($this->parser,$this);
Stops the warning and the parser works fine.
This is the class I'm using and it works fine:
class parse_words_xml
Unfortunately, the xml_set_object function does not work to solve this
problem. I tried using it, and my results were the same as they were when I
was not using it.
[I found that the array($this, 'function_name') method instead of 'string
function_name' for the xml_set_*_handler functions worked
2 matches
Mail list logo