Seems that var_export() strips slashes from my array keys even though the docs say that it returns valid PHP code. This is bad if I want to use $b below to define another array, gives a parse error on the single quote in the key.
$a = array('it\'s here' => 'single, \' double "'); $b = var_export($a, TRUE); echo $b; Displays: array ( 'it's here' => 'single, \' double "', ) And: $c = eval($b); generates a parse error in the eval'ed code. Any help??? TIA, -Shawn -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php