php var_export ke string

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