Changes

Jump to: navigation, search

Understanding PHP Variable Types

1 byte added, 20:26, 25 May 2007
Creating PHP heredoc Strings
== Creating PHP heredoc Strings ==
The PHP ''heredoc'' string syntax allows ''free form'' text to be used without having to worry about ''escaping'' special characters such as quotes and backslashes. The content of the heredoc string is wrapped with ''<<<EOD'' and ''EOD;'' markers.
The only rules are that the closing ''EOD;'' must be at the ''beginning'' of the last line, and the ''only'' content on that line, as follows:

Navigation menu