以下のコードを見てください。
<?php
//The array stores the nodes of a blog entry
$entry = array('title' => "My First Blog Entry",
'author' => "daNullSet",
'date' => "August 10, 2012",
'body' => "This is the bosy of the blog");
echo "The title of the blog entry is ".{$entry['title']};
?>
次のエラーが表示されます。
解析エラー: 構文エラー、7 行目の C:\xampp\htdocs\php-blog\simple-blog\array-test.php の予期しない '{'
上記のコードの echo ステートメントで複雑な構文を導入している中かっこを削除すると、エラーはなくなります。上記のコードのデバッグを手伝ってください。ありがとうございました!