Re: PHP Alternative syntax
| From: | Edin Kadribasic | Date: | Thu, 11 Oct 2001 22:26:35 +0000 |
| Subject: | Re: PHP Alternative syntax | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-67808@lists.php.net to get a copy of this message | ||
> > What I meant was that probably the rumor itself got started from the
docs.
> > :)
>
> No, it was on the mailinglist (and caused no discussion, otherwise i'd
have
> noticed). And James Moore said similar things recently. (i.e. a few hours
> ago)
I was not that serious :)
> In my opinion that syntax is extremely ugly and according to manual notes
> causes a lot of strange precendence problems. It's just plain ugly and
> vague. I think it should be disencouraged to be used.
That's a matter of taste. In my opinion "the alternative syntax" is much
more suitable for embedding PHP into HTML or XML. I think that the regular C
syntax in that case looks really ugly and was one of the reasons an
alternative was needed.