Using less intermediate arrays in Phalcon\Tag::renderAttributes