Re: <?php= ?> sytanx again

From: Date: Tue, 06 Nov 2001 19:35:09 +0000
Subject: Re: <?php= ?> sytanx again
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-69715@lists.php.net to get a copy of this message

It makes sense for <?php= to exist if <?= does and removing the latter
doesn't seem possible.

   <body bgcolor="<?php= $color ?>">
    <h1><?php= $bar ?></h1>
    <p><?php= $foo ?></p>
   </body>

   <body bgcolor="<?php echo $color">
    <h1><?php echo $bar ?></h1>
    <p><?php echo $foo ?></p>
   </body>

not bad.

regards,
Philip

On Mon, 5 Nov 2001, Joey Smith wrote:

> +1 for removing all variations on <?=.
> 
> On Fri, 26 Oct 2001, Jani Taskinen wrote the following to Derick Rethans :
> 
> > 
> > I'd rather see these magic hacks to be removed altogether..
> > +1 for removing short-tags and the hacks.
> > 
> > --Jani
> > 
> 
> 
> -- 
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
> 




Thread (57 messages)

« previous php.dev (#69715) next »