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

From: Date: Mon, 16 Apr 2018 20:26:13 +0000
Subject: Req #76222 [Fbk->Asn]: add use empty tag <?= ?>
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-214769@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 User updated by: koreshs at mail dot ru Reported by: koreshs at mail dot ru Summary: add use empty tag <?= ?> -Status: Feedback +Status: Assigned Type: Feature/Change Request Package: Scripting Engine problem PHP Version: 7.2.4 Assigned To: cmb Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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 (#214769) next »