3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump($http_response_headers); file_get_contents('http://www.example.com/'); var_dump($http_response_headers); file_get_contents('htp://www.example.com'); var_dump($http_response_headers);

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.0110.00718.43
8.3.60.0180.00317.00
8.3.50.0150.00721.27
8.3.40.0120.00619.01
8.3.30.0070.00719.02
8.3.20.0000.00820.47
8.3.10.0050.00323.90
8.3.00.0040.00424.04
8.2.190.0070.00716.86
8.2.180.0040.01818.54
8.2.170.0040.01218.77
8.2.160.0100.00322.96
8.2.150.0090.00024.18
8.2.140.0060.00324.66
8.2.130.0050.00321.25
8.2.120.0040.00426.35
8.2.110.0090.00022.57
8.2.100.0120.00018.05
8.2.90.0030.00619.36
8.2.80.0060.00317.97
8.2.70.0110.00017.75
8.2.60.0070.00418.16
8.2.50.0030.00618.07
8.2.40.0050.00520.75
8.2.30.0000.00720.70
8.2.20.0030.00617.70
8.2.10.0050.00318.20
8.2.00.0030.00518.21
8.1.280.0070.01025.92
8.1.270.0070.01420.62
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0030.00624.15
8.1.230.0040.00919.13
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.01017.36
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0080.00018.77
8.1.160.0000.00720.84
8.1.150.0000.00719.03
8.1.140.0000.00819.56
8.1.130.0000.00717.79
8.1.120.0000.00717.51
8.1.110.0050.00317.44
8.1.100.0040.00417.46
8.1.90.0040.00417.61
8.1.80.0070.00017.46
8.1.70.0080.00017.37
8.1.60.0000.00817.59
8.1.50.0000.00817.45
8.1.40.0030.00517.62
8.1.30.0030.00617.62
8.1.20.0030.00617.69
8.1.10.0070.00017.64
8.1.00.0030.00517.54
8.0.300.0040.00418.77
8.0.290.0000.00816.88
8.0.280.0080.00018.61
8.0.270.0070.00017.39
8.0.260.0000.00617.40
8.0.250.0000.00717.19
8.0.240.0000.00717.05
8.0.230.0000.00717.05
8.0.220.0000.00916.99
8.0.210.0000.00916.99
8.0.200.0030.00517.13
8.0.190.0000.00717.09
8.0.180.0050.00216.98
8.0.170.0030.00517.06
8.0.160.0040.00416.89
8.0.150.0020.00517.00
8.0.140.0060.00316.91
8.0.130.0000.00613.55
8.0.120.0080.00016.99
8.0.110.0080.00017.08
8.0.100.0040.00417.05
8.0.90.0080.00017.07
8.0.80.0060.01017.14
8.0.70.0000.00816.94
8.0.60.0030.00517.14
8.0.50.0080.00017.11
8.0.30.0080.01017.06
8.0.20.0120.01017.40
8.0.10.0070.00017.05
8.0.00.0120.00816.89
7.4.330.0050.00017.11
7.4.320.0000.00616.68
7.4.300.0030.00316.59
7.4.290.0070.00016.50
7.4.280.0050.00316.58
7.4.270.0080.00016.52
7.4.260.0030.00316.59
7.4.250.0000.00916.57
7.4.240.0020.00516.70
7.4.230.0070.00016.60
7.4.220.0110.01116.64
7.4.210.0100.00716.65
7.4.200.0040.00416.45
7.4.160.0090.00616.73
7.4.150.0080.01217.40
7.4.140.0140.00617.86
7.4.130.0090.00916.62
7.4.120.0050.01416.56
7.4.110.0110.00716.60
7.4.100.0130.00716.71
7.4.90.0070.01116.67
7.4.80.0070.01019.39
7.4.70.0080.00816.56
7.4.60.0170.00016.58
7.4.50.0100.00716.56
7.4.40.0130.01016.73
7.4.30.0140.00716.55
7.4.00.0120.00315.02
7.3.330.0000.00513.47
7.3.320.0030.00313.26
7.3.310.0080.00016.64
7.3.300.0000.00716.50
7.3.290.0100.00516.51
7.3.280.0070.01116.54
7.3.270.0110.00817.40
7.3.260.0190.00616.53
7.3.250.0090.01316.44
7.3.240.0120.00616.62
7.3.230.0090.00916.47
7.3.210.0180.00016.64
7.3.200.0070.01116.33
7.3.190.0150.00716.48
7.3.180.0070.01016.38
7.3.170.0110.00616.42
7.3.160.0050.01116.59
7.2.330.0160.00316.82
7.2.320.0120.00916.79
7.2.310.0170.00316.56
7.2.300.0060.01216.77
7.2.290.0040.01516.76
7.2.60.0040.01116.41
7.2.00.0040.01119.46
7.1.200.0060.00915.93
7.1.100.0000.00818.27
7.1.70.0000.01017.46
7.1.60.0180.00719.52
7.1.50.0120.00917.17
7.1.00.0030.07322.62
7.0.200.0040.00417.08
7.0.60.0070.05020.30
7.0.50.0030.08018.05
7.0.40.0070.07720.64
7.0.30.0370.06720.46
7.0.20.0400.07720.51
7.0.10.0100.08320.54
7.0.00.0070.05320.47
5.6.280.0030.03021.32
5.6.210.0170.07320.96
5.6.200.0030.04718.74
5.6.190.0200.06020.97
5.6.180.0330.07021.09
5.6.170.0270.05320.83
5.6.160.0070.08720.82
5.6.150.0070.08318.57
5.6.140.0130.07718.48
5.6.130.0100.06318.57
5.6.120.0070.08321.42
5.6.110.0030.08721.49
5.6.100.0070.08321.48
5.6.90.0100.07021.41
5.6.80.0000.04320.82
5.5.350.0270.04320.83
5.5.340.0030.06718.25
5.5.330.0130.08020.89
5.5.320.0270.04020.63
5.5.310.0300.08020.62
5.5.300.0000.07718.26
5.5.290.0070.07018.40
5.5.280.0030.08721.14
5.5.270.0030.06321.07
5.5.260.0170.05021.14
5.5.250.0030.06320.86
5.5.240.0300.05720.39

preferences:
43.66 ms | 401 KiB | 5 Q