Re: Adding new closing tag =?> for keeping trailing newline
| From: | Mark Baker | Date: | Sun, 05 Jun 2022 21:54:19 +0000 |
| Subject: | Re: Adding new closing tag =?> for keeping trailing newline | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-117854@lists.php.net to get a copy of this message | ||
On 05/06/2022 10:23, shinji igarashi wrote:
I'd like to propose adding a new closing tagSo we would have 4 possible combinations that developers could apply in their code, two existing open/close settings <?php echo 1 ?> <?= 1 ?> and two new combinations, the first you explain <?= 1 =?> but also <?php echo 1 =?> What should PHP do when it encounters this combination of opening/closing tags? -- Mark Baker _________ |. \ \-3 |_J_/ PHP | || | __ | || |m| |m| I LOVE PHP=?>to the language. PHP currently removes the newline character immediately following the closing tag?>.