3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); // set url curl_setopt($ch, CURLOPT_URL, "google.com"); //return the transfer as a string curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); // $output contains the output string $output = curl_exec($ch); // close curl resource to free up system resources curl_close($ch); ?>

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.70.0120.00316.50
8.3.60.0070.01416.38
8.3.50.0060.01222.06
8.3.40.0070.01118.71
8.3.30.0170.00019.04
8.3.20.0070.00020.52
8.3.10.0070.00023.52
8.3.00.0040.00420.67
8.2.190.0060.00918.29
8.2.180.0100.01016.34
8.2.170.0070.01322.96
8.2.160.0140.00022.18
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.28
8.2.110.0060.00322.25
8.2.100.0120.00017.78
8.2.90.0030.00519.27
8.2.80.0080.00017.97
8.2.70.0030.00617.50
8.2.60.0080.00017.80
8.2.50.0080.00018.07
8.2.40.0070.00019.36
8.2.30.0040.00418.02
8.2.20.0000.00817.57
8.2.10.0000.00717.57
8.2.00.0040.00417.74
8.1.280.0110.00725.92
8.1.270.0100.00323.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00323.80
8.1.230.0040.00719.00
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0030.00517.39
8.1.180.0050.00318.10
8.1.170.0040.00418.57
8.1.160.0040.00421.96
8.1.150.0050.00218.50
8.1.140.0080.00017.32
8.1.130.0000.00717.68
8.1.120.0000.00717.30
8.1.110.0030.00517.31
8.1.100.0000.00817.32
8.1.90.0000.00717.24
8.1.80.0040.00417.31
8.1.70.0030.00317.20
8.1.60.0000.00717.34
8.1.50.0000.00817.42
8.1.40.0040.00417.49
8.1.30.0090.00017.52
8.1.20.0000.00817.44
8.1.10.0000.00717.51
8.1.00.0000.00817.43
8.0.300.0030.00318.77
8.0.290.0040.00417.05
8.0.280.0070.00018.38
8.0.270.0030.00317.23
8.0.260.0000.00616.83
8.0.250.0070.00016.84
8.0.240.0070.00016.95
8.0.230.0040.00416.98
8.0.220.0000.00716.79
8.0.210.0040.00416.88
8.0.200.0070.00316.95
8.0.190.0000.00716.97
8.0.180.0030.00716.92
8.0.170.0060.00316.82
8.0.160.0040.00416.88
8.0.150.0070.00016.81
8.0.140.0070.00016.74
8.0.130.0050.00013.34
8.0.120.0000.00816.84
8.0.110.0000.00716.81
8.0.100.0000.00716.79
8.0.90.0070.00016.79
8.0.80.0060.01516.91
8.0.70.0040.00416.85
8.0.60.0000.00816.93
8.0.50.0000.00716.87
8.0.30.0110.00816.95
8.0.20.0100.00917.40
8.0.10.0070.00016.84
8.0.00.0100.00716.73
7.4.330.0030.00315.00
7.4.320.0000.00716.51
7.4.300.0040.00416.52
7.4.290.0000.00716.50
7.4.280.0000.00716.55
7.4.270.0000.00716.42
7.4.260.0000.00716.32
7.4.250.0000.00716.29
7.4.240.0040.00316.39
7.4.230.0040.00416.34
7.4.220.0100.01316.62
7.4.210.0070.00916.47
7.4.200.0030.00316.60
7.4.190.0030.00316.46
7.4.160.0130.00316.73
7.4.150.0120.00917.40
7.4.140.0110.00717.86
7.4.130.0120.00816.50
7.4.120.0080.00916.50
7.4.110.0100.00716.57
7.4.100.0070.01016.30
7.4.90.0100.00716.50
7.4.80.0130.01016.53
7.4.70.0070.01016.60
7.4.60.0160.00016.33
7.4.50.0050.00316.32
7.4.40.0070.01122.77
7.4.30.0100.00616.36
7.4.00.0100.00714.75
7.3.330.0030.00313.19
7.3.320.0030.00313.16
7.3.310.0080.00016.25
7.3.300.0030.00316.25
7.3.290.0090.00816.30
7.3.280.0050.01216.31
7.3.270.0070.01017.40
7.3.260.0120.00816.20
7.3.250.0140.00616.41
7.3.240.0100.00616.14
7.3.230.0070.01416.42
7.3.210.0100.00716.25
7.3.200.0120.00819.39
7.3.190.0070.01716.44
7.3.180.0030.01216.29
7.3.170.0060.00916.35
7.3.160.0120.00316.26
7.3.120.0090.00614.68
7.2.330.0070.01016.50
7.2.320.0120.01316.52
7.2.310.0080.00916.30
7.2.300.0060.01216.58
7.2.290.0030.01316.31
7.2.60.0090.00316.52
7.2.00.0030.01019.23
7.1.200.0100.00315.71
7.1.100.0110.00717.66
7.1.70.0030.00517.00
7.1.60.0070.01719.29
7.1.50.0000.02416.77
7.1.00.0000.10022.43
7.0.200.0040.00716.60
7.0.140.0070.06722.18
7.0.60.0070.08319.87
7.0.50.0170.07017.89
7.0.40.0070.07020.04
7.0.30.0300.04720.21
7.0.20.0230.05320.12
7.0.10.0100.08319.95
7.0.00.0030.05320.16
5.6.280.0000.07720.90
5.6.210.0030.04320.66
5.6.200.0030.05018.11
5.6.190.0000.04720.41
5.6.180.0300.07720.77
5.6.170.0370.06320.50
5.6.160.0100.05320.33
5.6.150.0130.04318.13
5.6.140.0030.05318.11
5.6.130.0100.03718.12
5.6.120.0070.04320.95
5.6.110.0070.04021.12
5.6.100.0000.05721.08
5.6.90.0100.06721.12
5.6.80.0130.07720.50
5.5.350.0400.06320.39
5.5.340.0070.07717.88
5.5.330.0030.04020.37
5.5.320.0230.08320.20
5.5.310.0470.06720.20
5.5.300.0100.05017.88
5.5.290.0100.07717.95
5.5.280.0100.08020.68
5.5.270.0000.04320.82
5.5.260.0000.04320.86
5.5.250.0100.08020.57
5.5.240.0070.07320.17
5.4.450.0370.04019.10
5.4.440.0170.03719.41
5.4.430.0830.03019.20
5.4.420.1530.03719.10
5.4.410.0470.04319.32
5.4.400.1100.03718.89
5.4.390.0970.04018.93
5.4.380.0430.05718.68
5.4.370.0430.06018.69
5.4.360.0400.06318.50
5.4.350.0530.05718.70
5.4.340.0270.06018.70
5.4.320.0070.04012.45
5.4.310.0050.04812.45
5.4.300.0050.03712.45
5.4.290.0020.04012.45
5.4.280.0070.05312.32
5.4.270.0060.05412.32
5.4.260.0080.05612.32
5.4.250.0060.05612.32
5.4.240.0100.05012.32
5.4.230.0070.05312.32
5.4.220.0060.05412.32
5.4.210.0110.05312.32
5.4.200.0100.05312.32
5.4.190.0100.05312.31
5.4.180.0140.04812.31
5.4.170.0090.05412.32
5.4.160.0090.05012.32
5.4.150.0070.05012.31
5.4.140.0070.05212.00
5.4.130.0080.04811.99
5.4.120.0100.04511.94
5.4.110.0060.04811.94
5.4.100.0130.03911.94
5.4.90.0100.04311.94
5.4.80.0060.04511.94
5.4.70.0050.05111.94
5.4.60.0080.05011.94
5.4.50.0060.05411.94
5.4.40.0080.05111.93
5.4.30.0070.04911.92
5.4.20.0080.05011.93
5.4.10.0100.04711.93
5.4.00.0060.05511.41
5.3.290.0050.04412.80
5.3.280.0080.07112.71
5.3.270.0070.05612.72
5.3.260.0080.05612.72
5.3.250.0060.05612.72
5.3.240.0070.05812.72
5.3.230.0080.05712.70
5.3.220.0090.05512.68
5.3.210.0120.05112.68
5.3.200.0090.05212.68
5.3.190.0140.04512.68
5.3.180.0090.04912.67
5.3.170.0090.04912.67
5.3.160.0080.04312.68
5.3.150.0050.04112.68
5.3.140.0060.04612.66
5.3.130.0110.05212.66
5.3.120.0090.05212.66
5.3.110.0110.05012.66
5.3.100.0110.04612.12
5.3.90.0060.05212.09
5.3.80.0110.05912.08
5.3.70.0090.05512.07
5.3.60.0070.05212.06
5.3.50.0110.04612.00
5.3.40.0120.04512.00
5.3.30.0140.08211.94
5.3.20.0090.07011.70
5.3.10.0100.05011.66
5.3.00.0100.05111.66
5.2.170.0080.0419.15
5.2.160.0140.0439.15
5.2.150.0120.0499.15
5.2.140.0070.0529.15
5.2.130.0080.0469.11
5.2.120.0060.0439.11
5.2.110.0050.0449.11
5.2.100.0090.0409.12
5.2.90.0080.0409.11
5.2.80.0070.0439.11
5.2.70.0060.0469.11
5.2.60.0090.0439.06
5.2.50.0110.0389.04
5.2.40.0050.0409.00
5.2.30.0050.0468.99
5.2.20.0070.0398.96
5.2.10.0070.0398.89
5.2.00.0060.0418.76
5.1.60.0030.0378.05
5.1.50.0080.0328.05
5.1.40.0100.0318.03
5.1.30.0070.0388.37
5.1.20.0060.0308.40
5.1.10.0060.0358.13
5.1.00.0050.0318.12
5.0.50.0020.0236.60
5.0.40.0030.0216.46
5.0.30.0030.0356.27
5.0.20.0040.0196.25
5.0.10.0030.0216.22
5.0.00.0110.0306.21
4.4.90.0050.0214.78
4.4.80.0070.0194.76
4.4.70.0060.0234.76
4.4.60.0050.0234.75
4.4.50.0050.0244.77
4.4.40.0050.0324.70
4.4.30.0040.0204.76
4.4.20.0050.0214.84
4.4.10.0040.0164.85
4.4.00.0020.0264.76
4.3.110.0040.0144.67
4.3.100.0030.0154.66
4.3.90.0050.0184.63
4.3.80.0040.0384.59
4.3.70.0060.0164.63
4.3.60.0050.0174.63
4.3.50.0030.0184.62
4.3.40.0020.0304.53
4.3.30.0050.0213.27
4.3.20.0040.0213.25
4.3.10.0030.0193.21
4.3.00.0370.01013.64

preferences:
38.01 ms | 401 KiB | 5 Q