News Feed
Jobs Feed
Sections

Recent Jobs

News Archive
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



Similar Posts

Make Me Pulse Blog: Yui Treeview with Php tidy

Sitecritic.net: Simple Content Management in PHP Without Database Access

Derick Rethans' Blog: British date format parsing

PHPRiot.com: Creating Custom Block Tags in Smarty

DevShed: Parsing Web Document Nodes with the Tidy Library in PHP 5


Community Events







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


application zendframework PEAR mysql cakephp security PHP5 job book conference database release code zend developer framework releases package ajax example

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