3v4l.org

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

preferences:
56.09 ms | 402 KiB | 5 Q