Stupid PHP treating '0' as empty string