$imdbGet = new IMDbFetch($result);
echo '
';
var_dump($imdbGet->name);
echo '
';
$imdbGet->name = str_replace("\"","",$imdbGet->name);
var_dump($imdbGet->name);
echo '
'.$imdbGet->name;
output:
string(26) ""Sex and the City""
string(26) ""Sex and the City""
"Sex and the City"