3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $function = 'ftp_connect'; $function('host', 'port');
Output for 7.0.0 - 7.1.0
Fatal error: Uncaught Error: Call to undefined function ftp_connect() in /in/HEDXG:4 Stack trace: #0 {main} thrown in /in/HEDXG on line 4
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Call to undefined function ftp_connect() in /in/HEDXG on line 4
Process exited with code 255.
Output for 4.3.0 - 5.3.29
Warning: ftp_connect() expects parameter 2 to be long, string given in /in/HEDXG on line 4