$countries = array('Germany' => 'German', 'France' => 'French', 'Spain' => 'Spanish'); $country = 'asdf'; printf("%s of our visitors are from %s.\n", array_key_exists($country, $countries) ? 'Some' : 'None', $country); ?>
%s of our visitors are from %s.