Difference between break; and continue; in PHP

By Josh Sherman
2 min read
development
php

The topic of break and continue came up the other day and I thought it would make for a good blog post. You’re probably familiar with break moreso than continue because it is part of a switch statement’s syntax. Both break and continue can also be used inside of looping […]

Review: Sprint WeGo

By Josh Sherman
5 min read
reviews

A few months back when I picked up a Nexus 5 for myself, I decided to go ahead and get our 7-year-old daughter the Sprint WeGo phone. For those that are not familiar with the device, it’s a very basic telephone that comes standard with some great parental features. These […]

PHP without fancy braces

By Josh Sherman
3 min read
development
php

PHP is a C-style language and thus uses fancy braces to wrap or hug control structures. PHP is also a language that is extremely flexible so you can also get by without using fancy braces. You will never get away from them entirely as functions and classes / class methods […]

Tools of the Trade - 2014

By Josh Sherman
10 min read
reviews

It was February 18th, 2011, a week before my 30th birthday that my answers to AppSumo’s Tools of the Trade questionnaire were posted. A metric shit ton has changed since then - new jobs, new hardware, new software. At the same time, some things never change. This post is the […]

Debugging SimpleXML Objects with PHP

By Josh Sherman
1 min read
development
php

SimpleXML is pretty much the de facto standard for dealing with XML in PHP. The biggest problem with SimpleXML is that it is a pseudo-object that you can’t print_r() or var_dump() to see what’s going on. I recently ran into a situation where it would have been super nice to […]