Result Size: 625 x 571
x
 
<!DOCTYPE html>
<html>
<body>
<?php
// Variable to check
$url="https://www.xn--w3schools-8taa.com/";
// Encode characters and remove all characters with ASCII value > 127
$url = filter_var($url, FILTER_SANITIZE_ENCODED, FILTER_FLAG_STRIP_HIGH);
echo $url;
?> 
</body>
<!-- Mirrored from www.w3schools.com/php/phptryit.asp?filename=tryphp_func_sanitize_encoded2 by HTTrack Website Copier/3.x [XR&CO'2014], Mon, 27 Jan 2020 03:14:40 GMT -->
</html>
×

Report a Problem: