Changeset [d71eed403595ff54da919f2433fef49a7f6125a8] by kematzy

October 8th, 2010 @ 04:19 PM

Added debug() function.

Sometimes you just need to know what's going on inside a variable
and this helps.

Instead of writing <?php echo var_export($variable, true); ?>,
you can now write just <?php echo debug($variable); ?> and get
a more sophisticated output.

Concept taken from RubyOnRails by DHH.
http://github.com/sofadesign/limonade/commit/d71eed403595ff54da919f...

Committed by kematzy

  • M lib/limonade.php
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Limonade is a PHP micro-framework.