From: Fabien Potencier Date: Thu, 8 Nov 2012 06:21:48 +0000 (+0100) Subject: merged branch char101/optimize-strict-vars-php54 (PR #893) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=2fb6a914ced878db0126ce8f0a130e2eb19f85f2;p=web%2Fkonrad%2Ftwig.git merged branch char101/optimize-strict-vars-php54 (PR #893) This PR was squashed before being merged into the master branch (closes #893). Commits ------- f397a8f Use ternary operator with PHP 5.4 when strict_variables is true Discussion ---------- Use ternary operator with PHP 5.4 when strict_variables is true When strict variables is true, and using PHP 5.4, we can still use the ternary operator to optimize performance. --- 2fb6a914ced878db0126ce8f0a130e2eb19f85f2