wp-includes/Text/Diff/Engine/shell.php:145Get lines from either the old or new text
$text_linesarray$line_noint$endintoptionalfalsearray function _getLines(&$text_lines, &$line_no, $end = false) { if (!empty($end)) { $lines = array(); // We can shift even more while ($line_no <= $end) { array_push($lines, array_shift($text_lines)); $line_no++; } } else { $lines = array(array_shift($text_lines)); $line_no++; } return $lines; }Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
src/wp-includes/Text/Diff/Engine/shell.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.