mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-25 15:54:26 +00:00
Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this.
Props jdgrimes. See #25160. git-svn-id: https://develop.svn.wordpress.org/trunk@25254 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -133,8 +133,8 @@ class testXMLParser {
|
||||
$this->xml = xml_parser_create();
|
||||
xml_set_object($this->xml, $this);
|
||||
xml_parser_set_option($this->xml,XML_OPTION_CASE_FOLDING, 0);
|
||||
xml_set_element_handler($this->xml, array(&$this, 'startHandler'), array(&$this, 'endHandler'));
|
||||
xml_set_character_data_handler($this->xml, array(&$this, 'dataHandler'));
|
||||
xml_set_element_handler($this->xml, array($this, 'startHandler'), array($this, 'endHandler'));
|
||||
xml_set_character_data_handler($this->xml, array($this, 'dataHandler'));
|
||||
$this->parse($in);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user