DEV Community

Discussion on: PHP - please do not use ! and empty() if you can help it

Collapse
 
aleksikauppila profile image
Aleksi Kauppila

More explicit checks make the code more readable and remove ambiguity early and not just pass the confusion down the stack πŸ‘

Still, understanding how $apiβ€”>get() behaves is our first priority. If it’s unreliable, we may have to adapt it to something more reliable.