PHP stripslashes Function

What is stripslashes Function?


In PHP this function is used to un-quote string quoted with addcslashes.



In the above syntax "string" is the text with backslashes to be cleaned up of backslashes.

Example :

echo stripslashes("Where's HIOX INDIA located?");
Result :

Where's HIOX INDIA located?

In the above example the backslash, before the quote is removed and the string is displayed.

PHP Topics

Ask Questions

Ask Question