Use !empty('0') instead of strlen('0')

Thanks petrich!
More strlen() / empty() changes