3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x1 = strtotime('00-00-00 00:00:00'); $x2 = strtotime('0000-00-00 00:00:00'); $x3 = 0; echo date (DATE_RFC2822, $x1)."\n"; echo date (DATE_RFC2822, $x2)."\n"; echo date (DATE_RFC2822, $x3)."\n";

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.4.20.0130.00717.90
8.4.10.0130.00717.52
8.3.150.0050.00317.04
8.3.140.0090.00616.69
8.3.130.0040.00418.42
8.3.120.0040.01218.71
8.3.110.0080.00020.94
8.3.100.0000.00924.06
8.3.90.0000.00826.77
8.3.80.0030.00718.43
8.3.70.0110.01118.55
8.3.60.0100.01016.63
8.3.50.0140.00621.16
8.3.40.0110.00718.76
8.3.30.0070.00718.79
8.3.20.0040.00420.51
8.3.10.0030.00623.66
8.3.00.0080.00022.39
8.2.270.0090.00916.69
8.2.260.0040.00418.98
8.2.250.0060.00316.70
8.2.240.0060.00918.91
8.2.230.0060.00322.58
8.2.220.0040.00437.54
8.2.210.0100.00726.77
8.2.200.0070.00316.88
8.2.190.0100.00618.42
8.2.180.0170.00318.41
8.2.170.0040.01122.96
8.2.160.0000.01522.25
8.2.150.0000.00824.18
8.2.140.0050.00224.66
8.2.130.0080.00026.16
8.2.120.0080.00017.75
8.2.110.0100.00022.01
8.2.100.0040.00819.00
8.2.90.0040.00417.63
8.2.80.0000.00819.77
8.2.70.0000.00818.05
8.2.60.0050.00318.05
8.2.50.0090.00018.16
8.2.40.0000.00720.61
8.2.30.0030.00520.04
8.2.20.0050.00317.90
8.2.10.0050.00318.15
8.2.00.0070.00018.12
8.1.310.0090.00616.81
8.1.300.0040.00416.82
8.1.290.0060.00330.84
8.1.280.0070.00725.92
8.1.270.0080.00020.30
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.67
8.1.230.0080.00419.16
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.35
8.1.190.0050.00317.48
8.1.180.0040.00418.10
8.1.170.0070.00418.45
8.1.160.0000.00822.07
8.1.150.0020.00518.98
8.1.140.0040.00417.55
8.1.130.0000.00717.75
8.1.120.0000.00817.67
8.1.110.0000.00817.55
8.1.100.0040.00417.64
8.1.90.0000.00717.62
8.1.80.0050.00317.55
8.1.70.0040.00417.67
8.1.60.0090.00017.71
8.1.50.0030.00617.52
8.1.40.0050.00317.66
8.1.30.0050.00317.67
8.1.20.0050.00317.66
8.1.10.0040.00417.59
8.1.00.0040.00417.63
8.0.300.0040.00419.75
8.0.290.0050.00316.88
8.0.280.0000.00718.40
8.0.270.0070.00017.24
8.0.260.0060.00017.23
8.0.250.0040.00417.14
8.0.240.0030.00617.04
8.0.230.0070.00016.96
8.0.220.0030.00317.07
8.0.210.0070.00017.14
8.0.200.0070.00017.04
8.0.190.0050.00217.06
8.0.180.0040.00417.04
8.0.170.0040.00417.11
8.0.160.0030.00417.06
8.0.150.0000.00817.02
8.0.140.0070.00017.04
8.0.130.0080.00013.41
8.0.120.0000.00917.08
8.0.110.0020.00517.09
8.0.100.0040.00417.02
8.0.90.0000.00717.11
8.0.80.0150.00317.02
8.0.70.0000.00717.03
8.0.60.0060.00316.92
8.0.50.0000.00817.00
8.0.30.0100.00617.11
8.0.20.0060.01217.41
8.0.10.0080.00017.14
8.0.00.0070.01216.90
7.4.330.0080.00015.08
7.4.320.0060.00016.57
7.4.300.0000.00616.55
7.4.290.0060.00316.70
7.4.280.0020.00516.68
7.4.270.0030.00316.61
7.4.260.0030.00316.49
7.4.250.0000.00716.61
7.4.240.0030.00316.70
7.4.230.0000.00716.73
7.4.220.0060.01216.61
7.4.210.0070.00716.62
7.4.200.0030.00316.67
7.4.160.0080.01416.57
7.4.150.0100.01017.40
7.4.140.0120.00817.86
7.4.130.0150.00316.72
7.4.120.0100.00816.71
7.4.110.0150.00316.54
7.4.100.0100.01416.40
7.4.90.0090.00916.64
7.4.80.0060.01319.39
7.4.70.0160.00816.55
7.4.60.0060.01016.70
7.4.50.0060.00316.65
7.4.40.0130.00316.56
7.4.30.0030.01516.46
7.4.00.0090.00914.85
7.3.330.0020.00213.18
7.3.320.0000.00513.15
7.3.310.0000.00716.29
7.3.300.0070.00016.28
7.3.290.0040.00416.34
7.3.280.0080.01116.33
7.3.270.0150.02617.40
7.3.260.0130.00616.60
7.3.250.0100.01216.58
7.3.240.0080.00816.42
7.3.230.0040.01616.56
7.3.210.0000.01716.30
7.3.200.0110.00619.39
7.3.190.0030.01416.50
7.3.180.0090.00616.41
7.3.170.0110.00516.78
7.3.160.0140.00316.49
7.3.120.0080.00815.09
7.3.110.0070.01014.86
7.3.100.0090.00614.85
7.3.90.0070.01014.68
7.3.80.0030.00914.80
7.3.70.0060.00314.82
7.3.60.0120.00615.02
7.3.50.0120.00314.83
7.3.40.0100.00314.75
7.3.30.0030.01014.89
7.3.20.0060.00316.79
7.3.10.0100.00316.95
7.3.00.0090.00016.57
7.2.330.0120.00616.95
7.2.320.0170.00416.50
7.2.310.0140.00916.87
7.2.300.0100.00616.93
7.2.290.0150.00316.90
7.2.250.0060.01014.91
7.2.240.0100.01015.43
7.2.230.0110.00615.34
7.2.220.0030.01415.08
7.2.210.0030.00615.36
7.2.200.0100.00615.25
7.2.190.0070.00315.17
7.2.180.0070.01015.28
7.2.170.0070.00715.18
7.2.60.0090.00616.57
7.2.00.0260.00619.39
7.1.330.0060.00816.07
7.1.320.0060.00915.52
7.1.310.0000.00916.01
7.1.300.0040.00715.91
7.1.290.0130.00315.97
7.1.280.0060.00315.44
7.1.270.0070.00715.93
7.1.260.0000.00815.89
7.1.200.0030.01015.85
7.1.100.0080.01117.99
7.1.70.0030.01017.35
7.1.60.0100.01619.12
7.1.50.0060.00917.06
7.1.00.0000.07722.31
7.0.200.0000.00816.87
7.0.110.0130.07319.98
7.0.100.0070.07720.07
7.0.90.0000.09020.05
7.0.80.0070.07320.05
7.0.70.0030.08319.91
7.0.60.0000.05320.02
7.0.50.0130.07720.14
7.0.40.0030.05020.28
7.0.30.0070.08720.04
7.0.20.0230.06020.18
7.0.10.0100.04020.11
7.0.00.0100.08019.95
5.6.280.0070.06021.09
5.6.250.0130.04720.66
5.6.240.0070.05020.66
5.6.230.0100.08320.57
5.6.220.0030.07020.69
5.6.210.0130.04720.61
5.6.200.0030.08321.11
5.6.190.0130.07321.13
5.6.180.0130.07721.02
5.6.170.0070.08721.05
5.6.160.0130.07721.04
5.6.150.0100.07021.11
5.6.140.0030.04321.13
5.6.130.0130.07721.01
5.6.120.0130.07720.93
5.6.110.0100.07720.97
5.6.100.0000.08021.17
5.6.90.0200.06320.91
5.6.80.0030.08720.66
5.6.70.0070.08020.65
5.6.60.0100.07320.48
5.6.50.0200.06320.43
5.6.40.0030.07320.44
5.6.30.0100.08020.38
5.6.20.0100.06020.43
5.6.10.0070.06320.54
5.6.00.0030.09320.41
5.5.380.0130.06320.40
5.5.370.0030.07720.58
5.5.360.0030.08320.36
5.5.350.0100.08320.47
5.5.340.0130.06720.70
5.5.330.0130.07320.95
5.5.320.0170.07320.90
5.5.310.0100.08020.95
5.5.300.0100.08020.78
5.5.290.0070.05720.89
5.5.280.0070.09020.89
5.5.270.0070.08320.95
5.5.260.0030.07320.93
5.5.250.0030.08020.70
5.5.240.0200.04020.39
5.5.230.0130.07720.18
5.5.220.0170.07020.33
5.5.210.0170.06720.07
5.5.200.0030.08020.07
5.5.190.0130.07320.12
5.5.180.0170.04320.04
5.5.160.0030.05020.23
5.5.150.0070.07720.14
5.5.140.0030.08720.15
5.5.130.0130.07020.08
5.5.120.0230.06020.30
5.5.110.0130.07020.33
5.5.100.0000.06720.08
5.5.90.0130.05720.04
5.5.80.0070.04319.97
5.5.70.0030.04020.01
5.5.60.0070.04320.23
5.5.50.0100.04019.98
5.5.40.0030.04020.11
5.5.30.0030.04720.02
5.5.20.0070.05020.12
5.5.10.0070.03719.97
5.5.00.0070.03720.17
5.4.450.0130.07719.36
5.4.440.0200.07319.36
5.4.430.0070.08319.32
5.4.420.0100.04319.22
5.4.410.0130.06719.14
5.4.400.0130.07319.28
5.4.390.0000.08319.25
5.4.380.0030.07319.00
5.4.370.0100.07319.17
5.4.360.0100.06019.00
5.4.350.0030.04718.93
5.4.340.0070.07319.00
5.4.320.0200.06318.95
5.4.310.0100.06719.00
5.4.300.0070.04319.03
5.4.290.0100.07019.02
5.4.280.0130.06319.02
5.4.270.0130.06718.95
5.4.260.0130.07319.11
5.4.250.0000.04319.07
5.4.240.0000.04719.02
5.4.230.0030.03718.94
5.4.220.0030.05019.00
5.4.210.0000.04019.02
5.4.200.0030.05019.00
5.4.190.0000.04019.18
5.4.180.0070.03319.11
5.4.170.0000.05718.92
5.4.160.0070.03319.14
5.4.150.0030.03718.95
5.4.140.0100.02716.32
5.4.130.0130.06016.27
5.4.120.0030.03316.53
5.4.110.0070.04016.24
5.4.100.0000.03716.45
5.4.90.0000.03716.41
5.4.80.0030.03316.23
5.4.70.0030.05316.56
5.4.60.0000.04016.49
5.4.50.0070.06316.47
5.4.40.0030.04716.31
5.4.30.0070.06716.34
5.4.20.0070.06016.45
5.4.10.0030.04016.50
5.4.00.0070.03015.93

preferences:
35.22 ms | 403 KiB | 5 Q