wp-includes/SimplePie/src/Decode/HTML/Entities.php:131Consume a range of characters
$charsstringmixed public function consume_range($chars) { if ($len = strspn($this->data, $chars, $this->position)) { $data = substr($this->data, $this->position, $len); $this->consumed .= $data; $this->position += $len; return $data; } return false; }One change between 6.7.7 and 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
mixed to string|false.verified against sourcesrc/wp-includes/SimplePie/src/Decode/HTML/Entities.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.