Report question

Question: Can I define a variable in a PHP if condition?