|
stripslashesUn-quotes a quoted string Description
string stripslashes(string
$string)Un-quotes a quoted string. stripslashes can be used if you aren't inserting this data into a place (such as a database) that requires escaping. For example, if you're simply outputting data straight from an HTML form. Parameters
Return Values
Returns a string with backslashes stripped off.
( Examples
Example #1 A stripslashes example
Example #2 Using stripslashes on an array The above example will output:
Array
(
[0] => f'oo
[1] => b'ar
[2] => Array
(
[0] => fo'o
[1] => b'ar
)
)
See Also
|