Loading…

What is the difference between YII & YII2?

S.no Yii 1 Yii 2
1. Server PHP 5.2 Server PHP 5.4
2. Prefix C used. Classes were global namespaces. C prefix not used in namespaces. Classes based on directory structure.
3. Uses PHP as a primary template language Equipped with PHP, TWIG, and SMARTY

Suggest An Answer

No suggestions avaliable!

Latest post from Yii 2 interview questions

Ask Question