Filter FILTER_SANITIZE_MAGIC_QUOTES December 27, 2011 Pramod T P Leave a comment It adds slashes before quotes Example ====== <?php echo filter_var(“PHPCodez'”, FILTER_SANITIZE_MAGIC_QUOTES); ?> Output ===== PHPCodez’