<?php
// Check the end of the students/add.php file
$content = file_get_contents('students/add.php');
$lines = explode("\n", $content);
$total_lines = count($lines);

echo "Total lines: " . $total_lines . "\n";
echo "Last 5 lines:\n";

for ($i = max(0, $total_lines - 5); $i < $total_lines; $i++) {
    echo "Line " . ($i + 1) . ": " . $lines[$i] . "\n";
}
?>