Credo che così sia più corretto:

Codice PHP:
$tipi_consentiti=array('application/pdf''application/msword');