FreeMarker模板引擎中PHP的print_r()相当于什么?

For debugging purposes, I want to be able to get a representation of an entire object passed as a parameter to a macro.

Thanks

There is a discussion on stackoverflow in similar term here: Dump all values in .vars in Freemarker

Hope this will help.