htmlspecialchars_decode()
htmlspecialchars_decode() is simple if you keep it on paper. Amit uses it for a htmlspecialchars_decode dry-run in a first job task.
Do htmlspecialchars_decode() once by hand. one htmlspecialchars_decode step Amit can write from memory. Change one input. Say the new result out loud.
Skip htmlspecialchars_decode() and skipping the failure case for htmlspecialchars_decode shows up in a first job task.
Use htmlspecialchars_decode() when a htmlspecialchars_decode dry-run must stay clear. If a simpler PHP step works, use that instead.
If a htmlspecialchars_decode dry-run breaks under htmlspecialchars_decode(), check skipping the failure case for htmlspecialchars_decode first.
Place htmlspecialchars_decode() next to nearby PHP work — one htmlspecialchars_decode step Amit can write from memory is the link.
Viva for htmlspecialchars_decode(): what it is → one htmlspecialchars_decode step Amit can write from memory → the mistake (skipping the failure case for htmlspecialchars_decode).
For htmlspecialchars_decode(): definition + a first job task + one failure.