3v4l.org

run code in 300+ PHP versions simultaneously
<?php $offset = 8; echo md5(substr("Foo===/Bar; Expires=42; Path=path; Domain=FooDomain.bar; Secure; HttpOnly", 0, $offset)); echo "\n"; echo md5(substr("Foo===/Baz; Expires=42; Path=path; Domain=FooDomain.bar; Secure; HttpOnly", 0, $offset));

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.0070.00716.38
8.3.50.0220.00622.81
8.3.40.0040.01418.89
8.3.30.0110.00418.91
8.3.20.0140.00020.21
8.3.10.0000.00721.54
8.3.00.0060.00317.89
8.2.180.0070.00716.50
8.2.170.0170.00322.96
8.2.160.0100.00720.52
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0000.00726.16
8.2.120.0040.00421.03
8.2.110.0050.00521.96
8.2.100.0080.00419.57
8.2.90.0060.00319.06
8.2.80.0040.00417.97
8.2.70.0030.00617.63
8.2.60.0000.00817.93
8.2.50.0040.00418.07
8.2.40.0030.00617.97
8.2.30.0040.00418.11
8.2.20.0040.00417.58
8.2.10.0040.00417.99
8.2.00.0030.00617.63
8.1.280.0110.00425.92
8.1.270.0080.00023.96
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.86
8.1.230.0110.00019.08
8.1.220.0000.00917.74
8.1.210.0000.00818.77
8.1.200.0100.00017.23
8.1.190.0090.00017.10
8.1.180.0000.00818.10
8.1.170.0000.00818.66
8.1.160.0070.00021.91
8.1.150.0040.00418.85
8.1.140.0040.00417.29
8.1.130.0030.00317.78
8.1.120.0040.00417.41
8.1.110.0070.00017.27
8.1.100.0040.00417.40
8.1.90.0000.00717.35
8.1.80.0040.00417.25
8.1.70.0030.00317.28
8.1.60.0080.00017.34
8.1.50.0030.00517.34
8.1.40.0000.00817.46
8.1.30.0030.00517.60
8.1.20.0000.00817.48
8.1.10.0040.00417.51
8.1.00.0030.00617.43
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.36
8.0.270.0040.00417.21
8.0.260.0000.00617.23
8.0.250.0000.00716.95
8.0.240.0050.00316.92
8.0.230.0030.00516.93
8.0.220.0000.00716.80
8.0.210.0030.00316.82
8.0.200.0070.00016.76
8.0.190.0020.00516.81
8.0.180.0040.00416.78
8.0.170.0040.00416.67
8.0.160.0030.00516.84
8.0.150.0040.00416.77
8.0.140.0070.00416.76
8.0.130.0030.00313.22
8.0.120.0040.00416.76
8.0.110.0030.00516.77
8.0.100.0040.00416.74
8.0.90.0030.00516.79
8.0.80.0110.00416.81
8.0.70.0040.00416.67
8.0.60.0040.00416.65
8.0.50.0000.00716.72
8.0.30.0100.01016.99
8.0.20.0120.00717.40
8.0.10.0040.00416.88
8.0.00.0140.00416.62
7.4.330.0000.00615.00
7.4.320.0070.00016.42
7.4.300.0000.00616.38
7.4.290.0030.00316.57
7.4.280.0000.00816.42
7.4.270.0000.00716.57
7.4.260.0070.00016.52
7.4.250.0000.00816.39
7.4.240.0020.00516.51
7.4.230.0000.00716.64
7.4.220.0030.01316.37
7.4.210.0060.00616.43
7.4.200.0000.00716.63
7.4.160.0120.00316.25
7.4.150.0150.00317.40
7.4.140.0120.00517.86
7.4.130.0070.01116.40
7.4.120.0100.00816.43
7.4.110.0090.00916.47
7.4.100.0110.01116.38
7.4.90.0030.01416.43
7.4.80.0130.00619.39
7.4.70.0060.01816.30
7.4.60.0120.00616.50
7.4.50.0070.00016.41
7.4.40.0070.01016.61
7.4.30.0060.00916.39
7.4.00.0000.01615.10
7.3.330.0000.00612.98
7.3.320.0000.00613.00
7.3.310.0030.00316.08
7.3.300.0050.00316.13
7.3.290.0060.00816.15
7.3.280.0100.00816.08
7.3.270.0110.00617.40
7.3.260.0130.00316.54
7.3.250.0070.01116.38
7.3.240.0120.00916.48
7.3.230.0070.01016.46
7.3.210.0080.00816.40
7.3.200.0060.01619.39
7.3.190.0140.00716.18
7.3.180.0060.00916.41
7.3.170.0060.00916.45
7.3.160.0090.00616.22
7.3.120.0030.01014.86
7.3.10.0080.00816.49
7.3.00.0030.01016.62
7.2.330.0080.00816.35
7.2.320.0060.01116.53
7.2.310.0040.01516.51
7.2.300.0110.00516.36
7.2.290.0040.01216.50
7.2.130.0060.00916.80
7.2.120.0000.00916.83
7.2.110.0060.00916.66
7.2.100.0070.00716.70
7.2.90.0100.00316.57
7.2.80.0110.00416.82
7.2.70.0070.00416.83
7.2.60.0040.01416.94
7.2.50.0080.00316.84
7.2.40.0040.01216.63
7.2.30.0060.00316.45
7.2.20.0060.00916.43
7.2.10.0050.00816.54
7.2.00.0050.01118.09
7.1.250.0090.00015.95
7.1.240.0060.00315.42
7.1.230.0060.01015.56
7.1.220.0090.00015.69
7.1.210.0110.00415.68
7.1.200.0040.00715.72
7.1.190.0030.01015.61
7.1.180.0060.00915.68
7.1.170.0120.00315.59
7.1.160.0070.00715.59
7.1.150.0060.00915.87
7.1.140.0060.00615.63
7.1.130.0030.01015.52
7.1.120.0040.01115.82
7.1.110.0030.00615.68
7.1.100.0050.01016.96
7.1.90.0080.00815.63
7.1.80.0030.01015.82
7.1.70.0050.00916.34
7.1.60.0120.00717.50
7.1.50.0020.01416.26
7.1.40.0030.01015.50
7.1.30.0060.00315.76
7.1.20.0040.01115.79
7.1.10.0060.00915.66
7.1.00.0050.04019.08
7.0.330.0060.00915.24
7.0.320.0060.00615.20
7.0.310.0040.00815.04
7.0.300.0060.00915.46
7.0.290.0060.00315.36
7.0.280.0040.00815.46
7.0.270.0070.00715.27
7.0.260.0000.01115.20
7.0.250.0030.01315.37
7.0.240.0080.00615.18
7.0.230.0070.00415.27
7.0.220.0000.01315.49
7.0.210.0110.00315.46
7.0.200.0090.00415.84
7.0.190.0000.01515.32
7.0.180.0030.01015.43
7.0.170.0130.00015.29
7.0.160.0030.01315.18
7.0.150.0060.00315.31
7.0.140.0030.03818.60
7.0.130.0030.01315.24
7.0.120.0040.01115.37
7.0.110.0040.01115.02
7.0.100.0000.00914.97
7.0.90.0120.00315.50
7.0.80.0070.00715.32
7.0.70.0040.00415.25
7.0.60.0050.04717.54
7.0.50.0080.02316.58
7.0.40.0020.03016.87
7.0.30.0150.02516.73
7.0.20.0080.03616.77
7.0.10.0080.03716.72
7.0.00.0050.03316.78
5.6.380.0030.01014.45
5.6.370.0070.01014.12
5.6.360.0030.00614.19
5.6.350.0090.00614.03
5.6.340.0070.01014.11
5.6.330.0090.00014.19
5.6.320.0070.01013.96
5.6.310.0030.00614.34
5.6.300.0030.01214.18
5.6.290.0030.00914.46
5.6.280.0070.03517.52
5.6.270.0040.00414.34
5.6.260.0040.01114.11
5.6.250.0030.01214.14
5.6.240.0030.01214.27
5.6.230.0030.00614.24
5.6.220.0060.00314.51
5.6.210.0090.04317.37
5.6.200.0020.03516.19
5.6.190.0050.04517.22
5.6.180.0100.02317.49
5.6.170.0170.02617.29
5.6.160.0050.03117.23
5.6.150.0020.03016.13
5.6.140.0050.03716.07
5.6.130.0050.03916.28
5.6.120.0030.02817.61
5.6.110.0070.03717.74
5.6.100.0140.01517.49
5.6.90.0120.03417.56
5.6.80.0020.02717.29
5.6.70.0000.01513.95
5.6.60.0070.00714.22
5.6.50.0060.00914.04
5.6.40.0030.00614.16
5.6.30.0030.01014.12
5.6.20.0030.01014.20
5.6.10.0070.00314.21
5.6.00.0000.00814.19
5.5.380.0030.00610.99
5.5.370.0000.01310.93
5.5.360.0030.00610.67
5.5.350.0130.04215.80
5.5.340.0060.02614.56
5.5.330.0080.03515.46
5.5.320.0180.03615.41
5.5.310.0180.03815.44
5.5.300.0030.04514.50
5.5.290.0070.04014.39
5.5.280.0020.04615.80
5.5.270.0020.04815.78
5.5.260.0100.03015.83
5.5.250.0050.05015.78
5.5.240.0060.02715.43
5.5.230.0060.00010.52
5.5.220.0000.00610.68
5.5.210.0110.00010.70
5.5.200.0100.00010.79
5.5.190.0000.00710.80
5.5.180.0030.00310.95
5.5.170.0090.00310.90
5.5.160.0030.00510.88
5.5.150.0030.01010.96
5.5.140.0060.00610.97
5.5.130.0030.00711.07
5.5.120.0060.00610.86
5.5.110.0000.01210.97
5.5.100.0030.00611.00
5.5.90.0040.00710.66
5.5.80.0040.00410.71
5.5.70.0040.00410.95
5.5.60.0040.00810.96
5.5.50.0060.00010.57
5.5.40.0000.00510.46
5.5.30.0000.01110.92
5.5.20.0030.00710.71
5.5.10.0120.00011.02
5.5.00.0100.00310.71
5.4.450.0130.02315.15
5.4.440.0170.02715.15
5.4.430.0200.02315.20
5.4.420.0300.02515.13
5.4.410.0280.02215.07
5.4.400.0280.02415.03
5.4.390.0360.02514.99
5.4.380.0180.02814.71
5.4.370.0250.02514.84
5.4.360.0170.03014.70
5.4.350.0150.03014.68
5.4.340.0270.02314.73
5.4.330.0060.00310.72
5.4.320.0060.01911.60
5.4.310.0070.02511.56
5.4.300.0050.02211.63
5.4.290.0030.02411.64
5.4.280.0070.02311.44
5.4.270.0050.02011.43
5.4.260.0060.02211.65
5.4.250.0030.02311.43
5.4.240.0060.02311.69
5.4.230.0070.03011.68
5.4.220.0070.02111.61
5.4.210.0040.02211.54
5.4.200.0050.02311.53
5.4.190.0080.01811.64
5.4.180.0070.02511.49
5.4.170.0060.02011.66
5.4.160.0050.02211.44
5.4.150.0050.02111.60
5.4.140.0050.01911.35
5.4.130.0060.02711.35
5.4.120.0060.02211.54
5.4.110.0060.02011.37
5.4.100.0030.02411.41
5.4.90.0050.02411.39
5.4.80.0050.02211.53
5.4.70.0040.02211.45
5.4.60.0070.01911.30
5.4.50.0080.02011.48
5.4.40.0040.02411.52
5.4.30.0040.02711.46
5.4.20.0050.02011.42
5.4.10.0110.02211.35
5.4.00.0030.02211.08
5.3.290.0080.02211.70
5.3.280.0060.02211.41
5.3.270.0040.02511.61
5.3.260.0050.02311.57
5.3.250.0060.02411.48
5.3.240.0090.02011.57
5.3.230.0080.02211.56
5.3.220.0060.02111.50
5.3.210.0060.02611.39
5.3.200.0050.02411.45
5.3.190.0030.02711.55
5.3.180.0040.02411.51
5.3.170.0060.02111.60
5.3.160.0100.02111.60
5.3.150.0040.02511.61
5.3.140.0020.02411.48
5.3.130.0040.02011.58
5.3.120.0030.02211.54
5.3.110.0040.02711.58
5.3.100.0030.02411.27
5.3.90.0020.02311.34
5.3.80.0080.01711.17
5.3.70.0040.02311.16
5.3.60.0040.02411.28
5.3.50.0050.02211.11
5.3.40.0060.01911.15
5.3.30.0050.02111.16
5.3.20.0030.03011.01
5.3.10.0070.02210.88
5.3.00.0060.01910.91
5.2.170.0040.0209.55
5.2.160.0010.0239.55
5.2.150.0040.0189.55
5.2.140.0020.0199.55
5.2.130.0070.0159.53
5.2.120.0080.0159.53
5.2.110.0060.0179.54
5.2.100.0030.0209.53
5.2.90.0030.0179.53
5.2.80.0040.0259.53
5.2.70.0020.0219.53
5.2.60.0050.0189.50
5.2.50.0050.0219.49
5.2.40.0030.0199.48
5.2.30.0040.0179.47
5.2.20.0050.0169.47
5.2.10.0040.0189.43
5.2.00.0040.0199.36
5.1.60.0030.0159.00
5.1.50.0040.0179.00
5.1.40.0080.0118.99
5.1.30.0040.0179.16
5.1.20.0040.0179.18
5.1.10.0020.0169.04
5.1.00.0030.0179.04
5.0.50.0050.0128.28
5.0.40.0020.0158.21
5.0.30.0060.0158.11
5.0.20.0050.0138.10
5.0.10.0050.0108.09
5.0.00.0050.0188.08
4.4.90.0020.0117.35
4.4.80.0030.0117.34
4.4.70.0030.0137.34
4.4.60.0020.0117.34
4.4.50.0030.0107.35
4.4.40.0020.0207.32
4.4.30.0020.0127.34
4.4.20.0020.0107.38
4.4.10.0020.0147.39
4.4.00.0020.0167.34
4.3.110.0020.0127.30
4.3.100.0040.0107.29
4.3.90.0020.0117.28
4.3.80.0040.0157.25
4.3.70.0010.0117.28
4.3.60.0020.0107.28
4.3.50.0030.0097.28
4.3.40.0030.0137.23
4.3.30.0040.0096.61
4.3.20.0010.0156.60
4.3.10.0020.0116.58
4.3.00.0150.01012.55

preferences:
39.61 ms | 401 KiB | 5 Q