wp-includes/SimplePie/src/Net/IPv6.php:140Splits an IPv6 address into the IPv6 and IPv4 representation parts
$ipstringSimplePie\Net\array{string, private static function split_v6_v4(string $ip): array { if (strpos($ip, '.') !== false) { $pos = strrpos($ip, ':'); assert($pos !== false, 'For PHPStan: IPv6 address must contain colon, since split_v6_v4 is only ever called after uncompress.'); $ipv6_part = substr($ip, 0, $pos); $ipv4_part = substr($ip, $pos + 1); return [$ipv6_part, $ipv4_part]; } return [$ip, '']; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
array to SimplePie\Net\array{string,.verified against sourcesrc/wp-includes/SimplePie/src/Net/IPv6.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.