Projects/ Pre.php

PHP2013

Pre.php is an open source project developed out of personal necessity, which I describe as a handsome replacement for print_r & var_dump.  Debugging output in the browser is common in web development, and as is often the case with PHP, the built-in functions leave something to be desired.  Pre is a tiny Composer package that renders PHP objects in a minimally styled but maximally useful <pre> block.  It improves on built-in PHP functionality by legibly displaying data types, lengths, class visibility, NULL and boolean values.

Github/Pre.php