This approach using in general to avoid mistakes like `$var = null` instead of `$var == nul`. But as for me, this is not easy to unsderstand.