What version of Yii are you running?

Ever been half way through a Yii development and thought “I wonder what version of yii am I using?”

Finding out is as simple as sticking the following link into your page…

print Yii::getVersion();

Wonder no more as the currently used version will be right before your eyes!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>