- stripslashes: documentation ( source)
- print_r: documentation ( source)
- addslashes: documentation ( source)
- htmlentities: documentation ( source)
<?php
$str = "\'\"";
$arr = array();
$arr[] = "string : ".$str;
$arr[] = "addslashes : ".addslashes($str);
$arr[] = "stripslashes : ".stripslashes($str);
$arr[] = "htmlentities : ".htmlentities($str);
$arr[] = "testing : '".$str."'";
print_r($arr);