3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bithdayDate = "1986-07-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.70.0070.01016.58
8.3.60.0110.00418.56
8.3.50.0190.01221.98
8.3.40.0090.00918.96
8.3.30.0140.00018.97
8.3.20.0050.00318.89
8.3.10.0040.00421.21
8.3.00.0050.00323.69
8.2.180.0040.01116.36
8.2.170.0180.00022.96
8.2.160.0100.00320.47
8.2.150.0080.00024.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.77
8.2.110.0000.00920.46
8.2.100.0090.00317.82
8.2.90.0050.00319.17
8.2.80.0090.00017.97
8.2.70.0040.00417.88
8.2.60.0040.00418.18
8.2.50.0040.00418.10
8.2.40.0040.00418.47
8.2.30.0040.00421.41
8.2.20.0040.00417.85
8.2.10.0040.00418.05
8.2.00.0040.00718.04
8.1.280.0030.01725.92
8.1.270.0070.00023.99
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0050.00522.42
8.1.230.0040.00717.83
8.1.220.0030.00517.74
8.1.210.0040.00418.77
8.1.200.0000.00817.60
8.1.190.0030.00517.48
8.1.180.0000.00818.10
8.1.170.0060.00318.78
8.1.160.0000.00718.95
8.1.150.0000.00718.70
8.1.140.0000.00817.71
8.1.130.0070.00018.00
8.1.120.0070.00317.56
8.1.110.0060.00317.51
8.1.100.0000.00717.63
8.1.90.0000.00717.60
8.1.80.0040.00417.54
8.1.70.0000.00817.64
8.1.60.0000.00817.66
8.1.50.0000.00817.57
8.1.40.0000.00817.55
8.1.30.0050.00317.75
8.1.20.0000.00817.73
8.1.10.0040.00417.72
8.1.00.0030.00617.74
8.0.300.0000.00818.77
8.0.290.0030.00617.00
8.0.280.0000.00718.61
8.0.270.0070.00017.33
8.0.260.0030.00316.95
8.0.250.0000.00717.18
8.0.240.0080.00017.21
8.0.230.0000.00717.15
8.0.220.0070.00317.07
8.0.210.0000.00717.11
8.0.200.0060.00017.19
8.0.190.0040.00417.21
8.0.180.0040.00417.18
8.0.170.0040.00417.09
8.0.160.0040.00416.97
8.0.150.0040.00417.09
8.0.140.0040.00417.08
8.0.130.0050.00013.43
8.0.120.0000.00716.98
8.0.110.0040.00416.96
8.0.100.0040.00417.07
8.0.90.0000.00717.13
8.0.80.0000.01417.03
8.0.70.0000.00717.09
8.0.60.0040.00417.09
8.0.50.0030.00416.88
8.0.30.0090.01017.39
8.0.20.0060.01417.40
8.0.10.0000.00717.25
8.0.00.0110.00617.05
7.4.330.0000.00514.96
7.4.320.0030.00316.75
7.4.300.0030.00316.66
7.4.290.0070.00016.63
7.4.280.0000.00816.71
7.4.270.0030.00316.77
7.4.260.0000.00513.39
7.4.250.0000.00816.75
7.4.240.0070.00016.56
7.4.230.0030.00316.40
7.4.220.0110.00716.71
7.4.210.0060.01016.72
7.4.200.0040.00416.83
7.4.190.0070.00016.61
7.4.160.0100.00616.68
7.4.150.0070.01017.40
7.4.140.0070.01117.86
7.4.130.0040.01316.60
7.4.120.0100.00816.63
7.4.110.0170.00716.64
7.4.100.0070.01416.75
7.4.90.0100.01316.63
7.4.80.0120.00619.37
7.4.70.0070.01016.72
7.4.60.0180.00816.64
7.4.50.0040.00416.39
7.4.40.0070.00722.52
7.4.30.0060.02016.78
7.4.00.0100.00615.08
7.3.330.0000.00513.21
7.3.320.0110.00013.28
7.3.310.0040.00416.48
7.3.300.0040.00416.45
7.3.290.0070.01116.50
7.3.280.0100.00616.47
7.3.270.0070.01017.40
7.3.260.0070.01118.24
7.3.250.0120.00716.63
7.3.240.0090.00616.84
7.3.230.0090.00916.40
7.3.210.0030.01416.57
7.3.200.0030.01619.39
7.3.190.0100.00716.71
7.3.180.0000.01616.53
7.3.170.0140.00316.68
7.3.160.0090.00616.63
7.3.120.0070.00715.12
7.2.330.0100.00716.87
7.2.320.0080.01516.73
7.2.310.0140.00616.73
7.2.300.0110.00516.70
7.2.290.0100.01316.97
7.2.00.0060.00619.54
7.1.200.0070.00415.68
7.1.100.0070.00718.01
7.1.70.0030.00617.34
7.1.60.0100.01419.40
7.1.50.0000.01316.78
7.1.00.0030.04022.51
7.0.200.0000.00917.11
7.0.140.0000.07722.00
7.0.90.0070.03719.85
7.0.80.0000.03719.84
7.0.70.0030.04719.88
7.0.60.0030.03320.01
7.0.50.0200.03720.29
7.0.40.0170.06020.18
7.0.30.0070.08020.15
7.0.20.0100.08020.10
7.0.10.0100.07320.09
7.0.00.0030.05320.07
5.6.280.0030.07321.06
5.6.240.0100.04320.69
5.6.230.0000.03720.59
5.6.220.0000.04020.64
5.6.210.0070.03720.60
5.6.200.0030.04720.93
5.6.190.0000.04021.03
5.6.180.0000.04321.07
5.6.170.0170.06021.01
5.6.160.0070.05021.04
5.6.150.0070.08020.93
5.6.140.0070.07021.07
5.6.130.0100.05721.02
5.6.120.0200.07321.07
5.6.110.0100.07721.06
5.6.100.0100.06721.07
5.6.90.0070.07020.97
5.6.80.0070.03720.43
5.6.70.0130.06320.42
5.6.60.0100.06720.46
5.6.50.0200.06720.30
5.6.40.0000.04720.31
5.6.30.0030.05020.49
5.6.20.0100.07720.42
5.6.10.0000.07320.38
5.6.00.0130.07020.34
5.5.380.0070.03720.34
5.5.370.0030.03320.41
5.5.360.0070.04020.33
5.5.350.0100.03320.42
5.5.340.0100.04720.91
5.5.330.0000.05720.83
5.5.320.0070.05720.89
5.5.310.0000.07020.72
5.5.300.0200.07320.85
5.5.290.0100.08020.84
5.5.280.0130.07720.91
5.5.270.0130.08320.77
5.5.260.0100.08320.71
5.5.250.0130.06320.58
5.5.240.0030.06020.24
5.5.230.0170.06720.13
5.5.220.0070.08020.27
5.5.210.0070.04020.30
5.5.200.0100.04020.25
5.5.190.0100.04320.23
5.5.180.0000.04320.21
5.5.160.0000.04020.15
5.5.150.0100.06720.18
5.5.140.0070.05320.21
5.5.130.0070.07720.25
5.5.120.0130.03020.20
5.5.110.0000.08020.22
5.5.100.0130.07320.12
5.5.90.0000.04720.09
5.5.80.0100.03320.14
5.5.70.0070.07319.99
5.5.60.0030.04720.13
5.5.50.0070.04320.13
5.5.40.0030.05720.14
5.5.30.0100.05720.13
5.5.20.0000.04719.94
5.5.10.0030.08320.10
5.5.00.0130.07320.09
5.4.450.0070.08019.14
5.4.440.0070.07319.45
5.4.430.0200.06319.35
5.4.420.0130.04319.12
5.4.410.0030.07719.45
5.4.400.0200.04719.06
5.4.390.0100.07319.12
5.4.380.0070.03318.90
5.4.370.0130.07019.12
5.4.360.0070.07719.14
5.4.350.0000.04018.79
5.4.340.0100.07319.07
5.4.320.0000.07719.09
5.4.310.0100.03318.94
5.4.300.0070.03019.07
5.4.290.0000.06019.14
5.4.280.0000.04319.00
5.4.270.0130.07718.94
5.4.260.0000.03719.14
5.4.250.0100.06018.89
5.4.240.0100.07018.97
5.4.230.0130.07019.05
5.4.220.0100.04019.04
5.4.210.0030.05719.06
5.4.200.0070.03718.93
5.4.190.0100.07719.08
5.4.180.0100.04718.91
5.4.170.0100.07718.78
5.4.160.0100.06318.79
5.4.150.0000.08719.10
5.4.140.0100.07016.32
5.4.130.0100.05016.34
5.4.120.0030.08016.40
5.4.110.0030.06016.29
5.4.100.0030.07016.38
5.4.90.0100.03716.48
5.4.80.0200.04316.40
5.4.70.0070.07716.48
5.4.60.0030.05716.18
5.4.50.0100.03016.41
5.4.40.0000.05716.39
5.4.30.0030.04716.37
5.4.20.0000.07016.23
5.4.10.0070.04016.23
5.4.00.0070.05015.75
5.3.290.0030.04014.67
5.3.280.0070.04014.57
5.3.270.0030.06014.55
5.3.260.0130.07014.56
5.3.250.0000.08314.42
5.3.240.0070.06714.46
5.3.230.0070.04014.58
5.3.220.0100.06014.52
5.3.210.0070.08014.55
5.3.200.0100.05014.56
5.3.190.0070.05014.54
5.3.180.0070.04014.46
5.3.170.0100.03714.41
5.3.160.0000.04314.56
5.3.150.0030.04314.54
5.3.140.0070.04014.54
5.3.130.0100.07314.48
5.3.120.0030.04014.40
5.3.110.0100.07314.48
5.3.100.0030.05313.97
5.3.90.0070.03313.88
5.3.80.0100.06313.98
5.3.70.0070.05714.00
5.3.60.0070.06713.86
5.3.50.0030.04013.90
5.3.40.0030.04313.93
5.3.30.0030.04013.89
5.3.20.0100.05713.54
5.3.10.0100.07013.65
5.3.00.0000.06313.49
5.2.170.0030.05711.14
5.2.160.0100.06010.93
5.2.150.0100.04311.13
5.2.140.0170.04711.12
5.2.130.0030.05011.05
5.2.120.0000.06311.04
5.2.110.0000.04011.14
5.2.100.0030.06311.09
5.2.90.0130.05711.12
5.2.80.0030.06711.13
5.2.70.0030.03311.10
5.2.60.0030.06010.88
5.2.50.0030.03011.01
5.2.40.0030.05310.99
5.2.30.0070.02711.00
5.2.20.0000.05310.82
5.2.10.0000.03710.97
5.2.00.0100.04710.64
5.1.60.0100.03310.25
5.1.50.0030.04010.25
5.1.40.0000.06010.25
5.1.30.0030.04010.32
5.1.20.0000.06010.39
5.1.10.0000.03710.25
5.1.00.0000.04710.25
5.0.50.0000.02710.25
5.0.40.0000.05310.25
5.0.30.0000.04310.25
5.0.20.0070.02310.25
5.0.10.0000.03010.25
5.0.00.0030.06010.25
4.4.90.0000.03710.25
4.4.80.0030.02710.25
4.4.70.0030.03310.25
4.4.60.0000.03010.25
4.4.50.0000.02710.25
4.4.40.0000.04310.25
4.4.30.0000.03710.25
4.4.20.0000.04010.25
4.4.10.0000.03710.25
4.4.00.0030.03010.25
4.3.110.0070.02710.25
4.3.100.0030.02310.25
4.3.90.0030.02710.25
4.3.80.0030.03310.25
4.3.70.0000.03710.25
4.3.60.0000.02010.25
4.3.50.0000.02010.25
4.3.40.0000.03010.25
4.3.30.0070.03010.25
4.3.20.0000.02310.25
4.3.10.0000.03010.25
4.3.00.0000.02010.25

preferences:
43.55 ms | 401 KiB | 5 Q