Skip to content

Instantly share code, notes, and snippets.

akwatra

Block or report user

Report or block akwatra

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@akwatra
akwatra / print_pre.php
Created Mar 12, 2018
easier and better readability with print_r and vardump for php developers
View print_pre.php
In browser debugging print_r and vardump is not enough and lots of developers have to each time wrap with <pre>
I created and using following function as set globally in bootstrap file and it makes debuggig easier and better readability
```
/**
@param $mixed mandatory any data type
@param $die optional , default true
You can’t perform that action at this time.