method escapeAllQuotes documentation in bbn\Str
Escapes all quotes (single and double) from a given string.
Example
X::dump(\bbn\Str::escapeDquotes('the "Gay Pride" is is Putin\'s favorite'));
// (string) "the \"Gay Pride\" is is Putin\'s favorite"
function($st, $as_html = false)
{
return self::escapeDquotes(self::escapeSquotes($st, $as_html), $as_html);
}
Escapes all quotes (single and double) from a given string. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way
This website uses cookies to ensure you get the best experience on our website.
© 2011-2025
BBN Solutions