Re: svn: /phpdoc/en/trunk/language/ basic-syntax.xml
| From: | Nikita Popov | Date: | Thu, 15 Mar 2012 13:33:03 +0000 |
| Subject: | Re: svn: /phpdoc/en/trunk/language/ basic-syntax.xml | ||
| References: | 1 | Groups: | php.doc.cvs |
| Request: | Send a blank email to doc-cvs+get-9898@lists.php.net to get a copy of this message | ||
On Thu, Mar 15, 2012 at 12:38 PM, Karma Dordrak <drak@php.net> wrote:
> [snip]
> - <para>
> - The example given here is contrived, of course, but for outputting large
> - blocks of text, dropping out of PHP parsing mode is generally more efficient
> - than sending all of the text through <function>echo</function> or
> - <function>print</function>.
> </para>
> <para>
> + For outputting large blocks of text, dropping out of PHP parsing mode is
> + generally more efficient than sending all of the text through
> + <function>echo</function> or <function>print</function>.
> + </para>
This paragraph seems suspicious. INLINE_HTML will trigger a ZEND_ECHO,
just like a normal echo would. I don't see how it could be more
efficient. Or is "efficient" here not in terms of performance, but in
terms of maintainability? If so, would be nice to have this clarified
:)
Nikita