puoi usare if $stringa='';

oppure if(strlen($stringa)<1)

i modi ci sono