public static function qiniuEscapequotes($str) { $find = ["\\", "\""]; $replace = ["\\\\", "\\\""]; return str_replace($find, $replace, $str); }