Re: [RFC] Pure-code source files via the .phpc extension

From: Date: Thu, 18 Jun 2026 03:12:17 +0000
Subject: Re: [RFC] Pure-code source files via the .phpc extension
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-131357@lists.php.net to get a copy of this message
On 2026-06-17 11:02, Sarina Corrigan wrote:
It would at least solve the problem of accidental output prior to the opening tag, though I'm not sure how big of a problem that really is. I'm not sure it would even solve the problem. It's surely very easy to spot bogus output when the opening <?php is missed in a pure-code file (even before the file is saved if the editor is highlighting syntax). There is a much better chance of missing the tag in the middle of a template file - perhaps on a code path that isn't always taken - down where a lot of similar punctuation is already happening.


« previous php.internals (#131357) next »