Escapes and surrounds a PHP value with double quotes.
string $value A PHP value:
string The quoted, escaped string
public static function escapeWithDoubleQuotes($value) {
return sprintf('"%s"', str_replace(self::$escapees, self::$escaped, $value));
}