While coding, i sometimes make the error of writing a single = instead of == in an if-statement. So lets say i have this:
Just change the order to this:
if('jan' == $name) {
This is known under Yoda conditions:
So if you now make the mistake:
if('jan' = $name) {
This will give you an error!