I use the following method to define a string " ", why the error? If you change to "123", it's okay, what's going on?
----
$aay = Array (" ", ' 12 ');
echo $aay [0];
?>
Reply to discussion (solution)
Who's the error? Report What's wrong
This error message appears:
HTML1521: Does not meet the required "" or end of file. All elements that have a start tag should end correctly before the document ends.
File: ss.php, line: 4, Column: 6
It's just a false alarm from your editor.
I use the IE browser debugging run, only this error report, not the editor's report.
It's not PHP's fault.
You print the string in PHP , and the browser parses it into a label.
It's normal for an ancient browser like IE to not find the closing tag.
The new era of Firefox Google will not be an error
So change the browser first, or don't export this particular content .