Description Edit

stripslashes will return a string that was quoted by addslashes or if the PHP directive magic_quotes_gpc is on without quotes.

Parameters Edit

{{{returns}}} stripslashes (string input)

Parameter Infos Edit

Parameter PHP Version Type
stripslashes 4 or 5 returns string
input 4 or 5 string

Examples Edit

Example 1: Edit

 echo stripslashes("Is your name O\'reilly?");

Output Edit

Is your name O'reilly?

See also Edit

addslashes, get_magic_quotes_gpc

For more details on this function, visit its entry in the php manual.