Variable Dumping Post Requests in PHP
This is a brilliant way to dump variables to a webserver’s error log in
POST
requests in barebone environments.
php
<?php
ob_start();
var_dump($this);
error_log(ob_get_clean());
This is a brilliant way to dump variables to a webserver’s error log in
POST
requests in barebone environments.
php
<?php
ob_start();
var_dump($this);
error_log(ob_get_clean());
— Written
— Updated
— Creator
— Article