News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Lars Strojny's Blog:
NOWDOC + double quotes = HEREDOC
April 15, 2008 @ 10:25:09

Lars Strojny has posted about a the new element that's been introduced in the PHP 5.3 branch - NOWDOC:

PHP 5.3 introduces a new syntax element, NOWDOC. If you know HEREDOC, NOWDOC is easy to understand: it is in fact HEREDOC taken literally. Whily variables are expanded in HEREDOC, in NOWDOC they are not.

NOWDOC is basically a HEREDOC except for one thing - no parsing is done inside of it, making it good for echoing out PHP code (that would otherwise need to be escaped all over).

0 comments voice your opinion now!
heredoc nowdoc parse block content


blog comments powered by Disqus

Similar Posts

Tobias Schlitt\'s Blog: Abject \"sponsored link\" practice on PHPFreaks (update)

Derick Rethans\' Blog: Parsing Mail with PHP

Community News: Vote on the Best Open Source CMS

Alan Knowles' Blog: Another 7 deadly sins for PHP

Zend Developer Zone: Zend Platform Performance Tuning on IBM i


Community Events





Don't see your event here?
Let us know!


bugfix release series voicesoftheelephpant zendserver laravel interview api community tips deployment podcast framework introduction conference language library developer list symfony

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework