Req #76222 [Asn->Wfx]: add use empty tag <?= ?>

From: Date: Mon, 16 Apr 2018 20:34:14 +0000
Subject: Req #76222 [Asn->Wfx]: add use empty tag <?= ?>
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214770@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: requinix@php.net Reported by: koreshs at mail dot ru Summary: add use empty tag <?= ?> -Status: Assigned +Status: Wont fix Type: Feature/Change Request Package: Scripting Engine problem PHP Version: 7.2.4 -Assigned To: cmb +Assigned To: Block user comment: N Private report: N New Comment: <?= "" //$val ?> If you want to push for this change to the language then use the RFC process. https://wiki.php.net/rfc/howto Previous Comments: ------------------------------------------------------------------------ [2018-04-16 20:26:13] koreshs at mail dot ru You do not understand!. Required work without error NOT <?= 'Example' //Example ?>. Requires error - free operation for <?= // ?> and <?= //Example ?> and <?= ?>. Script itself <?= ?> should not cause errors. ------------------------------------------------------------------------ [2018-04-14 23:11:59] cmb@php.net Isn't something like <https://3v4l.org/09AB3> even more nice, since it actually prints a dummy text? ------------------------------------------------------------------------ [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

« previous php.bugs (#214770) next »