Testing if PHP Variable contains a Nowdoc String
<p>Is there a way to tell if a PHP variable contains a nowdoc string?</p>

<p>I recently posted <a href="http://stackoverflow.com/questions/10918924/escaped-backslash-characters-in-php-single-quoted-strings">this</a> question.</p>

<p>My goal is to output PHP strings exactly as they are and I discovered that using nowdoc strings is the closest thing to verbatim strings in PHP. </p>
