Is basically "url_encode", but supports a couple of flags:
<?php
$flags = array(
'FILTER_FLAG_STRIP_LOW', 'FILTER_FLAG_STRIP_HIGH'
);
$filter = FILTER_SANITIZE_ENCODED;
include 'presentations/slides/input-filter/render-form.php';
include 'presentations/slides/input-filter/check-data.php';
?>
Output