3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init("http://www.example-webpage.com/file.html"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); $content = curl_exec($ch); curl_close($ch); echo $content;

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.60.0070.00718.31
8.3.50.0100.00522.87
8.3.40.0040.01118.79
8.3.30.0090.00919.05
8.3.20.0000.00720.25
8.3.10.0060.00323.66
8.3.00.0040.00417.50
8.2.180.0130.00316.38
8.2.170.0130.00722.96
8.2.160.0080.00520.55
8.2.150.0080.00024.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00721.02
8.2.110.0030.00622.21
8.2.100.0090.00317.72
8.2.90.0060.00319.09
8.2.80.0040.00417.97
8.2.70.0000.00817.50
8.2.60.0040.00417.68
8.2.50.0040.00418.07
8.2.40.0040.00419.72
8.2.30.0000.00718.07
8.2.20.0040.00417.60
8.2.10.0040.00418.05
8.2.00.0000.00817.56
8.1.280.0110.00325.92
8.1.270.0060.00323.68
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.73
8.1.230.0110.00019.15
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00617.10
8.1.190.0040.00417.10
8.1.180.0000.00718.10
8.1.170.0040.00418.59
8.1.160.0000.00721.95
8.1.150.0040.00418.69
8.1.140.0030.00517.37
8.1.130.0000.00717.79
8.1.120.0080.00417.23
8.1.110.0060.00317.26
8.1.100.0040.00417.39
8.1.90.0030.00617.22
8.1.80.0000.00817.23
8.1.70.0030.00317.25
8.1.60.0030.00617.35
8.1.50.0000.00917.45
8.1.40.0030.00617.52
8.1.30.0080.00017.60
8.1.20.0070.00017.62
8.1.10.0000.00817.48
8.1.00.0040.00417.33
8.0.300.0080.00018.77
8.0.290.0040.00416.63
8.0.280.0030.00318.36
8.0.270.0000.00817.15
8.0.260.0000.00617.19
8.0.250.0030.00316.95
8.0.240.0030.00316.82
8.0.230.0060.00316.93
8.0.220.0030.00316.88
8.0.210.0030.00316.89
8.0.200.0000.00616.88
8.0.190.0080.00316.91
8.0.180.0050.00216.86
8.0.170.0000.00816.86
8.0.160.0050.00216.86
8.0.150.0000.00716.84
8.0.140.0020.00516.89
8.0.130.0030.00313.35
8.0.120.0040.00416.87
8.0.110.0040.00416.80
8.0.100.0080.00016.92
8.0.90.0050.00216.84
8.0.80.0090.00916.93
8.0.70.0000.00716.95
8.0.60.0080.00016.89
8.0.50.0080.00016.93
8.0.30.0110.01117.02
8.0.20.0100.01217.40
8.0.10.0050.00216.82
8.0.00.0070.01216.60
7.4.330.0030.00315.00
7.4.320.0000.00716.45
7.4.300.0030.00316.44
7.4.290.0030.00316.54
7.4.280.0030.00516.38
7.4.270.0040.00416.60
7.4.260.0040.00416.32
7.4.250.0040.00416.52
7.4.240.0050.00216.39
7.4.230.0030.00316.25
7.4.220.0090.00916.49
7.4.210.0100.00716.48
7.4.200.0030.00416.54
7.4.160.0110.00616.34
7.4.150.0090.00917.40
7.4.140.0110.00817.86
7.4.130.0150.00216.51
7.4.120.0100.00716.43
7.4.110.0170.00016.59
7.4.100.0060.01216.55
7.4.90.0040.01216.44
7.4.80.0120.00619.39
7.4.70.0140.00716.45
7.4.60.0130.00316.45
7.4.50.0000.00516.34
7.4.40.0100.00716.59
7.4.30.0040.01116.58
7.4.00.0040.01415.15
7.3.330.0000.00513.13
7.3.320.0000.00713.05
7.3.310.0030.00516.40
7.3.300.0030.00416.04
7.3.290.0120.00316.29
7.3.280.0090.00716.20
7.3.270.0120.00617.40
7.3.260.0110.00716.25
7.3.250.0060.01116.36
7.3.240.0030.01416.33
7.3.230.0130.00316.53
7.3.210.0170.00016.34
7.3.200.0070.01019.39
7.3.190.0110.01116.44
7.3.180.0110.00416.39
7.3.170.0090.00616.32
7.3.160.0040.01116.11
7.3.00.0090.00616.61
7.2.330.0100.00716.50
7.2.320.0090.00916.67
7.2.310.0070.01116.32
7.2.300.0190.00416.48
7.2.290.0030.01316.57
7.2.130.0060.00916.67
7.2.120.0060.00616.40
7.2.110.0030.00916.59
7.2.100.0030.00716.68
7.2.90.0040.01216.83
7.2.80.0060.00616.54
7.2.70.0090.00616.57
7.2.60.0040.00916.79
7.2.50.0050.00616.74
7.2.40.0040.00416.66
7.2.30.0120.00016.65
7.2.20.0100.00016.46
7.2.10.0070.00416.50
7.2.00.0020.00917.85
7.1.250.0100.00315.48
7.1.240.0030.00915.30
7.1.230.0000.01215.27
7.1.220.0030.00715.52
7.1.210.0000.01015.39
7.1.200.0060.01015.58
7.1.190.0040.00715.60
7.1.180.0040.00415.55
7.1.170.0040.00815.41
7.1.160.0030.00615.44
7.1.150.0000.01215.35
7.1.140.0030.00615.41
7.1.130.0060.00615.63
7.1.120.0030.00615.49
7.1.110.0090.00015.36
7.1.100.0150.00816.71
7.1.90.0060.00615.37
7.1.80.0000.00815.68
7.1.70.0040.00716.17
7.1.60.0060.00817.36
7.1.50.0030.01316.16
7.1.40.0090.00015.36
7.1.30.0080.00015.31
7.1.20.0060.01015.30
7.1.10.0070.00715.46
7.1.00.0050.04118.94
7.0.330.0040.00815.23
7.0.320.0060.00615.14
7.0.310.0110.00015.12
7.0.300.0070.00715.45
7.0.290.0070.00714.96
7.0.280.0030.00914.81
7.0.270.0170.00315.06
7.0.260.0110.00015.13
7.0.250.0060.00315.30
7.0.240.0070.00715.26
7.0.230.0040.00415.38
7.0.220.0030.00915.34
7.0.210.0040.00815.19
7.0.200.0020.01015.90
7.0.190.0090.00015.20
7.0.180.0090.00015.14
7.0.170.0030.01015.16
7.0.160.0030.01015.00
7.0.150.0060.00914.93
7.0.140.0050.03718.58
7.0.130.0060.00315.13
7.0.120.0030.00615.21
7.0.110.0060.00315.24
7.0.100.0080.00415.20
7.0.90.0000.00715.24
7.0.80.0000.00714.91
7.0.70.0090.00615.27
7.0.60.0070.03717.54
7.0.50.0030.03716.49
7.0.40.0150.02516.72
7.0.30.0150.04516.79
7.0.20.0150.03516.69
7.0.10.0070.03816.65
7.0.00.0050.03716.73
5.6.380.0060.00614.29
5.6.370.0040.00414.18
5.6.360.0040.01114.23
5.6.350.0070.00713.96
5.6.340.0110.00013.89
5.6.330.0030.00813.88
5.6.320.0070.00413.72
5.6.310.0070.00014.15
5.6.300.0050.00813.76
5.6.290.0000.01514.23
5.6.280.0070.00714.08
5.6.270.0070.00314.38
5.6.260.0000.01414.29
5.6.250.0000.01513.95
5.6.240.0000.01013.70
5.6.230.0060.00613.82
5.6.220.0040.00414.17
5.6.210.0040.02917.25
5.6.200.0050.04415.96
5.6.190.0050.03517.21
5.6.180.1830.02817.16
5.6.170.0110.02617.17
5.6.160.0090.02917.06
5.6.150.0020.04215.99
5.6.140.0070.01916.12
5.6.130.0020.02315.96
5.6.120.0090.03717.52
5.6.110.0060.04617.48
5.6.100.0050.04017.46
5.6.90.0100.02717.48
5.6.80.0100.03917.06
5.6.70.0070.00714.08
5.6.60.0070.00314.06
5.6.50.0000.00813.52
5.6.40.0080.00313.93
5.6.30.0000.00714.07
5.6.20.0000.00914.14
5.6.10.0030.01013.69
5.6.00.0000.00813.86
5.5.380.0000.00611.00
5.5.370.0040.00811.00
5.5.360.0040.00811.00
5.5.350.0150.03615.72
5.5.340.0070.03614.51
5.5.330.0040.04615.74
5.5.320.0100.03515.64
5.5.310.0270.03515.58
5.5.300.0100.03614.52
5.5.290.0030.04214.50
5.5.280.0050.04815.99
5.5.270.0080.04215.88
5.5.260.0050.02215.88
5.5.250.0080.04315.83
5.5.240.0020.03115.62
5.5.230.0030.00611.00
5.5.220.0030.00311.00
5.5.210.0070.00011.00
5.5.200.0060.00011.00
5.5.190.0030.00311.00
5.5.180.0000.00711.00
5.5.170.0040.00411.00
5.5.160.0030.00311.00
5.5.150.0030.00311.00
5.5.140.0070.00011.00
5.5.130.0040.00411.00
5.5.120.0060.00311.00
5.5.110.0060.00011.00
5.5.100.0060.00311.00
5.5.90.0030.00311.00
5.5.80.0030.00311.00
5.5.70.0110.00011.00
5.5.60.0000.01011.00
5.5.50.0000.00711.00
5.5.40.0040.00411.00
5.5.30.0000.00611.00
5.5.20.0000.00611.00
5.5.10.0070.00411.00
5.5.00.0000.00711.00
5.4.450.0550.03315.06
5.4.440.0520.02715.33
5.4.430.0410.02715.32
5.4.420.0390.03015.05
5.4.410.0030.03014.94
5.4.400.0190.03114.86
5.4.390.0230.03714.77
5.4.380.0140.02714.89
5.4.370.0070.02214.83
5.4.360.0030.02514.84
5.4.350.0060.02211.49
5.4.340.0030.02611.49
5.4.330.0050.00311.00
5.4.320.0060.02011.73
5.4.310.0020.02511.73
5.4.300.0050.01911.73
5.4.290.0060.02011.73
5.4.280.0050.02011.68
5.4.270.0030.02111.68
5.4.260.0020.02411.68
5.4.250.0040.02211.68
5.4.240.0020.02111.68
5.4.230.0090.01611.67
5.4.220.0040.02611.67
5.4.210.0100.02111.67
5.4.200.0040.02211.67
5.4.190.0040.02011.67
5.4.180.0050.02111.67
5.4.170.0040.02011.68
5.4.160.0030.02111.67
5.4.150.0040.02011.67
5.4.140.0020.02211.52
5.4.130.0030.02111.51
5.4.120.0070.01811.49
5.4.110.0040.02011.48
5.4.100.0080.01811.49
5.4.90.0050.02011.49
5.4.80.0040.02111.48
5.4.70.0050.02011.48
5.4.60.0020.03011.48
5.4.50.0030.02211.48
5.4.40.0060.01811.48
5.4.30.0040.02111.48
5.4.20.0060.01911.48
5.4.10.0060.01711.48
5.4.00.0030.02111.22
5.3.290.0050.02011.90
5.3.280.0030.02111.86
5.3.270.0030.02411.86
5.3.260.0050.02011.86
5.3.250.0040.02211.86
5.3.240.0060.02311.86
5.3.230.0040.02211.86
5.3.220.0060.01811.84
5.3.210.0060.02011.84
5.3.200.0040.02111.84
5.3.190.0030.02211.84
5.3.180.0080.02211.84
5.3.170.0060.01811.84
5.3.160.0040.02011.84
5.3.150.0080.01611.84
5.3.140.0040.02211.83
5.3.130.0040.02111.83
5.3.120.0080.01911.83
5.3.110.0070.02411.83
5.3.100.0040.02211.56
5.3.90.0040.02111.54
5.3.80.0040.02111.54
5.3.70.0060.02011.54
5.3.60.0040.02011.53
5.3.50.0050.02211.50
5.3.40.0040.02111.50
5.3.30.0030.02511.48
5.3.20.0040.02111.36
5.3.10.0070.02011.35
5.3.00.0040.02011.34
5.2.170.0040.01710.09
5.2.160.0020.01810.09
5.2.150.0040.01810.09
5.2.140.0020.01810.09
5.2.130.0020.01910.07
5.2.120.0020.01810.07
5.2.110.0020.01610.07
5.2.100.0050.02310.07
5.2.90.0040.01810.07
5.2.80.0030.01910.07
5.2.70.0030.01710.07
5.2.60.0050.01410.05
5.2.50.0100.01610.03
5.2.40.0060.01410.02
5.2.30.0060.02010.01
5.2.20.0050.01510.00
5.2.10.0020.0199.96
5.2.00.0050.0189.89
5.1.60.0020.0189.53
5.1.50.0030.0159.53
5.1.40.0020.0179.53
5.1.30.0030.0149.70
5.1.20.0020.0169.71
5.1.10.0050.0149.57
5.1.00.0020.0159.57
5.0.50.0020.0138.81
5.0.40.0030.0128.74
5.0.30.0020.0198.65
5.0.20.0060.0078.63
5.0.10.0040.0138.62
5.0.00.0050.0158.62
4.4.90.0040.0077.89
4.4.80.0020.0107.88
4.4.70.0030.0087.88
4.4.60.0020.0107.88
4.4.50.0020.0107.89
4.4.40.0030.0177.86
4.4.30.0020.0117.88
4.4.20.0010.0117.93
4.4.10.0030.0077.93
4.4.00.0010.0167.88
4.3.110.0020.0107.84
4.3.100.0010.0107.83
4.3.90.0020.0087.82
4.3.80.0030.0127.79
4.3.70.0030.0077.82
4.3.60.0010.0107.81
4.3.50.0010.0107.82
4.3.40.0030.0137.77
4.3.30.0000.0127.14
4.3.20.0030.0107.13
4.3.10.0010.0107.11
4.3.00.0070.0149.01

preferences:
76.13 ms | 401 KiB | 5 Q