3v4l.org

run code in 300+ PHP versions simultaneously
<?php $host = "partnerupload.google.com"; $fileName = "coverfx_review_feed.xml"; $port = 19321; $user = "mc-sftp-10863943"; $password = "!**iLX7!??"; //$basePath = '/home/socialan/public_html'; //$basePath = 'D:/xampp/htdocs'; $resConnection = ssh2_connect($host, $port); if(ssh2_auth_password($resConnection, $user, $password)){ //Initialize SFTP subsystem $resSFTP = ssh2_sftp($resConnection); echo "connected to server"; // //Send/Download file here // }else{ echo "Unable to authenticate on server"; }

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.40.0060.00918.70
8.3.30.0110.00318.85
8.3.20.0050.00320.33
8.3.10.0040.00421.77
8.3.00.0040.00420.77
8.2.170.0150.00622.96
8.2.160.0070.00722.14
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00422.09
8.2.120.0080.00026.35
8.2.110.0100.01020.58
8.2.100.0000.01217.91
8.2.90.0000.00819.13
8.2.80.0040.00417.97
8.2.70.0050.00317.48
8.2.60.0040.00417.80
8.2.50.0000.00818.10
8.2.40.0000.00822.20
8.2.30.0000.00719.06
8.2.20.0000.00718.07
8.2.10.0030.00517.93
8.2.00.0000.00718.06
8.1.270.0000.00923.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00921.79
8.1.230.0080.00319.16
8.1.220.0080.00017.77
8.1.210.0080.00018.77
8.1.200.0000.01017.35
8.1.190.0050.00317.35
8.1.180.0030.00518.10
8.1.170.0000.00818.37
8.1.160.0000.00719.07
8.1.150.0020.00518.74
8.1.140.0050.00219.43
8.1.130.0080.00018.74
8.1.120.0040.00417.29
8.1.110.0000.00817.38
8.1.100.0040.00417.41
8.1.90.0030.00617.43
8.1.80.0000.00817.38
8.1.70.0050.00217.41
8.1.60.0070.00017.40
8.1.50.0000.00817.53
8.1.40.0050.00217.42
8.1.30.0040.00417.67
8.1.20.0040.00417.55
8.1.10.0040.00417.61
8.1.00.0000.00717.46
8.0.300.0000.00818.77
8.0.290.0070.00016.63
8.0.280.0000.00718.29
8.0.270.0040.00417.22
8.0.260.0030.00316.82
8.0.250.0060.00016.95
8.0.240.0040.00416.80
8.0.230.0030.00316.86
8.0.220.0070.00016.93
8.0.210.0000.00716.79
8.0.200.0060.00316.96
8.0.190.0040.00416.95
8.0.180.0000.00716.79
8.0.170.0040.00416.83
8.0.160.0040.00416.80
8.0.150.0000.00716.86
8.0.140.0040.00416.73
8.0.130.0040.00213.33
8.0.120.0070.00016.84
8.0.110.0080.00016.88
8.0.100.0040.00416.93
8.0.90.0000.00716.79
8.0.80.0030.01416.84
8.0.70.0000.00716.87
8.0.60.0030.00516.67
8.0.50.0000.00716.84
8.0.30.0070.01217.01
8.0.20.0130.00817.40
8.0.10.0000.00717.13
8.0.00.0030.01416.92
7.4.330.0000.00615.55
7.4.320.0000.00616.52
7.4.300.0070.00016.45
7.4.290.0070.00016.52
7.4.280.0040.00416.60
7.4.270.0030.00316.49
7.4.260.0060.00013.27
7.4.250.0050.00516.42
7.4.240.0000.00716.63
7.4.230.0030.00316.60
7.4.220.0160.01516.55
7.4.210.0060.00916.62
7.4.200.0000.00716.50
7.4.160.0110.00516.45
7.4.150.0110.00717.40
7.4.140.0090.01017.86
7.4.130.0160.00316.46
7.4.120.0110.01216.48
7.4.110.0080.00816.47
7.4.100.0100.01316.59
7.4.90.0100.00716.47
7.4.80.0100.00619.39
7.4.70.0090.00716.46
7.4.60.0080.00916.57
7.4.50.0060.00616.36
7.4.40.0150.00016.48
7.4.30.0140.00516.64
7.4.00.0090.00614.82
7.3.330.0030.00313.19
7.3.320.0030.00313.09
7.3.310.0000.00716.32
7.3.300.0030.00316.29
7.3.290.0030.00316.25
7.3.280.0080.00716.29
7.3.270.0140.00317.40
7.3.260.0150.00316.45
7.3.250.0100.00716.39
7.3.240.0080.01216.46
7.3.230.0140.00416.19
7.3.210.0130.00316.60
7.3.200.0090.00816.51
7.3.190.0060.01216.40
7.3.180.0110.00616.46
7.3.170.0080.00816.39
7.3.160.0070.01016.43
7.3.00.0090.00316.49
7.2.330.0110.00816.47
7.2.320.0060.01316.52
7.2.310.0070.01016.34
7.2.300.0060.01316.66
7.2.290.0060.01216.61
7.2.130.0030.01016.59
7.2.120.0120.00416.84
7.2.110.0000.01216.64
7.2.100.0110.00716.74
7.2.90.0070.00716.70
7.2.80.0110.00316.44
7.2.70.0100.00316.76
7.2.60.0050.00716.67
7.2.50.0150.00316.73
7.2.40.0100.00316.69
7.2.30.0040.01116.78
7.2.20.0030.01216.63
7.2.10.0100.00616.79
7.2.00.0050.01017.93
7.1.250.0050.00515.64
7.1.240.0090.00615.50
7.1.230.0070.00315.73
7.1.220.0000.01515.67
7.1.210.0120.00315.57
7.1.200.0090.00515.71
7.1.190.0090.00915.39
7.1.180.0130.00015.73
7.1.170.0090.00315.27
7.1.160.0030.01015.42
7.1.150.0000.01315.66
7.1.140.0060.00615.71
7.1.130.0060.00615.55
7.1.120.0130.00015.50
7.1.110.0030.00715.77
7.1.100.0050.00816.97
7.1.90.0030.01015.57
7.1.80.0060.00615.54
7.1.70.0060.00616.47
7.1.60.0600.01424.28
7.1.50.0600.01324.24
7.1.40.0600.01124.05
7.1.30.0620.01624.04
7.1.20.0650.01024.02
7.1.10.0400.01114.97
7.1.00.0330.01215.18
7.0.330.0000.01115.12
7.0.320.0030.01015.29
7.0.310.0130.00015.55
7.0.300.0000.01115.34
7.0.290.0040.01115.20
7.0.280.0060.00615.22
7.0.270.0070.01015.29
7.0.260.0030.00915.38
7.0.250.0030.00915.50
7.0.240.0040.00415.50
7.0.230.0040.00415.20
7.0.220.0030.00715.29
7.0.210.0060.00915.19
7.0.200.0760.01214.99
7.0.190.0500.00715.09
7.0.180.0510.00814.82
7.0.170.0430.00814.84
7.0.160.0270.01414.87
7.0.150.0380.01114.93
7.0.140.0380.01114.77
7.0.130.0380.00315.03
7.0.120.0390.00715.04
7.0.110.0370.01214.87
7.0.100.0270.01314.76
7.0.90.0330.00614.61
7.0.80.0380.00914.82
7.0.70.0310.01314.90
7.0.60.0380.01014.74
7.0.50.0370.01214.92
7.0.40.0370.01113.96
7.0.30.0350.00913.87
7.0.20.0280.00813.78
7.0.10.0300.01013.90
7.0.00.0500.00813.92
5.6.380.0080.00314.01

preferences:
38.02 ms | 400 KiB | 5 Q