• PHP Video Tutorials

PHP - Function Stripcslashes



Syntax

string stripcslashes ( string $str )

Definition and Usage

It is used to removes backslashes

Return Values

It returns the unescaped string.

Parameters

Sr.No Parameters & Description
1

string

It is used to specifies the string to be unescaped

Example

Try out the following example

<?php
   echo stripcslashes("Hello \World!");
?>

This will produce following result −

Hello World!
php_function_reference.htm
Advertisements