- var_dump: documentation ( source)
- preg_match: documentation ( source)
- htmlspecialchars: documentation ( source)
<?php
print htmlspecialchars("http://google.com?asdfsadfsd=asdf&asdfsdf=asdfdf");
preg_match('/[\w%]+/i', '%', $matches);
var_dump($matches);