**Symfony version(s) affected**: all **Description** If you put the following in a Twig template: ```twig {{ render_hinclude(controller('...'), {'default': 'Loading...'}) }} ``` The `Loading...` text is used as a fallback content (as explained in https://symfony.com/doc/3.4/templating/hinclude.html). However, if you enable the PHP engine in the app: ```yaml framework.templating.engines: ['twig', 'php'] ``` Then, the Twig template no longer works and instead you see this error: ``` An exception has been thrown during the rendering of a template ("Template name "Loading..." contains invalid characters."). ``` **Additional context** Originally reported by @liviubalan as a doc issue: https://github.com/symfony/symfony-docs/issues/9790