3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Location: /loc1'); echo 'aaaaa'; sleep(10); header('Location: /loc2');

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.0150.00416.38
8.3.50.0090.00822.78
8.3.40.0100.00718.42
8.3.30.0090.00419.01
8.3.20.0060.00320.30
8.3.10.0060.00323.61
8.3.00.0040.00419.08
8.2.180.0060.00916.32
8.2.170.0140.00022.96
8.2.160.0070.00720.40
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00422.12
8.2.110.0020.00819.31
8.2.100.0100.00319.36
8.2.90.0040.00419.02
8.2.80.0040.00417.97
8.2.70.0000.00817.48
8.2.60.0070.00017.91
8.2.50.0040.00418.07
8.2.40.0040.00419.66
8.2.30.0070.00018.05
8.2.20.0070.00017.62
8.2.10.0040.00418.02
8.2.00.0050.00217.99
8.1.280.0140.00325.92
8.1.270.0050.01020.39
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00322.81
8.1.230.0110.00017.42
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00217.22
8.1.190.0040.00416.88
8.1.180.0080.00018.10
8.1.170.0030.00620.35
8.1.160.0030.00521.92
8.1.150.0050.00318.83
8.1.140.0020.00517.30
8.1.130.0000.00717.73
8.1.120.0020.00517.36
8.1.110.0040.00417.29
8.1.100.0040.00417.29
8.1.90.0050.00217.45
8.1.80.0030.00317.31
8.1.70.0080.00017.38
8.1.60.0030.00517.48
8.1.50.0100.00017.38
8.1.40.0040.00417.33
8.1.30.0040.00417.54
8.1.20.0040.00417.48
8.1.10.0070.00017.50
8.1.00.0100.00017.44
8.0.300.0000.00718.77
8.0.290.0080.00016.58
8.0.280.0070.00018.37
8.0.270.0030.00317.12
8.0.260.0070.00017.14
8.0.250.0030.00316.68
8.0.240.0040.00416.80
8.0.230.0020.00516.79
8.0.220.0050.00316.63
8.0.210.0020.00516.57
8.0.200.0060.00016.60
8.0.190.0040.00416.64
8.0.180.0050.00516.68
8.0.170.0080.00016.57
8.0.160.0000.00716.69
8.0.150.0030.00416.68
8.0.140.0030.00416.54
8.0.130.0020.00413.19
8.0.120.0050.00316.51
8.0.110.0000.00716.54
8.0.100.0070.00016.68
8.0.90.0040.00416.59
8.0.80.0100.01016.54
8.0.70.0000.00816.70
8.0.60.0000.00716.54
8.0.50.0000.00816.47
8.0.30.0080.01116.99
8.0.20.0110.00817.40
8.0.10.0050.00316.59
8.0.00.0090.00816.58
7.4.330.0030.00315.03
7.4.320.0030.00316.15
7.4.300.0040.00416.22
7.4.290.0040.00416.38
7.4.280.0030.00516.36
7.4.270.0070.00016.32
7.4.260.0040.00416.32
7.4.250.0050.00316.30
7.4.240.0040.00316.21
7.4.230.0070.00016.37
7.4.220.0190.00316.35
7.4.210.0080.00516.30
7.4.200.0000.00716.43
7.4.160.0070.00716.07
7.4.150.0110.00617.40
7.4.140.0120.01117.86
7.4.130.0100.00816.23
7.4.120.0110.00916.34
7.4.110.0040.01916.32
7.4.100.0120.00616.10
7.4.90.0080.00816.21
7.4.80.0140.00319.39
7.4.70.0140.00316.31
7.4.60.0090.00616.20
7.4.50.0030.00316.34
7.4.40.0060.01116.36
7.4.30.0110.00616.36
7.4.00.0060.00915.07
7.3.330.0030.00212.89
7.3.320.0060.00012.89
7.3.310.0030.00315.94
7.3.300.0030.00316.05
7.3.290.0040.00215.96
7.3.280.0060.01015.94
7.3.270.0080.00817.40
7.3.260.0120.00616.10
7.3.250.0080.01016.12
7.3.240.0060.01016.00
7.3.230.0130.00516.39
7.3.210.0040.01216.21
7.3.200.0090.00619.39
7.3.190.0080.00816.12
7.3.180.0120.00916.26
7.3.170.0080.00816.27
7.3.160.0060.01416.16
7.2.330.0080.00816.33
7.2.320.0190.00316.30
7.2.310.0030.01416.44
7.2.300.0060.01516.30
7.2.290.0110.01116.45
7.2.60.0000.01216.89
7.2.00.0000.01519.17
7.1.200.0060.00815.71
7.1.100.0000.01018.17
7.1.70.0070.00716.66
7.1.60.0040.01919.48
7.1.50.0070.01616.69
7.1.00.0100.07022.36
7.0.200.0040.00216.67
7.0.60.0270.03719.92
7.0.50.0030.07717.82
7.0.40.0100.08319.80
7.0.30.0430.04319.95
7.0.20.0570.07019.65
7.0.10.0370.08019.73
7.0.00.0200.06019.61
5.6.280.0070.07020.75
5.6.210.0100.08020.46
5.6.200.0070.08018.12
5.6.190.0100.07020.24
5.6.180.0030.08720.24
5.6.170.0530.07020.38
5.6.160.0100.08018.15
5.6.150.0030.04718.10
5.6.140.0100.04018.14
5.6.130.0100.04318.04
5.6.120.0130.07020.97
5.6.110.0230.07020.98
5.6.100.0070.04320.95
5.6.90.0100.08320.95
5.6.80.0100.04720.51
5.5.350.0200.07720.45
5.5.340.0070.07017.86
5.5.330.0170.07720.20
5.5.320.0430.07320.15
5.5.310.0430.07020.22
5.5.300.0030.08317.93
5.5.290.0030.04017.89
5.5.280.0100.03720.86
5.5.270.0000.04720.86
5.5.260.0030.04020.64
5.5.250.0170.07720.67
5.5.240.3770.04020.15
5.4.450.0430.07019.06
5.4.440.0270.08019.38
5.4.430.0370.04319.38
5.4.420.0130.05319.43
5.4.410.0030.06319.28
5.4.400.0130.04718.80
5.4.390.0100.05318.90
5.4.380.0100.06018.85
5.4.370.0070.05718.90
5.4.360.0070.05319.02
5.4.350.0100.05318.87
5.4.340.0070.05718.85
5.4.320.0130.05319.01
5.4.310.0100.05319.02
5.4.300.0130.04718.89
5.4.290.0100.05318.85
5.4.280.0170.04318.89
5.4.270.0100.05319.06
5.4.260.0200.04318.98
5.4.250.0130.06018.88
5.4.240.0170.06019.02
5.4.230.0100.07019.07
5.4.220.0100.05318.84
5.4.210.0200.04019.00
5.4.200.0170.04016.58
5.4.190.0200.03719.04
5.4.180.0100.05018.87
5.4.170.0170.05018.96
5.4.160.0170.06318.83
5.4.150.0030.06318.99
5.4.140.0070.06716.20
5.4.130.0100.04716.20
5.4.120.0100.04716.18
5.4.110.0070.05316.47
5.4.100.0170.04716.47
5.4.90.0170.04316.36
5.4.80.0200.05716.09
5.4.70.0100.05016.38
5.4.60.0100.05316.29
5.4.50.0170.04016.25
5.4.40.0000.03716.27
5.4.30.0270.06316.11
5.4.20.0330.06016.23
5.4.10.0030.05716.11

preferences:
55.83 ms | 401 KiB | 5 Q