Da quello che leggo sulla guida eval non si usa per memorizzare variabili in stringhe!

eval()
Codice PHP:
<?php
$string 
'cup';
$name 'coffee';
$str 'This is a $string with my $name in it.';
echo 
$str"\n";
eval(
"\$str = \"$str\";");
echo 
$str"\n";
?>