Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83336

Deprecation of xml_set_object(), and passing string method names to xml_set_*_handler methods

      https://wiki.php.net/rfc/deprecations_php_8_4#xml_set_object_and_xml_set_handler_with_string_method_names

      ➜  moodle git:(php84) gg xml_set_object
      backup/util/xml/parser/progressive_parser.class.php:        xml_set_object($this->xml_parser, $this);
      lib/adodb/adodb-xmlschema.inc.php:                                      xml_set_object( $parser,  $index );
      lib/adodb/adodb-xmlschema.inc.php:                                      xml_set_object( $parser, $data );
      lib/adodb/adodb-xmlschema.inc.php:                              xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema.inc.php:                              xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema.inc.php:                              xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema.inc.php:                              xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema.inc.php:              xml_set_object( $xmlParser, $this );
      lib/adodb/adodb-xmlschema.inc.php:                              xml_set_object( $parser, $this->obj );
      lib/adodb/adodb-xmlschema.inc.php:                                      xml_set_object( $parser, $this->obj );
      lib/adodb/adodb-xmlschema03.inc.php:                                    xml_set_object( $parser,  $index );
      lib/adodb/adodb-xmlschema03.inc.php:                                    xml_set_object( $parser, $data );
      lib/adodb/adodb-xmlschema03.inc.php:                            xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema03.inc.php:                            xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema03.inc.php:                            xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema03.inc.php:                            xml_set_object( $parser, $this->parent );
      lib/adodb/adodb-xmlschema03.inc.php:            xml_set_object( $xmlParser, $this );
      lib/adodb/adodb-xmlschema03.inc.php:                            xml_set_object( $parser, $this->obj );
      lib/adodb/adodb-xmlschema03.inc.php:                                    xml_set_object( $parser, $this->obj );
      lib/dtl/xml_database_importer.php:        xml_set_object($parser, $this);
      lib/phpxmlrpc/Helper/XMLParser.php:        xml_set_object($parser, $this);
      lib/simplepie/src/Parser.php:            xml_set_object($xml, $this);
      lib/tcpdf/tcpdf.php:            xml_set_object($parser, $this);
      lib/webdavlib.php:                        xml_set_object($this->_parser, $this);
      lib/webdavlib.php:                        xml_set_object($this->_parser, $this);
      lib/webdavlib.php:                        xml_set_object($this->_parser, $this);
      mnet/xmlrpc/xmlparser.php:        xml_set_object($this->parser, $this);
      mod/scorm/datamodels/scormlib.php:        xml_set_object($this->resparser, $this);
      

      Also many uses for xml_set_*_handler using string methods, including in:

      • lib/adodb/adodb-xmlschema.inc.php
      • lib/adodb/adodb-xmlschema03.inc.php
      • lib/dtl/xml_database_importer.php
      • lib/phpxmlrpc/Helper/XMLParser.php
      • lib/phpxmlrpc/Server.php
      • lib/simplepie/src/Parser.php
      • lib/tcpdf/tcpdf.php
      • lib/webdavlib.php
      • mnet/xmlrpc/xmlparser.php
      • mod/scorm/datamodels/scormlib.php

            dobedobedoh Andrew Lyons
            dobedobedoh Andrew Lyons
            Huong Nguyen Huong Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 59 minutes
                59m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.