A really nice snippet

Posted on 2010/07/21 by Randall.
Categories: Uncategorized.

Some PHP code to handily get at the things in an array:

print_r(compact(explode(' ', 'count acw cols coldepth')));
?>

I suppose var_dump() and print_r() can do something like this but maybe not…

no comments yet.

Leave a comment

Names and email addresses are required (email addresses aren't displayed), url's are optional.

Comments may contain the following xhtml tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>