3v4l.org

run code in 300+ PHP versions simultaneously
<?php $test = ' <?php session_start(); $test = "test"; $_SESSION["test"] = $test; header("Refresh: 0;url=/"); ?>';

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.40.0040.01118.46
8.3.30.0150.00018.55
8.3.20.0050.00220.31
8.3.10.0000.00821.73
8.3.00.0040.00423.66
8.2.170.0140.00322.96
8.2.160.0070.00720.38
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0070.00026.16
8.2.120.0040.00419.59
8.2.110.0050.00522.26
8.2.100.0080.00417.93
8.2.90.0000.00819.08
8.2.80.0000.00817.97
8.2.70.0030.00617.50
8.2.60.0040.00417.91
8.2.50.0000.00818.07
8.2.40.0000.00922.08
8.2.30.0040.00419.42
8.2.20.0000.00717.61
8.2.10.0000.00717.98
8.2.00.0000.00718.03
8.1.270.0140.00323.82
8.1.260.0110.00326.35
8.1.250.0040.00428.09
8.1.240.0070.00323.92
8.1.230.0090.00319.15
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0060.00317.23
8.1.190.0000.00817.00
8.1.180.0040.00418.10
8.1.170.0030.00618.49
8.1.160.0030.00320.69
8.1.150.0000.00718.79
8.1.140.0000.01019.48
8.1.130.0040.00417.62
8.1.120.0000.00717.32
8.1.110.0050.00217.38
8.1.100.0000.00717.38
8.1.90.0070.00017.43
8.1.80.0070.00017.35
8.1.70.0050.00317.29
8.1.60.0030.00517.46
8.1.50.0050.00517.43
8.1.40.0080.00017.47
8.1.30.0000.00817.61
8.1.20.0060.00317.55
8.1.10.0040.00417.43
8.1.00.0000.00817.39
8.0.300.0000.00718.77
8.0.290.0000.00716.63
8.0.280.0030.00318.37
8.0.270.0000.00717.15
8.0.260.0050.00217.11
8.0.250.0000.00616.75
8.0.240.0050.00316.89
8.0.230.0000.00716.86
8.0.220.0030.00316.75
8.0.210.0030.00316.81
8.0.200.0000.00716.75
8.0.190.0000.00816.86
8.0.180.0000.00816.84
8.0.170.0000.00816.90
8.0.160.0070.00316.67
8.0.150.0070.00016.81
8.0.140.0030.00416.73
8.0.130.0060.00313.32
8.0.120.0050.00316.76
8.0.110.0040.00416.79
8.0.100.0040.00416.91
8.0.90.0050.00216.60
8.0.80.0070.00716.76
8.0.70.0040.00416.71
8.0.60.0050.00216.75
8.0.50.0050.00216.82
8.0.30.0140.00617.05
8.0.20.0090.01017.40
8.0.10.0040.00416.94
8.0.00.0070.01116.72
7.4.330.0050.00016.69
7.4.320.0000.00616.55
7.4.300.0030.00316.46
7.4.290.0000.00616.41
7.4.280.0040.00416.42
7.4.270.0040.00416.50
7.4.260.0000.00716.46
7.4.250.0040.00416.48
7.4.240.0040.00516.49
7.4.230.0070.00016.26
7.4.220.0190.00316.42
7.4.210.0000.02016.49
7.4.200.0000.00716.41
7.4.160.0050.01016.33
7.4.150.0130.00617.40
7.4.140.0110.00817.86
7.4.130.0090.00916.59
7.4.120.0050.01216.43
7.4.110.0100.00616.20
7.4.100.0090.01216.30
7.4.90.0070.01016.39
7.4.80.0150.00719.39
7.4.70.0100.00716.45
7.4.60.0160.00016.54
7.4.50.0100.00316.25
7.4.40.0130.00516.43
7.4.30.0070.01016.36
7.4.00.0070.00714.79
7.3.330.0000.00512.95
7.3.320.0030.00312.84
7.3.310.0030.00316.01
7.3.300.0030.00316.06
7.3.290.0090.00916.11
7.3.280.0090.00816.10
7.3.270.0160.00017.40
7.3.260.0130.00416.16
7.3.240.0100.00616.14
7.3.230.0150.00016.39
7.3.210.0090.00716.09
7.3.200.0110.00519.39
7.3.190.0030.01316.44
7.3.180.0100.00716.15
7.3.170.0090.00916.45
7.3.160.0150.00416.30
7.2.330.0060.01016.11
7.2.320.0130.00316.29
7.2.310.0070.01116.36
7.2.300.0080.00816.46
7.2.290.0060.01016.31
7.2.00.0040.01119.04
7.1.100.0040.00717.60
7.1.70.0040.00417.10
7.1.60.0030.02019.30
7.1.50.0250.01334.81
7.1.00.0030.07722.57
7.0.200.0000.00816.42
7.0.60.0070.03721.84
7.0.50.0130.07317.79
7.0.40.0100.07319.92
7.0.30.0300.04720.00
7.0.20.0270.08020.04
7.0.10.0000.04720.09
7.0.00.0000.06020.19
5.6.280.0030.03020.86
5.6.210.0200.06320.69
5.6.200.0100.07718.12
5.6.190.0070.07720.56
5.6.180.0330.04720.61
5.6.170.0270.07020.45
5.6.160.0030.05320.54
5.6.150.0070.03718.08
5.6.140.0030.03718.13
5.6.130.0030.05718.07
5.6.120.0030.08721.02
5.6.110.0100.08021.02
5.6.100.0130.07721.06
5.6.90.0070.09021.09
5.6.80.0030.08320.28
5.5.350.0130.04320.43
5.5.340.0030.04717.89
5.5.330.0070.03720.21
5.5.320.0300.07720.13
5.5.310.0230.05320.20
5.5.300.0130.07717.87
5.5.290.0030.04017.87
5.5.280.0070.08320.64
5.5.270.0070.04020.79
5.5.260.0100.08720.73
5.5.250.0100.05320.64
5.5.240.0070.08720.11

preferences:
49.28 ms | 400 KiB | 5 Q