3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php require_once '/in/Bg0hc'; $uri = new uri('ftp://jdoe:pass1234@my-server.com/public_html'); foreach (range(1,10000) as $test_num) { $uri->chain()-> replace('SCHEME_NAME', 'ftps')-> replace('PORT', '22')-> replace('USER', 'admin')-> replace('PASS', 'secure-pass-123'); } echo $uri;
based on QRYAE
Output for 5.6.28, 7.0.14 - 7.1.0
Warning: require_once(/in/Bg0hc): failed to open stream: No such file or directory in /in/U989j on line 3 Fatal error: require_once(): Failed opening required '/in/Bg0hc' (include_path='.:') in /in/U989j on line 3
Process exited with code 255.
Output for 5.3.0 - 5.6.25, 7.0.0 - 7.0.10
ftps://admin:secure-pass-123@my-server.com:22/public_html