What is the php equiv of the following test for a null string value

Code:
$value = somefuntion($A, $B)

if not($value) then
   * string is empty do processing
else
   * string has a value rock on dude
end
TIA and go Fiji this evening ....