3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bithdayDate = "1986-7-01"; $bithdayDate = strtotime($bithdayDate); $tdate = strtotime(date("Y-m-d")); echo floor(($tdate - $bithdayDate)/31556926);

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.0140.00716.73
8.3.50.0150.00316.54
8.3.40.0040.01118.91
8.3.30.0090.00618.84
8.3.20.0040.00418.95
8.3.10.0040.00420.57
8.3.00.0080.00019.38
8.2.180.0070.01116.38
8.2.170.0140.00722.96
8.2.160.0040.01121.37
8.2.150.0030.00524.18
8.2.140.0060.00324.66
8.2.130.0030.00626.16
8.2.120.0080.00019.95
8.2.110.0060.00321.07
8.2.100.0030.00718.09
8.2.90.0050.00521.25
8.2.80.0040.00419.34
8.2.70.0060.00317.88
8.2.60.0030.00717.93
8.2.50.0080.00018.07
8.2.40.0040.00418.34
8.2.30.0030.00618.06
8.2.20.0040.00417.96
8.2.10.0040.00417.97
8.2.00.0030.00517.91
8.1.280.0170.00325.92
8.1.270.0080.00023.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0040.00422.61
8.1.230.0060.00621.09
8.1.220.0080.00017.91
8.1.210.0040.00819.03
8.1.200.0030.00717.50
8.1.190.0050.00517.63
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0000.00719.05
8.1.150.0050.00318.81
8.1.140.0090.00017.59
8.1.130.0000.00817.86
8.1.120.0000.00717.66
8.1.110.0000.00717.56
8.1.100.0030.00317.50
8.1.90.0040.00317.68
8.1.80.0070.00017.54
8.1.70.0050.00217.48
8.1.60.0030.00517.70
8.1.50.0040.00417.47
8.1.40.0000.00817.60
8.1.30.0030.00617.60
8.1.20.0060.00317.82
8.1.10.0040.00417.71
8.1.00.0000.00717.67
8.0.300.0040.00420.17
8.0.290.0040.00416.88
8.0.280.0090.00018.49
8.0.270.0000.00817.30
8.0.260.0070.00017.03
8.0.250.0040.00417.25
8.0.240.0060.00317.14
8.0.230.0070.00017.23
8.0.220.0040.00317.13
8.0.210.0030.00317.19
8.0.200.0030.00317.21
8.0.190.0050.00217.18
8.0.180.0030.00317.00
8.0.170.0090.00017.13
8.0.160.0000.00717.16
8.0.150.0000.00816.92
8.0.140.0080.00317.04
8.0.130.0060.00013.53
8.0.120.0070.00017.08
8.0.110.0030.00317.07
8.0.100.0050.00216.96
8.0.90.0030.00517.12
8.0.80.0100.00317.02
8.0.70.0070.00017.15
8.0.60.0000.00716.98
8.0.50.0050.00217.04
8.0.30.0110.01017.43
8.0.20.0060.01117.26
8.0.10.0000.00717.20
8.0.00.0150.00416.96
7.4.330.0050.00013.08
7.4.320.0030.00316.56
7.4.300.0030.00316.74
7.4.290.0040.00416.64
7.4.280.0000.00716.74
7.4.270.0070.00016.62
7.4.260.0050.00013.34
7.4.250.0060.00316.64
7.4.240.0070.00016.72
7.4.230.0000.00716.53
7.4.220.0130.00616.73
7.4.210.0080.00716.70
7.4.200.0040.00416.61
7.4.190.0030.00316.55
7.4.160.0120.01216.70
7.4.150.0090.00916.66
7.4.140.0100.01016.71
7.4.130.0090.00716.69
7.4.120.0120.00516.67
7.4.110.0090.01116.53
7.4.100.0180.00016.80
7.4.90.0110.01416.63
7.4.80.0100.00716.63
7.4.70.0090.00816.66
7.4.60.0000.01716.79
7.4.50.0040.00016.52
7.4.40.0070.00716.72
7.4.30.0130.00416.78
7.4.00.0070.00715.06
7.3.330.0060.00013.30
7.3.320.0000.00513.38
7.3.310.0030.00316.52
7.3.300.0000.00716.30
7.3.290.0030.01016.45
7.3.280.0070.01116.44
7.3.270.0130.00316.41
7.3.260.0100.00916.67
7.3.250.0060.01116.56
7.3.240.0130.00716.52
7.3.230.0100.00716.57
7.3.210.0160.00016.48
7.3.200.0140.00719.39
7.3.190.0040.01516.55
7.3.180.0110.00516.66
7.3.170.0070.01316.57
7.3.160.0090.01216.64
7.3.120.0090.00615.16
7.2.330.0090.00916.95
7.2.320.0090.01216.70
7.2.310.0060.01216.70
7.2.300.0130.00316.77
7.2.290.0110.00616.70
7.2.60.0040.00417.17
7.2.00.0100.01019.68
7.1.200.0050.00915.50
7.1.100.0120.00318.46
7.1.70.0000.00917.14
7.1.60.0100.01319.40
7.1.50.0120.00016.80
7.1.00.0070.06322.35
7.0.200.0000.00716.98
7.0.140.0000.07722.09
7.0.120.0070.06721.95
7.0.80.0100.05019.86
7.0.70.0670.07019.88
7.0.60.0470.05319.97
7.0.50.0430.05020.15
7.0.40.0130.07319.96
7.0.30.0070.04020.03
7.0.20.0100.08020.00
7.0.10.0070.08020.13
7.0.00.0070.08020.09
5.6.280.0030.07320.77
5.6.230.0230.07020.50
5.6.220.0030.04320.48
5.6.210.0030.08020.63
5.6.200.0200.07021.00
5.6.190.0100.08321.07
5.6.180.0070.05320.93
5.6.170.0070.04321.08
5.6.160.0100.04721.10
5.6.150.0070.08020.92
5.6.140.0000.04021.10
5.6.130.0070.06321.01
5.6.120.0030.04321.04
5.6.110.0070.05021.12
5.6.100.0030.05021.00
5.6.90.0000.04320.99
5.6.80.0030.07020.31
5.6.70.0000.05720.37
5.6.60.0000.08320.44
5.6.50.0100.03020.45
5.6.40.0070.07720.36
5.6.30.0030.04020.36
5.6.20.0100.03020.38
5.6.10.0030.05020.48
5.6.00.0000.04320.29
5.5.370.0030.05020.50
5.5.360.0030.05020.33
5.5.350.0130.08020.47
5.5.340.0000.05020.75
5.5.330.0070.08320.82
5.5.320.0070.04020.87
5.5.310.0100.07720.90
5.5.300.0130.07020.91
5.5.290.0130.06720.88
5.5.280.0100.08020.82
5.5.270.0030.04720.87
5.5.260.0000.04720.88
5.5.250.0100.06320.54
5.5.240.0000.05320.30
5.5.230.0030.08320.28
5.5.220.0100.06320.13
5.5.210.0070.03720.10
5.5.200.0070.05720.20
5.5.190.0100.03320.27
5.5.180.0100.03720.25
5.5.160.0130.03020.14
5.5.150.0000.04320.10
5.5.140.0030.04320.25
5.5.130.0000.04320.07
5.5.120.0070.05020.11
5.5.110.0030.07020.20
5.5.100.0000.04319.97
5.5.90.0000.04020.04
5.5.80.0070.05320.09
5.5.70.0030.04020.13
5.5.60.0030.08320.07
5.5.50.0030.04320.07
5.5.40.0070.03719.95
5.5.30.0070.03320.04
5.5.20.0000.04019.94
5.5.10.0070.04020.05
5.5.00.0130.07320.02
5.4.450.0030.04319.30
5.4.440.0100.03019.35
5.4.430.0030.04019.37
5.4.420.0030.04019.45
5.4.410.0030.04019.32
5.4.400.0130.03318.98
5.4.390.0070.03719.05
5.4.380.0070.06318.98
5.4.370.0070.03019.06
5.4.360.0070.07318.98
5.4.350.0100.02718.96
5.4.340.0100.07019.12
5.4.320.0000.04319.07
5.4.310.0070.03719.07
5.4.300.0000.04019.05
5.4.290.0100.02719.00
5.4.280.0030.03318.98
5.4.270.0030.03718.81
5.4.260.0030.03318.80
5.4.250.0030.06319.06
5.4.240.0030.03719.23
5.4.230.0070.04319.02
5.4.220.0030.03718.96
5.4.210.0100.03019.04
5.4.200.0030.03318.96
5.4.190.0070.06018.97
5.4.180.0100.03019.05
5.4.170.0100.08019.07
5.4.160.0070.07718.92
5.4.150.0030.05018.88
5.4.140.0170.06716.40
5.4.130.0000.04016.11
5.4.120.0130.06016.45
5.4.110.0130.06016.35
5.4.100.0100.06716.50
5.4.90.0070.07716.45
5.4.80.0000.04016.36
5.4.70.0130.06316.31
5.4.60.0200.03716.18
5.4.50.0100.03716.33
5.4.40.0130.06016.29
5.4.30.0070.05716.27
5.4.20.0030.05716.29
5.4.10.0000.07716.29
5.4.00.0030.06715.51
5.3.290.0030.04314.66
5.3.280.0030.03714.45
5.3.270.0070.03714.55
5.3.260.0130.07314.58
5.3.250.0130.06014.45
5.3.240.0100.05014.41
5.3.230.0070.07014.59
5.3.220.0200.05714.38
5.3.210.0070.07314.42
5.3.200.0030.07314.55
5.3.190.0030.07314.39
5.3.180.0130.03014.54
5.3.170.0030.08314.38
5.3.160.0030.07014.39
5.3.150.0000.06714.54
5.3.140.0170.06714.50
5.3.130.0070.07314.54
5.3.120.0070.05714.50
5.3.110.0030.08314.40
5.3.100.0100.07313.85
5.3.90.0100.06713.87
5.3.80.0030.05313.86
5.3.70.0030.07714.01
5.3.60.0100.07013.85
5.3.50.0130.07313.70
5.3.40.0070.07013.80
5.3.30.0030.07313.88
5.3.20.0100.04013.55
5.3.10.0100.06013.52
5.3.00.0030.07313.57
5.2.170.0030.06011.13
5.2.160.0030.04010.96
5.2.150.0070.06011.18
5.2.140.0070.06011.00
5.2.130.0030.06710.89
5.2.120.0130.05710.95
5.2.110.0030.06011.09
5.2.100.0030.06011.08
5.2.90.0030.06711.14
5.2.80.0030.06310.93
5.2.70.0070.05711.04
5.2.60.0030.06311.04
5.2.50.0030.05011.04
5.2.40.0070.05710.80
5.2.30.0030.03310.95
5.2.20.0070.05710.95
5.2.10.0030.06310.79
5.2.00.0100.05310.82
5.1.60.0100.04710.04
5.1.50.0070.05010.02
5.1.40.0070.0509.80
5.1.30.0000.06310.36
5.1.20.0030.05310.29
5.1.10.0000.04710.14
5.1.00.0030.05310.14
5.0.50.0030.0438.65
5.0.40.0070.0378.48
5.0.30.0000.0478.06
5.0.20.0030.0308.30
5.0.10.0070.0238.15
5.0.00.0070.0608.14
4.4.90.0000.0377.40
4.4.80.0030.0337.40
4.4.70.0000.0377.40
4.4.60.0030.0337.40
4.4.50.0070.0307.40
4.4.40.0100.0477.40
4.4.30.0000.0377.40
4.4.20.0070.0207.40
4.4.10.0000.0307.40
4.4.00.0000.0537.40
4.3.110.0000.0377.40
4.3.100.0030.0177.40
4.3.90.0000.0237.40
4.3.80.0000.0537.40
4.3.70.0030.0337.40
4.3.60.0000.0377.40
4.3.50.0000.0207.40
4.3.40.0000.0537.40
4.3.30.0000.0207.40
4.3.20.0000.0377.40
4.3.10.0030.0277.40
4.3.00.0030.0337.40

preferences:
43.39 ms | 401 KiB | 5 Q