Why doesn’t PHP have a quoting function similar to qq() in Perl? PHP is a web scripting language used to build dynamic HTML and output it to a browser. Why shouldn’t it be easy to output HTML strings that contain double quotes?

Firstly, I don’t want to escape every double quote (\”) which results in:

$html .= "<table border=\"$color\" background=\"ccccff\">\n";

Secondly, I don’t want to use PHP’s heredoc syntax (<<<):

$html = <<< ENDHTML
&lt;table border="$color" background="ccccff"&gt;
ENDHTML;

This is overkill for single lines of HTML.
I want to do something like this in PHP:

$html = qq | &lt;table border="$color" background="ccccff"&gt; |;

Any ideas?