"I have this string: $raw = "  John.Smith@EXAMPLE.com  "; I want to normalize it: trim whitespace, lowercase it, and confirm it contains an @ symbol before using it. Write that step by step in plain PHP (no regex), and explain why you chose the order of operations you did."
