str::stripslashes($string)

A better way to strip slashes

  • $string (string)
  • return (string)

Example