3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_end_clean(); header("Connection: close"); ignore_user_abort(); // optional ob_start(); echo ('Text the user will see'); $size = ob_get_length(); header("Content-Length: $size"); ob_end_flush(); // Strange behaviour, will not work flush();            // Unless both are called ! // Do processing here sleep(30);echo('Text user will never see');?>

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.0080.00616.36
8.3.50.0050.01322.70
8.3.40.0080.00618.71
8.3.30.0030.01019.18
8.3.20.0040.00420.26
8.3.10.0080.00023.45
8.3.00.0110.00017.38
8.2.180.0180.00316.63
8.2.170.0050.00922.96
8.2.160.0030.01020.57
8.2.150.0060.00324.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0060.00321.03
8.2.110.0100.00022.08
8.2.100.0060.00618.09
8.2.90.0040.00419.40
8.2.80.0000.00817.97
8.2.70.0040.00417.47
8.2.60.0060.00617.66
8.2.50.0060.00318.07
8.2.40.0040.00418.09
8.2.30.0070.00418.14
8.2.20.0020.00517.69
8.2.10.0030.00517.95
8.2.00.0000.00717.69
8.1.280.0140.00025.92
8.1.270.0080.00023.85
8.1.260.0040.00426.35
8.1.250.0060.00328.09
8.1.240.0090.00023.83
8.1.230.0080.00318.84
8.1.220.0050.00317.74
8.1.210.0050.00218.77
8.1.200.0080.00017.35
8.1.190.0080.00017.23
8.1.180.0050.00318.10
8.1.170.0020.00518.34
8.1.160.0040.00421.89
8.1.150.0050.00318.88
8.1.140.0050.00217.51
8.1.130.0020.00417.77
8.1.120.0070.00017.49
8.1.110.0040.00417.43
8.1.100.0000.00717.45
8.1.90.0020.00517.48
8.1.80.0080.00017.38
8.1.70.0020.00417.35
8.1.60.0060.00317.60
8.1.50.0000.00917.45
8.1.40.0050.00217.44
8.1.30.0080.00017.59
8.1.20.0030.00617.63
8.1.10.0000.00717.53
8.1.00.0030.00517.54
8.0.300.0040.00418.77
8.0.290.0050.00216.63
8.0.280.0070.00018.34
8.0.270.0080.00017.15
8.0.260.0000.00617.19
8.0.250.0070.00016.80
8.0.240.0000.00716.95
8.0.230.0080.00016.88
8.0.220.0030.00516.86
8.0.210.0070.00016.83
8.0.200.0030.00516.96
8.0.190.0060.00316.76
8.0.180.0040.00416.89
8.0.170.0090.00016.97
8.0.160.0000.00716.86
8.0.150.0040.00416.71
8.0.140.0000.00816.82
8.0.130.0060.00013.47
8.0.120.0000.00816.74
8.0.110.0000.00716.73
8.0.100.0030.00516.77
8.0.90.0040.00416.79
8.0.80.0100.01416.84
8.0.70.0050.00216.71
8.0.60.0000.00716.62
8.0.50.0080.00016.80
8.0.30.0090.00916.86
8.0.20.0140.00417.40
8.0.10.0070.00016.95
8.0.00.0130.00616.63
7.4.330.0060.00015.08
7.4.320.0000.00616.31
7.4.300.0060.00016.42
7.4.290.0000.00716.39
7.4.280.0040.00416.23
7.4.270.0030.00316.32
7.4.260.0000.01016.20
7.4.250.0000.00816.39
7.4.240.0020.00616.37
7.4.230.0000.00716.45
7.4.220.0140.00316.42
7.4.210.0030.00916.34
7.4.200.0020.00516.11
7.4.160.0110.00416.32
7.4.150.0110.00717.40
7.4.140.0150.00417.86
7.4.130.0170.00316.39
7.4.120.0120.00416.42
7.4.110.0130.00316.20
7.4.100.0130.00316.43
7.4.90.0030.01316.37
7.4.80.0080.01119.39
7.4.70.0080.00716.38
7.4.60.0090.00916.33
7.4.50.0000.00816.29
7.4.40.0060.01016.54
7.4.30.0130.00316.36
7.4.00.0000.01215.05
7.3.330.0000.00613.11
7.3.320.0030.00313.13
7.3.310.0020.00416.01
7.3.300.0030.00315.94
7.3.290.0110.00816.09
7.3.280.0100.00616.15
7.3.270.0110.01117.40
7.3.260.0120.00616.45
7.3.250.0120.00516.21
7.3.240.0100.00716.15
7.3.230.0080.00816.39
7.3.210.0110.00516.07
7.3.200.0060.01119.39
7.3.190.0120.00416.38
7.3.180.0060.00916.07
7.3.170.0110.00416.34
7.3.160.0070.00716.22
7.2.330.0080.00816.39
7.2.320.0110.00516.53
7.2.310.0040.01216.29
7.2.300.0080.00816.55
7.2.290.0150.00016.32
7.2.60.0060.00616.84
7.2.00.0160.00319.07
7.1.200.0040.00715.43
7.1.100.0080.00817.73
7.1.70.0060.00916.84
7.1.60.0130.01019.40
7.1.50.0110.00717.11
7.1.00.0000.08022.22
7.0.200.0000.00716.58
7.0.140.0130.06022.10
7.0.60.0070.07019.93
7.0.50.0130.07717.74
7.0.40.0030.04319.87
7.0.30.0270.07319.89
7.0.20.0270.08019.95
7.0.10.0270.03720.02
7.0.00.0100.08319.97
5.6.280.0000.07721.14
5.6.210.0130.07720.54
5.6.200.0100.05718.16
5.6.190.0070.06720.36
5.6.180.0170.04720.32
5.6.170.0370.06720.26
5.6.160.0130.05020.27
5.6.150.0070.03718.07
5.6.140.0070.08018.05
5.6.130.0030.08717.91
5.6.120.0030.07020.99
5.6.110.0100.08320.93
5.6.100.0100.08020.86
5.6.90.0100.03720.96
5.6.80.0130.07720.47
5.6.70.3970.03720.55
5.5.350.0100.07720.32
5.5.340.0000.04717.95
5.5.330.0030.04320.13
5.5.320.0230.05020.07
5.5.310.0200.07020.09
5.5.300.0000.08717.72
5.5.290.0070.05017.93
5.5.280.0100.07320.87
5.5.270.0070.08320.86
5.5.260.0130.06020.96
5.5.250.0100.07720.52
5.5.240.0100.07320.00
5.4.450.0270.05019.37
5.4.440.3900.03319.28
5.4.430.0230.06719.13
5.4.420.0270.03319.28
5.4.410.0200.03719.37
5.4.400.0230.06019.18
5.4.390.3330.03719.05
5.4.380.0300.05319.01
5.4.370.0370.03718.96
5.4.360.0400.04019.00
5.4.350.0370.03018.96
5.4.340.0200.04019.16
5.4.320.0270.05318.85
5.4.310.0430.04718.90
5.4.300.0130.04318.96
5.4.290.0400.03719.05
5.4.280.0600.04318.95
5.4.270.0530.06018.91
5.4.260.0530.04319.00
5.4.250.0270.06018.85
5.4.240.0300.06719.14
5.4.230.0300.06718.80
5.4.220.0300.06318.70
5.4.210.0130.04019.17
5.4.200.0230.07318.98
5.4.190.0270.03718.73
5.4.180.0370.08318.84
5.4.170.0200.04718.98
5.4.160.0170.03718.79
5.4.150.3430.03718.94
5.4.140.2530.03316.28
5.4.130.0130.04716.43
5.4.120.0430.04316.12
5.4.110.0130.07316.30
5.4.100.0200.07316.47
5.4.90.0300.06016.30
5.4.80.0100.05716.29
5.4.70.0000.03716.28
5.4.60.0000.03716.34
5.4.50.0000.05716.12
5.4.40.0100.04316.23
5.4.30.0170.03716.23
5.4.20.0230.06716.14
5.4.10.0130.07016.36
5.4.00.4030.03315.96
5.3.290.5630.05015.82
5.3.280.3530.03315.84
5.3.270.4000.03315.84
5.3.260.4170.04014.30
5.3.250.0000.06314.52
5.3.240.0130.04314.28
5.3.230.0130.04314.30
5.3.220.3700.02714.25
5.3.210.0270.03314.48
5.3.200.0230.04714.31
5.3.190.2600.02714.36
5.3.180.0000.05314.25
5.3.170.0000.03714.34
5.3.160.0400.05714.25
5.3.150.0330.07014.26
5.3.140.0370.03314.23
5.3.130.0370.06314.22
5.3.120.0300.03714.36
5.3.110.0530.05714.34
5.3.100.3170.03713.82
5.3.90.0270.04013.71
5.3.80.0370.04313.80
5.3.70.0370.04313.65

preferences:
47.74 ms | 401 KiB | 5 Q