Rewrite $a ?: $b to empty($a) ? $b : $a if $a is a variable

The patch for this RFC: https://wiki.php.net/rfc/isset_ternary
OK, I didn't realize that. Within the context of RFC it makes sense. I'd support that for PHP 7.