Am I allowed to put single quoted, double quoted heredoc syntax or nowdoc syntax strings directly into a functions parameter that uses a string?
<p>Am I allowed to put single quoted, double quoted heredoc syntax or nowdoc syntax strings directly into functions whose parameters require a string like for example <code>strlen('string text')</code> or <code>strlen("some more string text")</code> instead of including a variable for example <code>strlen($str);</code>?</p>

<p>If not why?</p>
