On Wed, 8 Jun 2022, 08:15 CHU Zhaowei, <m...@jhdxr.com> wrote: > > <?php > > declare(ignore_newline_after_close_tag=false); // defaults to true, i.e > > existing behavior > > > This would avoid any new syntax rules, but still provide the ability for > > php-as-template-engine to behave in the user's preferred mode. > > I thought it's a consensus on internal that we should avoid such runtime > configuration that can affect code behaviour, otherwise we have a long list > to check when we debug or ask for help. Yeah I know we already have a lot, > and it's a easy and straightforward solution to add a switch for this kind > of issues, but we should be careful to introduce a new one. (Personlly I > was a supporter for runtime configuration as well, but I'm not able to > convince myself to ignore or defeat that argument.) >
That would be a top-of-file `declare`, not a runtime configuration. >