Replaced the slow function call array_push() with the ordinary way of element addition
Put some function calls outside of foreach iteration
replaced an array_push function call with an ordinary statement
Revert "Replaced the slow function call array_push() with the ordinary way of element addition"

This reverts commit 3f998f0fccd09596ba7ea6b48aec486d2065d034.
Merge branch 'master' of https://github.com/and-ers/yii
replaced an array_push function call with an ordinary statement
Merge branch 'master' of https://github.com/and-ers/yii
Revert "Replaced the slow function call array_push() with the ordinary way of element addition"

This reverts commit 3f998f0fccd09596ba7ea6b48aec486d2065d034.
replaced an array_push function call with an ordinary statement
Merge branch 'master' of https://github.com/and-ers/yii
Revert "Put some function calls outside of foreach iteration"

This reverts commit 5cb09af8ada26eedf61418540f8a66128d98da12.
Merge pull request #1917 from and-ers/master

array_push optimizations