This is some PHP code for rendering an HTML anchor element. Why does this:
$archives .= " <a href='" . get_year_link($archPost->year) . "'
title='Click to go to full listing for " . $archPost->year . "' target='_blank'>[List^]</a>";
work exactly like this:
$archives .= " <a href='" . get_year_link($archPost->year) . "'
title='Click to go to full listing for $archPost->year' target='_blank'>[List^]</a>";
Coming from C/C# and such, I have a preference for the first variant, because I think that one cannot just dump variables smack-dab in the middle of the string. Apparently PHP has no problem with this. Why not?