PHP version of ColdFusion's <cfdump>