[ create a new paste ] login | about

Link: http://codepad.org/Ny9wLVOG    [ raw code | output | fork ]

PHP, pasted on Oct 13:
1
2
3
4
5
<?php
$str = "<h1>Hello World</h1>";

$newstr = filter_var($str, FILTER_SANITIZE_STRING);
echo $newstr;


Output:
1
Hello World


Create a new paste based on this one


Comments: