Le 15/06/2011 17:54, Oleg Stepura a écrit :
Is this error triggered outside request scope?

<?php

namespace Test\FrontendBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;

class HomeController extends Controller
{
public function indexAction()
{
$ttt = tttt; // A NOTICE! No such constant: tttt - assumed string 'tttt'
// ....
}
}

Registering an error handler means that triggering an error will throw an exception, thus leaving the current execution. And the error handler does not run in the controller.

--
Christophe | Stof

--
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
To unsubscribe from this group, send email to
symfony-devs+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to