3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://www.google.com/"); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); $response = curl_exec($ch); if (curl_error($ch)) { $error_msg = curl_error($ch); var_dump($error_msg);exit; } curl_close($ch); var_dump($response);

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.4.120.0100.00824.18
8.4.110.0070.00322.39
8.4.100.0130.00817.87
8.4.90.0110.00818.79
8.4.80.0130.00717.83
8.4.70.0180.00417.93
8.4.60.0100.00520.55
8.4.50.0040.00519.70
8.4.40.0160.00319.61
8.4.30.0140.00718.33
8.4.20.0100.01020.70
8.4.10.0100.01019.61
8.3.250.0100.00518.82
8.3.240.0090.00917.06
8.3.230.0090.01016.60
8.3.220.0080.01017.14
8.3.210.0110.00816.57
8.3.200.0020.00616.62
8.3.190.0100.01018.83
8.3.180.0100.00918.34
8.3.170.0070.01120.67
8.3.160.0120.00618.52
8.3.150.0000.00918.60
8.3.140.0030.00516.99
8.3.130.0060.00318.46
8.3.120.0120.00620.66
8.3.110.0080.00016.73
8.3.100.0160.00018.50
8.3.90.0000.01626.77
8.3.80.0090.00016.75
8.3.70.0160.00016.63
8.3.60.0140.00418.30
8.3.50.0090.01016.49
8.3.40.0110.00419.02
8.3.30.0090.00618.47
8.3.20.0000.00821.71
8.3.10.0040.00721.90
8.3.00.0080.00023.66
8.2.290.0120.00720.32
8.2.280.0120.00520.47
8.2.270.0140.00417.19
8.2.260.0090.00916.80
8.2.250.0030.00516.71
8.2.240.0070.01018.95
8.2.230.0060.00320.94
8.2.220.0060.00337.54
8.2.210.0030.00526.77
8.2.200.0040.00416.63
8.2.190.0150.00616.63
8.2.180.0040.01125.92
8.2.170.0070.01018.79
8.2.160.0100.00322.96
8.2.150.0000.00924.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.95
8.2.110.0040.00422.30
8.2.100.0070.00417.78
8.2.90.0040.00417.75
8.2.80.0060.00318.69
8.2.70.0060.00317.63
8.2.60.0000.00817.63
8.2.50.0000.00817.55
8.2.40.0040.00422.32
8.2.30.0070.00019.27
8.2.20.0000.00718.01
8.2.10.0050.00319.00
8.2.00.0040.00419.16
8.1.330.0120.00721.88
8.1.320.0080.01116.41
8.1.310.0140.00318.44
8.1.300.0060.00318.14
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0080.00022.51
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0040.00722.73
8.1.230.0110.00020.85
8.1.220.0030.00518.43
8.1.210.0060.00318.77
8.1.200.0030.00617.10
8.1.190.0050.00317.23
8.1.180.0050.00318.10
8.1.170.0030.00518.65
8.1.160.0000.00718.88
8.1.150.0050.00218.69
8.1.140.0040.00418.79
8.1.130.0070.00020.00
8.1.120.0070.00017.40
8.1.110.0070.00017.31
8.1.100.0080.00017.36
8.1.90.0050.00217.30
8.1.80.0000.00817.27
8.1.70.0030.00317.26
8.1.60.0040.00417.40
8.1.50.0030.00517.37
8.1.40.0080.00017.36
8.1.30.0040.00417.50
8.1.20.0060.00317.52
8.1.10.0040.00417.43
8.1.00.0050.00317.40
8.0.300.0000.00818.77
8.0.290.0070.00016.63
8.0.280.0030.00318.39
8.0.270.0030.00317.09
8.0.260.0040.00418.44
8.0.250.0030.00316.88
8.0.240.0030.00516.96
8.0.230.0000.00816.96
8.0.220.0030.00316.90
8.0.210.0050.00216.88
8.0.200.0000.00916.96
8.0.190.0000.00717.00
8.0.180.0000.00816.83
8.0.170.0060.00316.84
8.0.160.0000.00816.95
8.0.150.0070.00016.90
8.0.140.0070.00016.89
8.0.130.0090.00013.33
8.0.120.0000.00916.89
8.0.110.0030.00516.78
8.0.100.0040.00416.99
8.0.90.0040.00416.86
8.0.80.0070.00716.87
8.0.70.0040.00416.71
8.0.60.0080.00016.91
8.0.50.0000.00716.89
8.0.30.0060.01016.96
8.0.20.0110.01117.19
8.0.10.0070.00016.91
8.0.00.0070.01116.73
7.4.330.0000.00515.55
7.4.320.0030.00316.41
7.4.300.0040.00516.51
7.4.290.0030.00516.40
7.4.280.0000.00816.58
7.4.270.0030.00516.52
7.4.260.0050.00216.34
7.4.250.0040.00416.52
7.4.240.0040.00316.48
7.4.230.0050.00316.59
7.4.220.0020.00516.21
7.4.210.0040.01116.58
7.4.200.0030.00316.63
7.4.160.0100.00616.39
7.4.130.0130.00716.53
7.4.120.0170.01016.47
7.4.110.0100.00716.45
7.4.100.0100.00716.50
7.4.90.0090.00916.27
7.4.80.0130.00919.39
7.4.70.0140.00316.38
7.4.60.0000.01716.44
7.4.50.0040.00816.59
7.4.40.0030.01316.32
7.4.00.0040.01415.09
7.3.330.0050.00013.13
7.3.320.0000.00713.11
7.3.310.0000.00816.32
7.3.300.0000.00716.27
7.3.290.0030.00316.36
7.3.280.0120.00416.29
7.3.260.0130.00516.43
7.3.230.0210.01016.52
7.3.210.0100.01016.22
7.3.200.0060.01616.32
7.3.190.0070.01116.35
7.3.180.0150.00316.32
7.3.170.0070.01116.37
7.3.160.0090.00616.28
7.3.120.0030.01514.53
7.3.110.0070.01014.79
7.3.100.0040.01414.34
7.3.90.0030.00714.78
7.3.80.0070.00715.05
7.3.70.0060.00914.64
7.3.60.0020.01214.80
7.3.50.0080.00914.76
7.3.40.0110.00814.73
7.3.30.0080.00714.51
7.3.20.0070.01215.62
7.3.10.0110.00815.47
7.3.00.0100.01015.54
7.2.330.0140.00416.46
7.2.320.0080.01116.56
7.2.310.0080.00816.46
7.2.300.0070.01016.45
7.2.290.0140.00516.42
7.2.240.0070.01315.04
7.2.230.0040.01115.02
7.2.220.0070.01015.04
7.2.210.0030.01014.76
7.2.200.0030.00915.08
7.2.190.0080.00814.69
7.2.180.0050.00914.82
7.2.170.0080.00714.80
7.2.160.0060.00914.95
7.2.150.0080.01115.62
7.2.140.0070.01015.87
7.2.130.0780.00615.74
7.2.120.0050.01015.77
7.2.110.0100.01115.83
7.2.100.0130.00715.86
7.2.90.0080.01315.79
7.2.80.0070.01015.87
7.2.70.0050.01215.57
7.2.60.0130.00615.81
7.2.50.0130.00515.78
7.2.40.0060.01015.73
7.2.30.0080.00615.83
7.2.20.0080.00615.88
7.2.10.0070.00715.83
7.2.00.0170.00915.84
7.1.330.0070.01115.69
7.1.320.0060.01215.27
7.1.310.0070.00715.51
7.1.300.0060.00814.71
7.1.290.0110.00314.62
7.1.280.0070.00914.69
7.1.270.0140.00514.39
7.1.260.0060.00614.65
7.1.250.0050.01314.64

preferences:
34.01 ms | 403 KiB | 5 Q