3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Simulate PHP setting for output_buffering. ob_start(); assert(1 === ob_get_level()); print 'before the header'; header('AAA:BBB');

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.0090.00616.25
8.3.60.0040.01118.30
8.3.50.0070.00718.27
8.3.40.0120.00318.84
8.3.30.0070.00718.80
8.3.20.0070.00021.68
8.3.10.0070.00021.65
8.3.00.0040.00419.66
8.2.190.0100.01017.98
8.2.180.0090.01218.04
8.2.170.0040.01122.96
8.2.160.0070.00719.33
8.2.150.0060.00324.18
8.2.140.0080.00024.66
8.2.130.0060.00319.20
8.2.120.0040.00426.35
8.2.110.0030.00620.32
8.2.100.0110.00017.91
8.2.90.0000.00817.84
8.2.80.0050.00318.03
8.2.70.0000.00817.80
8.2.60.0080.00017.91
8.2.50.0020.00518.10
8.2.40.0040.00420.48
8.2.30.0040.00419.22
8.2.20.0030.00517.80
8.2.10.0000.01017.92
8.2.00.0020.00517.92
8.1.280.0140.00825.92
8.1.270.0030.00523.99
8.1.260.0000.00726.35
8.1.250.0060.00328.09
8.1.240.0070.00322.38
8.1.230.0040.00720.87
8.1.220.0000.00817.74
8.1.210.0000.00918.77
8.1.200.0030.00617.22
8.1.190.0030.00516.98
8.1.180.0040.00418.10
8.1.170.0040.00418.51
8.1.160.0030.00518.83
8.1.150.0040.00418.87
8.1.140.0070.00017.56
8.1.130.0000.00818.97
8.1.120.0040.00417.21
8.1.110.0000.00717.22
8.1.100.0100.00017.29
8.1.90.0090.00017.35
8.1.80.0000.00817.32
8.1.70.0030.00517.20
8.1.60.0050.00317.52
8.1.50.0000.00717.39
8.1.40.0040.00417.51
8.1.30.0030.00617.54
8.1.20.0040.00417.63
8.1.10.0050.00217.46
8.1.00.0030.00617.32
8.0.300.0000.00819.93
8.0.290.0040.00416.63
8.0.280.0070.00018.32
8.0.270.0030.00317.09
8.0.260.0000.00917.18
8.0.250.0030.00316.69
8.0.240.0000.00916.80
8.0.230.0030.00316.70
8.0.220.0040.00416.64
8.0.210.0030.00516.77
8.0.200.0030.00616.85
8.0.190.0050.00216.83
8.0.180.0070.00016.76
8.0.170.0090.00016.64
8.0.160.0030.00416.82
8.0.150.0040.00716.79
8.0.140.0000.00816.66
8.0.130.0000.00513.24
8.0.120.0070.00016.80
8.0.110.0000.00716.71
8.0.100.0040.00416.74
8.0.90.0000.00716.68
8.0.80.0090.00616.70
8.0.70.0070.00016.81
8.0.60.0000.00716.67
8.0.50.0000.00716.70
8.0.30.0080.00917.05
8.0.20.0090.00917.40
8.0.10.0050.00216.98
8.0.00.0100.00916.63
7.4.330.0050.00016.78
7.4.320.0060.00016.38
7.4.300.0000.00616.33
7.4.290.0030.00416.41
7.4.280.0040.00416.42
7.4.270.0040.00416.48
7.4.260.0000.00716.50
7.4.250.0030.00316.44
7.4.240.0040.00416.41
7.4.230.0030.00316.48
7.4.220.0050.00216.54
7.4.210.0100.00716.41
7.4.200.0030.00316.55
7.4.160.0100.00616.36
7.4.140.0100.00817.86
7.4.130.0140.00816.35
7.4.120.0080.01016.56
7.4.110.0160.00016.37
7.4.100.0150.00316.21
7.4.90.0080.00916.43
7.4.80.0100.01319.39
7.4.70.0100.00716.54
7.4.60.0030.01316.29
7.4.50.0060.01016.66
7.4.40.0090.01316.63
7.4.00.0100.00715.09
7.3.330.0000.00613.21
7.3.320.0060.00013.17
7.3.310.0030.00316.25
7.3.300.0030.00316.22
7.3.290.0030.00316.30
7.3.280.0120.00516.27
7.3.260.0090.00816.27
7.3.240.0080.01116.42
7.3.230.0030.01316.45
7.3.210.0030.01616.35
7.3.200.0130.00316.37
7.3.190.0070.00716.27
7.3.180.0120.00616.41
7.3.170.0100.00716.21
7.3.160.0120.00316.31
7.2.330.0170.00016.71
7.2.320.0100.01316.29
7.2.310.0070.01316.43
7.2.300.0090.00916.45
7.2.290.0120.00616.27
7.2.110.0660.00716.28
7.2.60.0030.01016.87
7.2.40.1680.01117.96
7.2.30.1850.01517.94
7.2.20.1410.01217.68
7.2.10.1730.01317.86
7.2.00.1260.01317.97
7.1.200.0030.00615.87
7.1.160.1890.01016.78
7.1.150.1900.00816.67
7.1.140.2070.01016.71
7.1.130.1460.01016.84
7.1.120.1450.01216.72
7.1.110.1580.00816.34
7.1.100.1930.01016.05
7.1.90.2200.00915.93
7.1.80.1480.01116.36
7.1.70.1540.01115.31
7.1.60.1740.01233.03
7.1.50.1720.01432.95
7.1.40.3210.01432.63
7.1.30.2090.01332.44
7.1.20.2220.01232.59
7.1.10.2010.00914.62
7.1.00.1940.01214.92

preferences:
45.79 ms | 401 KiB | 5 Q