sha1_file()
Priya only reaches for sha1_file() when sha1_file on Priya's board has to stay correct in a viva board.
For sha1_file(), the PHP runtime is in play. Don’t blame it until you have traced sha1_file on Priya's board.
sha1_file() exists so Priya can keep sha1_file on Priya's board correct in a viva board.
sha1_file() shows up in a viva board. Name sha1_file on Priya's board, not “a real-world scenario”.
sha1_file() miss — only reciting the name of sha1_file. Fix it before you talk about advanced PHP.
After sha1_file(), Priya should still remember only reciting the name of sha1_file.
One breath for sha1_file(), then sha1_file on Priya's board, then only reciting the name of sha1_file. Sit down.
For sha1_file(): definition + a viva board + one failure.