Leon Mergen said:

> Now, first of all, why did you this:
>
> <?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\" ?>"); ?>
>
> and not just:
>
> <?xml version="1.0" encoding="UTF-8" ?>

Because short tags are evil ;-)  My provider has short tags enabled, so
there is no getting around this bit of ugliness.

> only that I personally prefer to call a print() statement for
> everything

Do you mean as opposed to echo?

If so, would you mind saying a few word as to why?

I read that echo is a "language construct."  It seems like it would be
preferable to print() for this reason.  On top of that, it will take
multiple strings as input.  I think I will remove the parentheses, though.

-Peter



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

Reply via email to