How can I capture the result of var_dump to a string? How can I capture the result of var_dump to a string? php php