mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Fix deprecation warning in PHP 8.4
This commit is contained in:
parent
823b83b3da
commit
074873d844
1 changed files with 3 additions and 3 deletions
|
|
@ -124,9 +124,9 @@ class XeXmlParser
|
|||
|
||||
$this->oParser = xml_parser_create('UTF-8');
|
||||
|
||||
xml_set_object($this->oParser, $this);
|
||||
xml_set_element_handler($this->oParser, "_tagOpen", "_tagClosed");
|
||||
xml_set_character_data_handler($this->oParser, "_tagBody");
|
||||
//xml_set_object($this->oParser, $this);
|
||||
xml_set_element_handler($this->oParser, [$this, "_tagOpen"], [$this, "_tagClosed"]);
|
||||
xml_set_character_data_handler($this->oParser, [$this, "_tagBody"]);
|
||||
|
||||
xml_parse($this->oParser, $this->input);
|
||||
xml_parser_free($this->oParser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue