3v4l.org

run code in 300+ PHP versions simultaneously
<?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); ?>
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.26, 7.3.0 - 7.3.13, 7.4.0 - 7.4.1, 8.1.28, 8.2.16 - 8.2.18, 8.3.3 - 8.3.6
Fatal error: Uncaught Error: Call to undefined function ftp_connect() in /in/UnXUP:2 Stack trace: #0 {main} thrown in /in/UnXUP on line 2
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Call to undefined function ftp_connect() in /in/UnXUP on line 2
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: System error in /in/UnXUP on line 2 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/UnXUP on line 4
Process exited with code 137.
Output for 4.3.3 - 4.3.4, 4.3.10 - 4.3.11, 4.4.0 - 4.4.9, 5.0.3 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /in/UnXUP on line 2 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/UnXUP on line 4
Process exited with code 137.
Output for 4.3.5 - 4.3.9, 5.0.0 - 5.0.2
Warning: ftp_connect(): php_network_getaddresses: gethostbyname failed in /in/UnXUP on line 2 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/UnXUP on line 4
Process exited with code 137.
Output for 4.3.2
Warning: ftp_connect(): php_network_getaddresses: getaddrinfo failed: System error (is your IPV6 configuration correct? If this error happens all the time, try reconfiguring PHP using --disable-ipv6 option to configure) in /in/UnXUP on line 2 Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/UnXUP on line 4
Process exited with code 137.
Output for 4.3.0 - 4.3.1
Warning: ftp_login() expects parameter 1 to be resource, boolean given in /in/UnXUP on line 4
Process exited with code 137.

preferences:
221.25 ms | 401 KiB | 333 Q