PHP 5.2 compatibility (ternary operator)

PHP 5.2 does not support the dyadic form of the ternary operator (`expr1 ?: expr2`).  This single instance is the only compatibility problem with PHP 5.2 I've run into so far.