str_replace()
Priya only reaches for str_replace() when str_replace on Priya's board has to stay correct in a small live site.
Do str_replace() once by hand. one str_replace step Priya can write from memory. Change one input. Say the new result out loud.
Skip str_replace() and copy-pasting str_replace without a dry-run shows up in a small live site.
str_replace() shows up in a small live site. Name str_replace on Priya's board, not “a real-world scenario”.
If str_replace on Priya's board breaks under str_replace(), check copy-pasting str_replace without a dry-run first.
After str_replace(), Priya should still remember copy-pasting str_replace without a dry-run.
Close str_replace() with: “If I skip it, str_replace on Priya's board goes wrong like this: copy-pasting str_replace without a dry-run.”
Say str_replace() in one breath, then one str_replace step Priya can write from memory, then copy-pasting str_replace without a dry-run.