wp-includes/SimplePie/src/XML/Declaration/Parser.php:183 public function version_name(): void { if (substr($this->data, $this->position, 7) === 'version') { $this->position += 7; $this->skip_whitespace(); $this->state = self::STATE_VERSION_EQUALS; } else { $this->state = self::STATE_ERROR; } }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/SimplePie/src/XML/Declaration/Parser.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.