Question: what is the difference between $variable = 1 and $variable == 1?
Answer: A variable holds a value that can be a string, a number, or other data. $variable = 1 is an assignment statement, whereas $variable == 1 is a comparison operator.