Skip to content

Month: September 2018

PHP Pretty Dump Function

PHP pretty dump function After using this, you will never go back to var_dump or print_r anymore. That alone says a thousand words. public static function pretty_dump($array) { echo ‘<pre>’ . var_export($array, true) . ‘</pre>’; }  
Enjoyed the content ? Share it with your friends !