Req #76222 [Opn->Fbk]: add use empty tag <?= ?>
| From: | cmb@php.net | Date: | Sat, 14 Apr 2018 23:12:00 +0000 |
| Subject: | Req #76222 [Opn->Fbk]: add use empty tag <?= ?> | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-214751@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76222&edit=1
ID: 76222
Updated by: cmb@php.net
Reported by: koreshs at mail dot ru
Summary: add use empty tag <?= ?>
-Status: Open
+Status: Feedback
Type: Feature/Change Request
-Package: PHP Language Specification
+Package: Scripting Engine problem
PHP Version: 7.2.4
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Isn't something like <https://3v4l.org/09AB3> even
more nice,
since it actually prints a dummy text?
Previous Comments:
------------------------------------------------------------------------
[2018-04-14 22:33:55] koreshs at mail dot ru
Description:
------------
Please add the use of empty tags <?= ?>.
At design time, you often need to comment on values and variables. Use the tag <?= $val ?>
possible. But use the tag <?= //$var ?> cause an error. But the tag itself <?= ?> a
fundamental principle of language for the creation of the website, as the script needs to output the
values and variables. Please finish the tag and bring it to mind.
Test script:
---------------
<?= //$val ?>
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76222&edit=1