brian wrote:
Jim Lucas wrote:
Or, even better, turn off short_open_tag
Then PHP will not try and parse ?xml
Exactly.
Per: i obviously did misinterpret you. I thought you meant that
SOME_XHTML_PARSER would choke on PHP tags. If so, perhaps my response
will make sense to you now. But my
Just wanted to see what you think of the strictness of Buxa,
according to
their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like the short PHP init ? or
inline echo ?=
$var ? is forbidden.
Do you people code that strict?
I like
magoo wrote:
In their oppinion stuff like the short PHP init ? or inline echo
?= $var ? is forbidden.
Do you people code that strict?
Yep. If you're using XHTML you have no other option.
/Per Jessen, Zürich
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Greg Donald wrote:
On Sun, 9 Sep 2007, magoo wrote:
Just wanted to see what you think of the strictness of Buxa,
according to their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like the short PHP init ? or inline echo
?= $var ? is
On Sat, 8 Sep 2007, mike wrote:
although handing off to a templating engine/presentation layer would
be even better of course.
eval() is my favorite templating engine.
--
Greg Donald
Cyberfusion Consulting
http://cyberfusionconsulting.com/
--
PHP General Mailing List (http://www.php.net/)
Per Jessen wrote:
magoo wrote:
In their oppinion stuff like the short PHP init ? or inline echo
?= $var ? is forbidden.
Do you people code that strict?
Yep. If you're using XHTML you have no other option.
If you're parsing XHTML that is choking on any instances of % then
you've got a
Greg Donald wrote:
On Sat, 8 Sep 2007, mike wrote:
although handing off to a templating engine/presentation layer would
be even better of course.
eval() is my favorite templating engine.
You've just made my day. Mind if i put that on a t-shirt?
--
PHP General Mailing List
brian wrote:
Per Jessen wrote:
magoo wrote:
In their oppinion stuff like the short PHP init ? or inline echo
?= $var ? is forbidden.
Do you people code that strict?
Yep. If you're using XHTML you have no other option.
If you're parsing XHTML that is choking on any instances of % then
Per Jessen wrote:
brian wrote:
Per Jessen wrote:
magoo wrote:
In their oppinion stuff like the short PHP init ? or inline
echo ?= $var ? is forbidden. Do you people code that
strict?
Yep. If you're using XHTML you have no other option.
If you're parsing XHTML that is choking on any
brian wrote:
Or, perhaps what you mean is that the ?xml tag might be interpreted by
PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If that's
the case, simply don't leave it bare in the script. Have PHP print it.
brian
Or, even better, turn off short_open_tag
Then PHP will
Jim Lucas wrote:
brian wrote:
Or, perhaps what you mean is that the ?xml tag might be interpreted
by PHP (as opposed to an XHTML parser misinterpreting PHP tags)? If
that's the case, simply don't leave it bare in the script. Have PHP
print it.
brian
Or, even better, turn off
Hi NG!
Just wanted to see what you think of the strictness of Buxa, according to
their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like the short PHP init ? or inline echo ?=
$var ? is forbidden.
Do you people code that strict?
--
Kind
At 12:17 AM +0200 9/9/07, magoo wrote:
Hi NG!
Just wanted to see what you think of the strictness of Buxa,
according to their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like the short PHP init ? or inline echo
?= $var ? is forbidden.
Do
This one time, at band camp, tedd [EMAIL PROTECTED] wrote:
At 12:17 AM +0200 9/9/07, magoo wrote:
Hi NG!
Just wanted to see what you think of the strictness of Buxa,
according to their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like
On Sun, 9 Sep 2007, magoo wrote:
Just wanted to see what you think of the strictness of Buxa, according to
their PHP guidelines:
http://www.buxaprojects.com/en/php_coding_guidelines.htm
In their oppinion stuff like the short PHP init ? or inline echo ?= $var
? is forbidden.
Do you people
On 9/8/07, Greg Donald [EMAIL PROTECTED] wrote:
I don't put PHP in my HTML. I use PHP to build my HTML, using heredoc
syntax while doing so. My scripts usually only have a single ?php
opening tag and never require any closing ? tags.
Code that contains short open tags or instances of ?= is
16 matches
Mail list logo