Yes, p() will convert everything to a string including tables.