Php Check If Array Of Pointers To Strings