In HTML to PHP conversion I would like the ability to select between double and single quotes structure.
So far the conversion is like
Code:
<table width="500">
to
Code:
echo "<table width=\"500\">
";
With sigle quotes it would look like:
Code:
echo '<table width="500">';
...which is shorter.
Also it would be nice if this function can parse variables entered inside html code (as sometimes we close the php block for simplicity but it gets cluttered with many loops included)
So if i have
Code:
<td align="left"><?=;?></td>
It woud convert to (double quote version):
Code:
echo "<td align=\"left\">" "</td>
";
or (single quote version)
Code:
echo '<td align="left">'..'</td>';
I am not top level programmer but I am used to single quotes, and some sources claims that this code is faster as there is no need to parse doublequoted strings in search for variables.