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