Gen. partnerAlgotech

PHP function addslashes()

Adds slashes to the string in appropriate places so that the content is escaped.

|
September 11, 2019

Availability in PHP 4.0

Adds slashes to the string in appropriate places so that the content is escaped.

Parameters

Parameter Data Type Default Value Note
$str string not String to be escaped.

Return values

string - escaped string.

Other resources

Official documentation of the addslashes function

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.