PHP compiler does optimize very thoroughly PHP string manipulation, this rule is obsolete.
It doesn't matter on how you write your string manipulations, using double quotes " or single quotes ' or HEREDOC syntax, the resulting OPCode will be exactly the same in the end.