3v4l.org

run code in 300+ PHP versions simultaneously
<?php setcookie('b', 'a', 0, array()); setcookie('b', 'a', 0, '/', '', false, false, 'lax');

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.130.0090.00018.36
8.3.120.0030.00620.66
8.3.110.0040.00416.63
8.3.100.0040.00416.83
8.3.90.0040.00416.60
8.3.80.0070.00317.97
8.3.70.0120.00616.62
8.3.60.0120.00918.30
8.3.50.0120.00518.25
8.3.40.0090.00618.82
8.3.30.0040.01118.84
8.3.20.0030.00518.95
8.3.10.0000.00721.86
8.3.00.0100.00021.73
8.2.250.0040.00416.87
8.2.240.0080.00018.93
8.2.230.0070.00320.94
8.2.220.0000.00837.54
8.2.210.0040.00426.77
8.2.200.0040.00416.88
8.2.190.0090.00618.39
8.2.180.0110.01118.54
8.2.170.0090.00922.96
8.2.160.0070.00720.27
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0080.00019.83
8.2.110.0060.00320.52
8.2.100.0060.00617.91
8.2.90.0000.00818.22
8.2.80.0050.00220.36
8.2.70.0080.00017.38
8.2.60.0000.00817.63
8.2.50.0040.00417.65
8.2.40.0040.00417.80
8.2.30.0000.00817.86
8.2.20.0040.00417.93
8.2.10.0040.00417.89
8.2.00.0040.00419.39
8.1.300.0110.00420.12
8.1.290.0060.00318.88
8.1.280.0120.00625.92
8.1.270.0080.00020.33
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.01023.73
8.1.230.0060.00623.93
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0040.00417.23
8.1.190.0000.00817.35
8.1.180.0030.00618.10
8.1.170.0080.00017.62
8.1.160.0000.01018.69
8.1.150.0050.00318.63
8.1.140.0040.00418.67
8.1.130.0040.00417.28
8.1.120.0000.00717.31
8.1.110.0040.00717.34
8.1.100.0080.00017.28
8.1.90.0040.00417.36
8.1.80.0040.00417.32
8.1.70.0070.00017.35
8.1.60.0040.00417.46
8.1.50.0000.00817.50
8.1.40.0040.00417.46
8.1.30.0030.00617.52
8.1.20.0060.00317.60
8.1.10.0000.00717.42
8.1.00.0080.00017.44
8.0.300.0040.00420.09
8.0.290.0050.00516.63
8.0.280.0000.00818.37
8.0.270.0040.00417.18
8.0.260.0060.00016.81
8.0.250.0030.00317.03
8.0.240.0040.00416.95
8.0.230.0050.00316.96
8.0.220.0030.00316.84
8.0.210.0030.00316.80
8.0.200.0000.00816.97
8.0.190.0070.00016.83
8.0.180.0040.00416.80
8.0.170.0000.00816.82
8.0.160.0040.00416.84
8.0.150.0070.00016.75
8.0.140.0000.00716.93
8.0.130.0040.00413.27
8.0.120.0040.00416.86
8.0.110.0000.00716.91
8.0.100.0020.00517.00
8.0.90.0030.00316.68
8.0.80.0140.00716.87
8.0.70.0040.00416.77
8.0.60.0000.00816.78
8.0.50.0040.00416.82
8.0.30.0070.01216.98
8.0.20.0140.00517.40
8.0.10.0000.00716.76
8.0.00.0060.01116.68
7.4.330.0000.00515.55
7.4.320.0030.00316.38
7.4.300.0060.00016.49
7.4.290.0000.00716.28
7.4.280.0040.00416.46
7.4.270.0070.00016.37
7.4.260.0000.00716.34
7.4.250.0030.00616.47
7.4.240.0000.00716.48
7.4.230.0030.00616.44
7.4.220.0050.00316.37
7.4.210.0060.01316.40
7.4.200.0000.00816.44
7.4.160.0160.00016.39
7.4.140.0100.01017.86
7.4.130.0090.00916.42
7.4.120.0090.00916.30
7.4.110.0120.01216.27
7.4.100.0120.00616.46
7.4.90.0130.00416.45
7.4.80.0100.00919.39
7.4.70.0110.00716.32
7.4.60.0060.01616.29
7.4.50.0090.00616.35
7.4.40.0110.01216.43
7.4.10.0140.00314.84
7.4.00.0020.01614.79
7.3.330.0050.00013.03
7.3.320.0050.00013.03
7.3.310.0030.00616.29
7.3.300.0000.00716.18
7.3.290.0020.00516.20
7.3.280.0070.00916.18
7.3.260.0110.01216.25
7.3.240.0110.00716.16
7.3.230.0120.00616.10
7.3.210.0060.01216.44
7.3.200.0080.00816.41
7.3.190.0170.00016.24
7.3.180.0090.00816.30
7.3.170.0160.00616.29
7.3.160.0090.00916.38
7.3.130.0080.01214.75
7.3.120.0080.01114.56
7.3.110.0050.01014.75
7.3.100.0110.00814.62
7.3.90.0020.01314.66
7.3.80.0020.00914.68
7.3.70.0110.00314.69
7.3.60.0090.00514.61
7.3.50.0070.00714.66
7.3.40.0040.01214.79
7.3.30.0080.00814.69
7.3.20.0030.00716.58
7.3.10.0070.00816.44
7.3.00.0050.00816.42
7.2.330.0070.01016.36
7.2.320.0090.00616.25
7.2.310.0100.01316.39
7.2.300.0130.00616.40
7.2.290.0070.01016.22
7.2.260.0000.01914.73
7.2.250.0100.00714.69
7.2.240.0050.01314.95
7.2.230.0100.00814.78
7.2.220.0090.00914.71
7.2.210.0030.01214.67
7.2.200.0080.00514.88
7.2.190.0030.00814.88
7.2.180.0050.00914.52
7.2.170.0050.01214.77
7.2.160.0120.00614.77
7.2.150.0040.01516.69
7.2.140.0070.00716.81
7.2.130.0030.00916.72
7.2.120.0030.01416.61
7.2.110.0050.00916.67
7.2.100.0670.00816.00
7.2.90.0830.01016.02
7.2.80.0820.00615.88
7.2.70.0930.00715.86
7.2.60.0880.00716.01
7.2.50.1080.00915.99
7.2.40.0690.00516.03
7.2.30.0550.00616.07
7.2.20.0680.01116.01
7.2.10.1190.00316.12
7.2.00.1180.00816.12
7.1.330.0050.00915.65
7.1.320.0080.00715.74
7.1.310.0030.00815.41
7.1.300.0080.00415.61
7.1.290.0030.00715.53
7.1.280.0070.00815.49
7.1.270.0040.00515.54
7.1.260.0030.01015.70
7.1.250.0030.00915.75
7.1.240.0040.01115.68
7.1.230.0070.00715.80
7.1.220.1470.00614.73
7.1.210.0890.00514.52
7.1.200.1270.00814.62
7.1.190.0740.00314.47
7.1.180.1470.00814.56
7.1.170.1510.00814.72
7.1.160.1230.00914.67
7.1.150.1230.00814.67
7.1.140.1290.00514.54
7.1.130.1420.00314.77
7.1.120.0150.00714.61
7.1.110.0550.00614.58
7.1.100.0990.00314.64
7.1.90.0220.01014.65
7.1.80.0630.00414.38
7.1.70.0120.00514.60
7.1.60.0210.00523.43
7.1.50.0400.00823.69
7.1.40.0690.01023.71
7.1.30.0270.00723.70
7.1.20.0160.01123.68
7.1.10.0110.00514.70
7.1.00.0080.01214.69
7.0.330.0070.00715.14
7.0.320.0000.00915.21
7.0.310.0090.00314.98
7.0.300.0030.01015.31
7.0.290.0100.00315.25
7.0.280.0070.00715.11
7.0.270.0070.00315.22
7.0.260.0070.00715.50
7.0.250.0070.00715.01
7.0.240.0090.00615.02
7.0.230.0030.01415.44
7.0.220.0000.01015.29
7.0.210.0090.00615.35
7.0.200.0000.00915.06
7.0.190.0000.01215.46
7.0.180.0000.01515.27
7.0.170.0030.00615.41
7.0.160.0040.00815.32
7.0.150.0100.00315.25
7.0.140.0040.00415.46
7.0.130.0040.01015.16
7.0.120.0140.00315.10
7.0.110.0080.00015.33
7.0.100.0080.00315.36
7.0.90.0030.00715.34
7.0.80.0060.00315.28
7.0.70.0000.01315.38
7.0.60.0000.01415.21
7.0.50.0070.00715.16
7.0.40.0030.00713.57
7.0.30.0140.00413.36
7.0.20.0030.00613.14
7.0.10.0000.01513.27
7.0.00.0110.00713.13
5.6.400.0040.00714.43
5.6.390.0040.00713.99
5.6.380.0070.00514.25
5.6.370.0090.00614.38
5.6.360.0000.01814.05
5.6.350.0030.01014.00
5.6.340.0040.01213.82
5.6.330.0030.00614.29
5.6.320.0060.01114.40
5.6.310.0080.00414.05
5.6.300.0040.01114.21
5.6.290.0060.00614.21
5.6.280.0170.00014.03
5.6.270.0060.00614.16
5.6.260.0040.00414.56
5.6.250.0100.00013.90
5.6.240.0100.00314.12
5.6.230.0130.00314.24
5.6.220.0040.01114.11
5.6.210.0070.00714.27
5.6.200.0030.00614.12
5.6.190.0000.01514.08
5.6.180.0100.00314.22
5.6.170.0080.00013.86
5.6.160.0060.00914.11
5.6.150.0070.00313.93
5.6.140.0060.00314.29
5.6.130.0080.00414.30
5.6.120.0000.01214.06
5.6.110.0000.01113.86
5.6.100.0060.00914.18
5.6.90.0090.00613.88
5.6.80.0120.00313.89
5.6.70.0040.01114.14
5.6.60.0040.00413.91
5.6.50.0030.00613.88
5.6.40.0000.00814.02
5.6.30.0080.00014.13
5.6.20.0070.00713.97
5.6.10.0040.01113.91
5.6.00.0060.00613.95

preferences:
58.54 ms | 403 KiB | 5 Q