note 89863 deleted from language.basic-syntax.phpmode by sobak

From: Date: Fri, 02 Dec 2016 08:28:33 +0000
Subject: note 89863 deleted from language.basic-syntax.phpmode by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207949@lists.php.net to get a copy of this message
Note Submitter: david dot jarry at gmail dot com ---- Shorts tags and ASP tags are unportables and should be avoided. <script /> tags are a waste of time and simply inefficient in some simple cases : <body> <p style="color: <script language="php"> echo $text_color </script>;"> (...) VERY long text (...) </p> </body> To render this example in a basic XHTML editor, you need to "echo()" all the content or break the XML rules. The solution seems obvious to me : Why not add the shortcut "<?php= ?>" to be used within XML and XHTML documents ? <?php='example1'?> <?php=$example2?>

« previous php.notes (#207949) next »