3v4l.org

run code in 300+ PHP versions simultaneously
<?php $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_password($connection, 'username', 'password'); ssh2_scp_send($connection, '/local/filename', '/remote/filename', 0644);

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.0150.00018.92
8.3.30.0100.00719.17
8.3.20.0050.00220.18
8.3.10.0080.00023.54
8.3.00.0050.00319.79
8.2.170.0060.00922.96
8.2.160.0030.01020.52
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0070.01026.16
8.2.120.0030.00519.24
8.2.110.0000.00922.30
8.2.100.0030.00917.79
8.2.90.0000.00719.09
8.2.80.0030.00517.97
8.2.70.0050.00517.63
8.2.60.0040.00417.80
8.2.50.0040.00418.07
8.2.40.0000.00819.38
8.2.30.0070.00018.09
8.2.20.0070.00017.55
8.2.10.0040.00417.98
8.2.00.0040.00417.76
8.1.270.0030.00523.70
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0030.00623.96
8.1.230.0100.00019.14
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0090.00317.23
8.1.190.0050.00317.00
8.1.180.0060.00318.10
8.1.170.0000.00918.27
8.1.160.0030.00621.96
8.1.150.0000.00818.50
8.1.140.0000.00717.32
8.1.130.0040.00417.67
8.1.120.0000.00717.23
8.1.110.0000.00817.38
8.1.100.0040.00417.32
8.1.90.0000.00717.27
8.1.80.0000.00717.28
8.1.70.0030.00317.22
8.1.60.0060.00317.51
8.1.50.0030.00617.41
8.1.40.0000.00717.42
8.1.30.0040.00417.59
8.1.20.0070.00317.49
8.1.10.0000.00817.37
8.1.00.0000.00717.34
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0030.00318.41
8.0.270.0000.00717.13
8.0.260.0000.00717.10
8.0.250.0080.00017.00
8.0.240.0030.00316.82
8.0.230.0040.00416.85
8.0.220.0020.00516.85
8.0.210.0030.00316.89
8.0.200.0040.00416.90
8.0.190.0070.00016.92
8.0.180.0030.00516.82
8.0.170.0040.00416.93
8.0.160.0000.00716.88
8.0.150.0000.00816.77
8.0.140.0050.00316.75
8.0.130.0060.00013.41
8.0.120.0000.00716.75
8.0.110.0040.00416.86
8.0.100.0000.00816.89
8.0.90.0000.00716.95
8.0.80.0090.00616.95
8.0.70.0040.00416.88
8.0.60.0040.00416.77
8.0.50.0050.00316.77
8.0.30.0110.01016.89
8.0.20.0070.01117.40
8.0.10.0050.00316.84
8.0.00.0120.00516.69
7.4.330.0000.00615.00
7.4.320.0060.00016.40
7.4.300.0030.00316.42
7.4.290.0000.00816.45
7.4.280.0030.00316.53
7.4.270.0030.00316.54
7.4.260.0090.00016.34
7.4.250.0020.00516.35
7.4.240.0000.00716.46
7.4.230.0030.00316.61
7.4.220.0070.01116.62
7.4.210.0110.00316.58
7.4.200.0040.00416.55
7.4.160.0030.01316.45
7.4.150.0100.00717.40
7.4.140.0130.00517.86
7.4.130.0090.01116.53
7.4.120.0110.00816.52
7.4.110.0120.00416.54
7.4.100.0130.00316.60
7.4.90.0140.00316.30
7.4.80.0100.01119.39
7.4.70.0130.00316.63
7.4.60.0120.00616.48
7.4.50.0000.00816.18
7.4.40.0090.00916.54
7.4.30.0090.00916.62
7.4.10.0090.00914.91
7.4.00.0100.00614.84
7.3.330.0060.00013.13
7.3.320.0000.00513.18
7.3.310.0030.00316.32
7.3.300.0000.00616.11
7.3.290.0030.01216.29
7.3.280.0100.00616.25
7.3.270.0130.01917.40
7.3.260.0070.01016.29
7.3.250.0150.00616.46
7.3.240.0100.01316.31
7.3.230.0130.00316.39
7.3.210.0100.00716.18
7.3.200.0080.00819.39
7.3.190.0140.00416.46
7.3.180.0070.01016.46
7.3.170.0100.01316.43
7.3.160.0100.00716.24
7.3.130.0110.00714.85
7.3.120.0120.00414.67
7.3.110.0070.01314.94
7.3.100.0030.01014.86
7.3.90.0040.01414.82
7.3.80.0100.00314.54
7.3.70.0090.00914.59
7.3.60.0060.00914.79
7.3.50.0000.01314.87
7.3.40.0030.00614.58
7.3.30.0030.01314.56
7.3.20.0040.01116.60
7.3.10.0100.00616.40
7.3.00.0040.00816.57
7.2.330.0140.00316.39
7.2.320.0070.01116.49
7.2.310.0070.01416.58
7.2.300.0080.00816.46
7.2.290.0110.00416.64
7.2.260.0000.01814.83
7.2.250.0100.00314.60
7.2.240.0100.00315.04
7.2.230.0060.00315.07
7.2.220.0040.00814.89
7.2.210.0100.00715.06
7.2.200.0030.01314.93
7.2.190.0110.00814.87
7.2.180.0030.00714.90
7.2.170.0150.00314.91
7.2.160.0090.00614.96
7.2.150.0070.00716.85
7.2.140.0060.01016.73
7.2.130.0030.00916.91
7.2.120.0030.00616.75
7.2.110.0040.00816.54
7.2.100.0040.01516.86
7.2.90.0090.00316.50
7.2.80.0100.00616.78
7.2.70.0090.00616.89
7.2.60.0000.01316.70
7.2.50.0090.00616.91
7.2.40.0100.00716.84
7.2.30.0070.01016.93
7.2.20.0080.00816.82
7.2.10.0090.00016.72
7.2.00.0070.00518.04
7.1.330.0030.00915.70
7.1.320.0040.01415.42
7.1.310.0100.00615.71
7.1.300.0100.00715.44
7.1.290.0090.00015.54
7.1.280.0030.01015.69
7.1.270.0070.00715.66
7.1.260.0070.01015.57
7.1.250.0060.00615.69
7.1.240.0090.00315.34
7.1.230.0080.00315.66
7.1.220.0040.01115.51
7.1.210.0090.00615.28
7.1.200.0030.00815.45
7.1.190.0000.01415.39
7.1.180.0000.01215.41
7.1.170.0030.01015.41
7.1.160.0070.00715.41
7.1.150.0060.00915.43
7.1.140.0100.00715.69
7.1.130.0060.00615.52
7.1.120.0060.00615.31
7.1.110.0120.00315.70
7.1.100.0050.01316.87
7.1.90.0000.01115.34
7.1.80.0060.01015.26
7.1.70.0050.00616.25
7.1.60.0110.00817.66
7.1.50.0070.00816.21
7.1.40.0080.00415.51
7.1.30.0040.00715.48
7.1.20.0090.00315.41
7.1.10.0060.00915.50
7.1.00.0080.03919.00
7.0.330.0080.00815.39
7.0.320.0070.00715.23
7.0.310.0040.00415.31
7.0.300.0040.01115.29
7.0.290.0060.00915.31
7.0.280.0130.00015.31
7.0.270.0030.00915.20
7.0.260.0070.00715.42
7.0.250.0030.01015.29
7.0.240.0000.00915.50
7.0.230.0000.01015.44
7.0.220.0070.00715.37
7.0.210.0060.00315.18
7.0.200.0030.00915.86
7.0.190.0040.00715.48
7.0.180.0030.00815.02
7.0.170.0000.00815.43
7.0.160.0070.00715.38
7.0.150.0030.01015.33
7.0.140.0070.03918.71
7.0.130.0110.00315.19
7.0.120.0040.00815.20
7.0.110.0070.01115.38
7.0.100.0240.03017.55
7.0.90.0170.04517.53
7.0.80.0050.03817.57
7.0.70.0050.04517.63
7.0.60.0200.04717.64
7.0.50.0250.04017.86
7.0.40.0130.03316.76
7.0.30.0070.04516.69
7.0.20.0080.04316.70
7.0.10.0040.04316.77
7.0.00.0080.04316.70
5.6.400.0090.00013.95
5.6.390.0000.01714.10
5.6.380.0080.00014.27
5.6.370.0000.01114.37
5.6.360.0060.00914.13
5.6.350.0030.01014.12
5.6.340.0130.00314.05
5.6.330.0070.00714.07
5.6.320.0080.00814.08
5.6.310.0030.01314.22
5.6.300.0030.01214.20
5.6.290.0030.00614.04
5.6.280.0030.04417.54
5.6.270.0120.00614.01
5.6.260.0030.00914.24
5.6.250.0070.04017.51
5.6.240.0070.03317.42
5.6.230.0090.04417.33
5.6.220.0110.04017.35
5.6.210.0030.04617.34
5.6.200.0080.04117.57
5.6.190.0100.04117.63
5.6.180.0170.02217.66
5.6.170.0050.03317.69
5.6.160.0080.02617.54
5.6.150.0090.03917.67
5.6.140.0030.04817.48
5.6.130.0100.02717.55
5.6.120.0080.04217.49
5.6.110.0050.04217.59
5.6.100.0100.02517.57
5.6.90.0040.04517.51
5.6.80.0070.04517.18
5.6.70.0100.04117.31
5.6.60.0050.02517.20
5.6.50.0110.03717.14
5.6.40.0150.04317.14
5.6.30.0080.04417.19
5.6.20.0080.03617.15
5.6.10.0020.03117.16
5.6.00.0080.04117.14
5.5.380.0050.04317.26
5.5.370.0120.04017.18
5.5.360.0070.04317.05
5.5.350.0090.04317.25
5.5.340.0080.03417.40
5.5.330.0110.03117.45
5.5.320.0120.04017.34
5.5.310.0140.04317.58
5.5.300.0020.03517.51
5.5.290.0080.03717.48
5.5.280.0100.03717.61
5.5.270.0010.03417.43
5.5.260.0060.04517.51
5.5.250.0120.03717.32
5.5.240.0050.03817.13
5.5.230.0050.04517.16
5.5.220.0060.04216.97
5.5.210.0060.04116.97
5.5.200.0070.03917.13
5.5.190.0070.04217.01
5.5.180.0030.04116.99
5.5.170.0060.00614.11
5.5.160.0070.03417.07
5.5.150.0100.03817.13
5.5.140.0070.03816.98
5.5.130.0080.04016.92
5.5.120.0070.02716.95
5.5.110.0100.03717.12
5.5.100.0050.04517.05
5.5.90.0020.02517.09
5.5.80.0000.04917.03
5.5.70.0080.02717.14
5.5.60.0100.03716.89
5.5.50.0050.04016.86
5.5.40.0090.03616.87
5.5.30.0070.04517.02
5.5.20.0070.03716.94
5.5.10.0060.04216.98
5.5.00.0070.02917.00
5.4.450.0070.04215.94
5.4.440.0040.02415.88
5.4.430.0030.04115.86
5.4.420.0050.03815.81
5.4.410.0070.04015.83
5.4.400.0050.04215.70
5.4.390.0080.04215.74
5.4.380.0020.03315.81
5.4.370.0040.03915.74
5.4.360.0080.03215.73
5.4.350.0040.04215.73
5.4.340.0030.03815.82
5.4.330.0030.00312.41
5.4.320.0120.03615.72
5.4.310.0070.03815.73
5.4.300.0040.03115.68
5.4.290.0120.03315.76
5.4.280.0040.02415.82
5.4.270.0080.03215.73
5.4.260.0060.03715.68
5.4.250.0120.01815.72
5.4.240.0040.04015.75
5.4.230.0030.03115.68
5.4.220.0020.02815.72
5.4.210.0060.04415.75
5.4.200.0080.03815.76
5.4.190.0080.03515.77
5.4.180.0030.04315.72
5.4.170.0100.04015.73
5.4.160.0080.04215.77
5.4.150.0080.04115.75
5.4.140.0040.03514.40
5.4.130.0060.03714.38
5.4.120.0030.03914.27
5.4.110.0070.03514.36
5.4.100.0030.04014.37
5.4.90.0090.03414.43
5.4.80.0060.03314.35
5.4.70.0020.02514.33
5.4.60.0050.03514.31
5.4.50.0000.04114.34
5.4.40.0100.03314.33
5.4.30.0030.03314.36
5.4.20.0050.04314.35
5.4.10.0020.04114.37
5.4.00.0080.03214.07
5.3.290.0100.06314.64
5.3.280.0030.04714.50
5.3.270.0030.08314.56
5.3.260.0070.05714.47
5.3.250.0030.06014.47
5.3.240.0070.07314.46
5.3.230.0170.05714.58
5.3.220.0100.06314.54
5.3.210.0030.04714.53
5.3.200.0100.07714.41
5.3.190.0070.07314.54
5.3.180.0100.03714.55
5.3.170.0070.06314.50
5.3.160.0070.05714.41
5.3.150.0170.05714.52
5.3.140.0100.07014.41
5.3.130.0070.06314.37
5.3.120.0030.07014.50
5.3.110.0030.05714.53
5.3.100.0030.04713.89
5.3.90.0030.04013.93
5.3.80.0100.03714.02
5.3.70.0130.06013.97
5.3.60.0030.07713.76
5.3.50.0030.06313.92
5.3.40.0070.07313.90
5.3.30.0030.07313.84
5.3.20.0130.04713.69
5.3.10.0030.07013.66
5.3.00.0070.07313.60
5.2.170.0030.03310.99
5.2.160.0000.04311.09
5.2.150.0000.04711.14
5.2.140.0030.05710.96
5.2.130.0100.05711.08
5.2.120.0100.05311.09
5.2.110.0030.07011.16
5.2.100.0000.03711.09
5.2.90.0030.04011.17
5.2.80.0100.05711.13
5.2.70.0070.06011.15
5.2.60.0100.06311.12
5.2.50.0030.06310.82
5.2.40.0070.05310.80
5.2.30.0130.05010.99
5.2.20.0100.05710.79
5.2.10.0100.02710.89
5.2.00.0000.04710.78
5.1.60.0070.04310.67
5.1.50.0030.03010.67
5.1.40.0030.05310.67
5.1.30.0030.05710.67
5.1.20.0100.05010.67
5.1.10.0030.04310.67
5.1.00.0100.04710.67
5.0.50.0030.03310.67
5.0.40.0000.04310.67
5.0.30.0030.06310.67
5.0.20.0030.04010.67
5.0.10.0000.04310.67
5.0.00.0000.03310.67
4.4.90.0000.03310.67
4.4.80.0030.03310.67
4.4.70.0100.02710.67
4.4.60.0000.02010.67
4.4.50.0000.03710.67
4.4.40.0100.04310.67
4.4.30.0030.02310.67
4.4.20.0030.03310.67
4.4.10.0000.02010.67
4.4.00.0030.03010.67
4.3.110.0030.01710.67
4.3.100.0000.03310.67
4.3.90.0000.02710.67
4.3.80.0030.05010.67
4.3.70.0030.03310.67
4.3.60.0000.03010.67
4.3.50.0000.03710.67
4.3.40.0100.02310.67
4.3.30.0030.02310.67
4.3.20.0000.02710.67
4.3.10.0000.02310.67
4.3.00.0000.02310.67

preferences:
38.53 ms | 400 KiB | 5 Q