{$thisname} should be converted to .
{$thisname}
{thisname} should be converted to
{thisname}
preg_replace and regular expressions are more flexible than str_replace, especially if you have to parse a string like this.movie to $this["movie"]. It will not be an easy task though.