Re: <?=$value?> as a shortcut to <?php echo $value ?> not working

From: Date: Sat, 16 Sep 2000 23:01:49 +0000
Subject: Re: <?=$value?> as a shortcut to <?php echo $value ?> not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17043@lists.php.net to get a copy of this message
Andy Warwick writes: > Hi > > I'm trying to get the <?=$value?> as a shortcut to <?php echo $value ?> > working but having no luck. > > I've checked the manual where this is mentioned > (http://www.php.net/manual/function.echo.php) but can't find any mention of > others having problems. This is a documentation problem; we just haven't gotten to that one yet. :) > I suspect it is because I have the short_open_tag option turned off, as I am > using XHTML (XML). > > I notice that turning the asp_tags on would allow me to use <%= $value %>, > but having to use a different tag for that one command is just asking for > bugs. > > Given we should be moving towards XML and XHTML, is there anyway this great > shortcut could be made to work even with short tags turned off? I can't find > anything in the XML specs that would prevent "<?=" being allowed as a tag. > > Is there any particular place to make such feature requests? > > Andy Warwick Use the Bug Database, and select 'Feature Request' from the 'Type of bug' dropdown list (it's second from the top). Before submitting, though, search the database to make sure that you're not duplicating an existing entry. -- +----------------------------------------------------------------+ |Torben Wilson <torben@php.net> Netmill iTech| |http://www.coastnet.com/~torben http://www.netmill.fi| |Ph: 1 250 383-9735 torben@netmill.fi| +----------------------------------------------------------------+

« previous php.general (#17043) next »