PHP stripcslashes() Function

P
PHP strip_tags() Function
PHP stripslashes() Function

what is the syntax if the STRIPCSLASHES() function in php?

stripcslashes(string)
ParameterDescription
stringRequired. Specifies the string to check
PHP STRIPCSLASHES() method

examples of the STRIPCSLASHES() function

Example 1. In this example, we remove the backslash in front of “World!”.

<?php
echo stripcslashes("Hello \World!");
?>
PHP strip_tags() Function
PHP stripslashes() Function

Add comment

Tutor Network

Share this

Learn PHP from A to Z