I personally don`t think Ruud should change the handling of $vars inside strings. I mean, how many instances of code like this are there out there:

$var = readprofilestring("$filename","$section","$key")

there is no difference between this:

"$filename"

and this:

"the file is called $filename don`t you know"

plus how many times have we seen this on the board - I do it all the time:

$snippet = substr("$string",1,5)

I do this to protect myself from undefined variables (if memory serves, substr crashes when using an undefined var) and we all seem to have this impression that wrapping $vars in quotes protects us when using long filename variables (which probably isn`t true).

Anyway, my 2 cents.

-Shawn