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|
BY Best Interview Question ON 01 Feb 2019