php var_export a cadena

$someString = var_export($anyVariable, true);
Brainy Bison