Archive | February, 2010

Utilizing PHP’s print_r() function

This is just a quick tip, but ever since discovering it I use it constantly. A lot of developers use PHP’s print_r() function to display human-readable information about a variable, which makes it great for debugging arrays and objects (among other things) very quickly. However, you have to wrap the output in <pre></pre> tags otherwise [...]

Continue Reading

Sites Merged, New WordPress Site!

It’s been a few years in the making, but I’ve finally moved my blog from shatteredreality.com to mikebranski.com, and I’m working on updating the photography content that was here originally – for now it’s available at http://mikebranski.com/v1/. When it came down to it, it was just too much work trying to keep three sites up [...]

Continue Reading