str_getcsv()
str_getcsv() is simple if you keep it on paper. Amit uses it for Amit walking through str_getcsv in a viva board.
For str_getcsv(), the PHP runtime is in play. Don’t blame it until you have traced Amit walking through str_getcsv.
str_getcsv() exists so Amit can keep Amit walking through str_getcsv correct in a viva board.
Amit ships str_getcsv() in a viva board. That is the use case worth saying.
str_getcsv() miss — skipping the failure case for str_getcsv. Fix it before you talk about advanced PHP.
After str_getcsv(), Amit should still remember skipping the failure case for str_getcsv.
One breath for str_getcsv(), then Amit walking through str_getcsv, then skipping the failure case for str_getcsv. Sit down.
Board: Amit walking through str_getcsv. Dry-run str_getcsv(). Name the trap: skipping the failure case for str_getcsv.