When to use empty in PHP? I’d say neverI realized that I am very strict about the use of PHPs empty function in code review. There isn’t really any reason to use it in my opinion: