On Sat, 2003-11-22 at 00:13, Curt Zirzow wrote:
> * Thus wrote Wouter van Vliet ([EMAIL PROTECTED]):
> > 
> > Point is, which of the inline printing style is preferred by you guyes. I
> > tend to use <?=$Var?> a lot, since it reads easier but get into struggles
> > with myself when I do that multiple times in a row.
> 
> 1. Turn off short_open_tags
> 2. Turn off asp_tags
> 3. use <?php echo $Var?>

Personally, I don't use inline since I prefer templating, but when i do
this kind of code for other projects where I don't get the choice to use
a templating system, then I use the above style also. I find <?=$Var?>
to be cryptic even if shorter. Besides I'm all for code consistency, if
I'm going to break into PHP mode for multiple lines, then I do the same
for a single line.

Cheers,
Rob.
-- 
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting  |
| a powerful, scalable system for accessing system services  |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for       |
| creating re-usable components quickly and easily.          |
`------------------------------------------------------------'

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to