RE: [PHP] <?=$var?> ..equiv w/ short-tags: off;

From: Date: Thu, 22 Aug 2002 18:50:42 +0000
Subject: RE: [PHP] <?=$var?> ..equiv w/ short-tags: off;
Groups: php.general 
Request: Send a blank email to php-general+get-113660@lists.php.net to get a copy of this message
Thanks for the quick answer..always just assumed I had the sytnax wrong :) As for being misleading .. not really ... <?=$var?> looks no more/less misleading the <?php=$var?> If the person coding understands PHP he would know <?php === <? ... after all .. php=$var doesn't make any sense (since php by iself can't possibly be a var) Anyways ... thanks for the clearing it up though (as in unsupported). Cheers, -Peter > -----Original Message----- > From: Rasmus Lerdorf [mailto:rasmus@php.net] > Sent: Thursday, August 22, 2002 19:35 > To: Thoenen, Peter Mr. EPS > Cc: php-general@lists.php.net > Subject: Re: [PHP] <?=$var?> ..equiv w/ short-tags: off; > > > Not supported. > > php=$var looks rather misleading, don't you think? > > On Thu, 22 Aug 2002, Thoenen, Peter Mr. EPS wrote: > > > Hello, > > > > With shorttags on ..you can do a quick <?=$var?> (instead > of <? echo $var > > ?>) .... tried this with shorttags off and doesn't seem to > work ... ideas? > > (tried <?php=$var?> .. fails) > > > > -Peter > > > > ################################## > > Peter Thoenen - Systems Programmer > > Commercial Communications > > Camp Bondsteel, Kosovo > > ################################## > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > >

« previous php.general (#113660) next »