3v4l.org

run code in 500+ PHP versions simultaneously
<?php $input = 'http://example.org/有词法别名.zh'; $tmp = parse_url($input, PHP_URL_PATH); echo rawurlencode($tmp), "\n";

preferences:
56.64 ms | 2680 KiB | 5 Q