wp-includes/class-wp-comment.php:303Converts object to array.
array<string, public function to_array(): array { /** @var Data_Array $comment */ $comment = get_object_vars( $this ); return $comment; }Introduced in 4.4.0. One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
array to array<string,.verified against sourcesrc/wp-includes/class-wp-comment.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.