← All docs

stripslashes()

Removes backslashes from a string previously escaped by addslashes.

stripslashes()

function stripslashes(string $string): string

Removes backslashes from a string previously escaped by addslashes.

Parameters:

  • $string (string)

Returns: string

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stripslashes is implemented in the compiler, see the internals page.