use PHP 5.4 shorthand and micro optimizations