3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Info required for cPanel access $cpuser = "naut"; // Username used to login to CPanel $cppass = "Tg\"x86>TJ9$"; // Password used to login to CPanel $domain = "unknova.net"; // Domain name where CPanel is run $skin = "x3"; // Set to cPanel skin you use (script won't work if it doesn't match). Most people run the default x theme // Info required for FTP host $ftpuser = "naut"; // Username for FTP account $ftppass = "Tg\"x86>TJ9$"; // Password for FTP account $ftphost = "unknova.net"; // Full hostname or IP address for FTP host $ftpmode = "passiveftp"; // FTP mode ("ftp" for active, "passiveftp" for passive) $ftpport = "21"; // Port (default = 21) $rdir = "/home/naut/"; // Remote dir (defaut = / ) // Notification information $notifyemail = "bytesahoy@gmail.com"; // Email address to send results // Secure or non-secure mode $secure = 0; // Set to 1 for SSL (requires SSL support), otherwise will use standard HTTP // Set to 1 to have web page result appear in your cron log $debug = 0; $params = "dest=$ftpmode&email=$notifyemail&server=$ftphost&user=$ftpuser&pass=$ftppass&port=$ftpport&rdir=$rdir&submit=Generate Backup"; echo $params; ?>
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
dest=passiveftp&email=bytesahoy@gmail.com&server=unknova.net&user=naut&pass=Tg"x86>TJ9$&port=21&rdir=/home/naut/&submit=Generate Backup

preferences:
331.66 ms | 406 KiB | 454 Q