<?php
$words = array(, , , , , , );

function canMakeWord($word) {
    $word = strtoupper($word);
    $blocks = array(
            , , , , ,
            , , , , ,
            , , , , ,
            , , , , ,
    );

    foreach (str_split($word) as $char) {
        foreach ($blocks as $k => $block) {
            if (strpos($block, $char) !== FALSE) {
                unset($blocks[$k]);
                continue(2);
            }
        }
        return false;
    }
    return true;
}

foreach ($words as $word) {
    echo $word.': ';
    echo canMakeWord($word)?  : ;
    echo ;
}