On 05/06/2022 10:23, shinji igarashi wrote:
I'd like to propose adding a new closing tag `=?>` to the language.

PHP currently removes the newline character immediately following
the closing tag `?>`.

So 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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to