stripos()
Sara only reaches for stripos() when Sara walking through stripos has to stay correct in a small live site.
Do stripos() once by hand. one stripos step Sara can write from memory. Change one input. Say the new result out loud.
Without stripos(), a small live site gets messy and Sara walking through stripos is hard to trust.
Use stripos() when Sara walking through stripos must stay clear. If a simpler PHP step works, use that instead.
stripos() trap — copy-pasting stripos without a dry-run. Sara loses marks for that every viva.
Place stripos() next to nearby PHP work — one stripos step Sara can write from memory is the link.
Viva for stripos(): what it is → one stripos step Sara can write from memory → the mistake (copy-pasting stripos without a dry-run).
Say stripos() in one breath, then one stripos step Sara can write from memory, then copy-pasting stripos without a dry-run.