I have a probably basic but still weird issue - Chrome won't show array properly and displays closing php tag. I'm sure i'm making some very basic error somewhere. I tried enclosing both array keys and values with single and double quotes, changing ending semicolon to colon, but nothing works.
Here is the test page code:
<html>
<head>
</head>
<body>
<?php
$beatles = array(
"John" => "vocals",
"Paul" => "bass",
"George" => "guitar",
"Ringo" => "drums",
);
?>
</body>
</html>
And here is the output in Chrome:
"vocals", "Paul" => "bass", "George" => "guitar", "Ringo" => "drums", ); ?>**
What am I doing wrong?