i have installed Symfony 2.7.41 and enabled production mode in app.php
$kernel = new AppKernel('prod', false);
when i tested in controller by making one eror
public function indexAction(Request $request)
{
echo "dsgds";
$var=dd;
exit();
}
but even in production showing erorr instead of 500 internal server error
dsgds Notice: Use of undefined constant dd - assumed 'dd' in D:\xampp\htdocs\weebly\development-two\src\AppBundle\Controller\DefaultController.php on line 17
Already read following Dev Exceptions are shown in production environment
Moving app to production mode in Symfony 2