Я пишу метод отладки.
У меня есть
if(is_xxx($item)){ //echo output info for type } what I want to do at the end is if(can_be_string($item)) echo $item;
Есть ли функция типа can_be_string ?
can_be_string