List Info

Thread: note 74576 added to language.basic-syntax




note 74576 added to language.basic-syntax
user name
2007-04-17 22:45:08
As rosswilliams mentioned;  The example breaking in and out
of the PHP tags doesn't "work as expected".  The
manual and some comments mention that PHP "simply
starts outputting whatever it finds..." any time a
closing tag is encountered.  It would make sense to say
instead - "...unless PHP is in the middle of a
conditional statement; in which case it will only output the
relevant block of HTML."

Some have said that using the 'echo' command is cleaner and
more  efficient.  However, as the manual points out, the
method of breaking out of PHP is more efficient when dealing
with large sections of HTML.  Because there is less work for
the parser.
----
Server IP: 69.147.83.197
Probable Submitter: 71.38.133.40
----
Manual Page -- http://www.php.net/manual/en/language.basic-syntax.php

Edit        -- https://master
.php.net/note/edit/74576
Del: integrated  -- h
ttps://master.php.net/note/delete/74576/integrated
Del: useless     -- http
s://master.php.net/note/delete/74576/useless
Del: bad code    -- htt
ps://master.php.net/note/delete/74576/bad+code
Del: spam        -- https:/
/master.php.net/note/delete/74576/spam
Del: non-english -- 
https://master.php.net/note/delete/74576/non-english
Del: in docs     -- http
s://master.php.net/note/delete/74576/in+docs
Del: other reasons-- https://mast
er.php.net/note/delete/74576
Reject      -- https://mast
er.php.net/note/reject/74576
Search      -- https://
master.php.net/manage/user-notes.php

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


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )