> And if the 'short tag' method is useful enough for people, why 'exclude'
it from a standard?
Because no matter what installation of PHP you have, this works:
But this:
Or this:
Or this:
<% echo $var; %>
...is made invalid if short_tags are disabled (and the last only works with
ASP t
Have a look here :
http://www.php.net/manual/en/pear.standards.php
Regarding http://www.php.net/manual/en/configuration.php#ini.short-open-tag
Regards,
Philip
On Sat, 7 Apr 2001, Michael Kimsal wrote:
> Yes yes I'm a zealot. :)
>
> If the people defining the PEAR standards really were th
Yes yes I'm a zealot. :)
If the people defining the PEAR standards really were that interested in
standards,
why include alternate ways of doing something?
And if the 'short tag' method is useful enough for people, why 'exclude' it
from a standard? This notion of 'PEAR standards' does irk me
PHP does have an equivelent, as shown by Shaun :
Things to keep in mind :
1. Is PHP4+ specific
2. Won't work if short_open_tag setting is off (in php.ini)
- One reason to turn this off, to enable XML support
3. Doesn't follow up-and-coming PEAR coding standards
And as you've see
I haven't done asp in a while so if this just shows the var's value then you
just replace % with ?
On Saturday 07 April 2001 11:00, Alexander Skwar wrote:
> So sprach Costas am Wed, Apr 04, 2001 at 02:07:54PM +0100:
> > Is there an equivalent in PHP of the following code:
> >
> > equivalent o
So sprach Costas am Wed, Apr 04, 2001 at 02:07:54PM +0100:
> Is there an equivalent in PHP of the following code:
>
> equivalent of asp's <%= strTest %>
Uhm - what does this strange line do??
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepag
6 matches
Mail list logo