I suggest that we merge this ```if``` statement with the one on line 16 and check directly if ```$name == ''```. I don't think that the ```$all``` variable makes the code more readable.