symfony/symfony — Issue #3541: crash with php5.3.10 on windows
Author: Somatt
Created: 2012-03-09 15:31:28+00:00
State: open

Sites crash with no php or apache error message when using php5.3.10 on windows.
This doesn't happen with php5.3.8

I've narrowed it down to commit 851eb737784b06619485c844882e98c800a8f7fb which removed the "use Symfony\Component\DependencyInjection\ContainerInterface;" line in vendor/symfony/Bundle/TwigBundle/TwigEngine.php.

Re-adding this line in the current version of TwigEngine.php is enough to prevent the crash (commit 4bb65c7057770aa81fa3eb6b4fa6b7f8aaf37bd0 )

I don't know why this happens, but I'd say it's worth fixing.