production&development environment

[size="3"]What is the difference between production environment and development environment in yii with example?[/size]