3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $conn = ftp_connect('oxinarf.noip.me', 1991); ftp_login($conn, 'root', 'q'); sleep(20); var_dump(ftp_pwd($conn)); //var_dump(ftp_raw($conn, 'NOOP')); //var_dump(ftp_raw($conn, '')); ftp_close($conn);

Abusive script

This script was stopped while abusing our resources

Output for 7.0.0 - 7.0.12
Fatal error: Uncaught Error: Call to undefined function ftp_connect() in /in/0gnfL:2 Stack trace: #0 {main} thrown in /in/0gnfL on line 2
Process exited with code 255.
Output for 5.4.0 - 5.6.26
Fatal error: Call to undefined function ftp_connect() in /in/0gnfL on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/0gnfL on line 2 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/0gnfL on line 4
Process exited with code 137.