Current Location: Home> Function Categories> stripslashes

stripslashes

Inversely escape an escaped string
Name:stripslashes
Category:String
Programming Language:php
One-line Description:Removes the backslashes added by the addslashes() function.

Example

Remove the backslash:

 <span class="token php language-php"><span class="token delimiter important"><?php</span>
<span class="token keyword">echo</span> <span class="token function">stripslashes</span> <span class="token punctuation">(</span> <span class="token string double-quoted-string">"Who\&#39;s Bill Gates?"</span> <span class="token punctuation">)</span> <span class="token punctuation">;</span>
<span class="token delimiter important">?></span></span>

Try it yourself

Similar Functions
  • Calculate the sha1 hash value of a string sha1

    sha1

    Calculatethesha1hash
  • Repeat a string str_repeat

    str_repeat

    Repeatastring
  • Parses entered characters according to the specified format sscanf

    sscanf

    Parsesenteredcharact
  • Remove HTML and PHP tags from string strip_tags

    strip_tags

    RemoveHTMLandPHPtags
  • Output one or more strings echo

    echo

    Outputoneormorestrin
  • Set the first character of the string to lowercase lcfirst

    lcfirst

    Setthefirstcharacter
  • Find the last occurrence of a specified character in a string strrchr

    strrchr

    Findthelastoccurrenc
  • Get the string length strlen

    strlen

    Getthestringlength
Popular Articles