PHP 4.0 Bug #6775: Allow <?=$value?> as shortcut under XML with short_tags off

From: Date: Sat, 16 Sep 2000 11:27:14 +0000
Subject: PHP 4.0 Bug #6775: Allow <?=$value?> as shortcut under XML with short_tags off
Groups: php.dev 
Request: Send a blank email to php-dev+get-33335@lists.php.net to get a copy of this message
From: andy.war@ntlworld.com Operating system: Linux 2.2.17 PHP version: 4.0.1pl2 PHP Bug Type: Feature/Change Request Bug description: Allow &lt;?=$value?&gt; as shortcut under XML with short_tags off Using <?=$value?> as a shortcut to <?php echo $value ?> fails when using XHTML or XML, as the short_open_tag option has to be turned off. Is it possible to allow this one exception in this situation, as it is such a great shortcut. I can't find anything in the XML specs that would prevent "<?=" being allowed as a tag as an alternative to "<?php echo". A valid XML tag must begin with a letter, underscore or colon AFAIK (with the only exception you cannot start the tag with XML). -- './configure' '--with-mysql' '--with-apxs=/usr/local/apache/bin/apxs' '--enable-track-vars' '--enable-versioning'

« previous php.dev (#33335) next »