Menu Riverview Church

STRIPSLASHES

Un-quotes a quoted string

SYNTAX

stripslashes ( string $str ) : string

PARAMETERS

str

The input string.

RETURN

Returns a string with backslashes stripped off. A backslash with a single quote (\') becomes a single quote ('). A double backslash (\\) becomes a single backslash (\). And so on.

EXAMPLES

STR

twelve o'clock

RECURSIVE

Array
(
    [0] => one o'clock
    [1] => two o'clock
    [2] => Array
        (
            [0] => three o'clock
            [1] => four o'clock
        )

)

PHP