Variable Dumping Post Requests in PHP

var_dump
This is a brilliant way to dump variables to a webserver’s error log in
The
source of this code snippet.
This is especially helpful when experimenting with POST
requests in barebone environments.
<?php
ob_start();
var_dump($this);
error_log(ob_get_clean());