PHP stripcslashes

Education is not limited to just classrooms. It can be gained anytime, anywhere... - Ravi Ranjan (M.Tech-NIT)

PHP : stripcslashes() function

Description

The stripcslashes() function is used to remove backslashes added by the addslashes() function.

Version

(PHP 4 and above)

Syntax

stripcslashes(string1)

Parameter

Name

Description

Required /
Optional

Type

string1

The string to be unescaped.

Required

String.

Return value

The unescaped string.

Value Type : String.

Pictorial Presentation

php-string-stripcslashes()

Example :

  1. echo stripcslashes("Thanks. Please visit again.");  

  2. ?>  

Output :

Thanks. Please visit again.