Chris wrote:
brian wrote:

- You can do without the "echo" by using, eg. <?= $message ?>


Yet later in another thread you complain about short_tags being an option.. can't have it both ways.

Oh, is that so? Let's see what i wrote ...

-- snip --
... Better yet, PHP should do away with <? ?> altogether but allow
<?= ?>, which is *very* helpful (to those of us who choose to use it).
-- snip --

Leave it as <?php echo $message; ?>

it's more portable - it will work on every single php server and you won't have any issues moving your code around.


-- snip --
I do agree that developing with short_open_tags = on is a Bad Idea if the app will not be under one's control.
-- snip --

But thanks. I know you were really trying.

brian

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

Reply via email to