3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bithdayDate = "1992-04-17"; $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.0070.01118.68
8.3.50.0080.00716.64
8.3.40.0090.00619.09
8.3.30.0160.00318.79
8.3.20.0000.00818.63
8.3.10.0000.00820.78
8.3.00.0050.00317.63
8.2.180.0150.00316.63
8.2.170.0070.01422.96
8.2.160.0110.00422.29
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0060.00326.16
8.2.120.0040.00419.96
8.2.110.0040.00721.05
8.2.100.0040.00717.97
8.2.90.0040.00419.20
8.2.80.0000.00718.05
8.2.70.0060.00317.75
8.2.60.0040.00417.93
8.2.50.0050.00518.07
8.2.40.0000.00818.31
8.2.30.0000.01118.21
8.2.20.0050.00217.95
8.2.10.0060.00318.02
8.2.00.0070.00317.88
8.1.280.0090.00925.92
8.1.270.0000.00923.99
8.1.260.0000.00826.35
8.1.250.0000.00728.09
8.1.240.0040.00422.54
8.1.230.0090.00320.96
8.1.220.0000.00818.77
8.1.210.0120.00018.89
8.1.200.0000.00917.50
8.1.190.0000.00817.55
8.1.180.0060.00318.10
8.1.170.0000.00818.92
8.1.160.0040.00419.05
8.1.150.0000.00818.87
8.1.140.0000.00717.64
8.1.130.0030.00317.95
8.1.120.0000.00717.54
8.1.110.0000.00717.69
8.1.100.0040.00417.54
8.1.90.0000.00717.48
8.1.80.0000.00817.65
8.1.70.0000.00717.53
8.1.60.0000.00917.67
8.1.50.0080.00017.61
8.1.40.0050.00517.67
8.1.30.0080.00017.68
8.1.20.0050.00317.73
8.1.10.0000.00817.72
8.1.00.0000.00817.58
8.0.300.0090.00020.10
8.0.290.0030.00617.00
8.0.280.0030.00318.50
8.0.270.0000.00717.39
8.0.260.0030.00318.88
8.0.250.0000.00717.16
8.0.240.0040.00717.12
8.0.230.0030.00317.16
8.0.220.0070.00017.11
8.0.210.0040.00417.09
8.0.200.0030.00317.14
8.0.190.0000.00717.14
8.0.180.0040.00317.11
8.0.170.0040.00417.01
8.0.160.0000.00817.00
8.0.150.0040.00417.13
8.0.140.0100.00016.95
8.0.130.0060.00013.53
8.0.120.0000.00716.95
8.0.110.0050.00517.06
8.0.100.0070.00017.05
8.0.90.0000.00716.96
8.0.80.0090.00617.10
8.0.70.0050.00216.97
8.0.60.0000.00716.96
8.0.50.0040.00417.12
8.0.30.0120.00617.21
8.0.20.0140.00917.21
8.0.10.0000.00717.00
8.0.00.0100.01516.92
7.4.330.0060.00014.95
7.4.320.0040.00416.64
7.4.300.0030.00316.63
7.4.290.0000.00716.61
7.4.280.0050.00316.66
7.4.270.0090.00016.63
7.4.260.0050.00013.35
7.4.250.0030.00516.57
7.4.240.0040.00416.55
7.4.230.0000.00716.68
7.4.220.0120.00916.78
7.4.210.0100.00816.73
7.4.200.0000.00716.55
7.4.190.0070.00016.54
7.4.160.0100.00616.58
7.4.150.0060.01217.18
7.4.140.0040.01317.22
7.4.130.0060.01216.79
7.4.120.0090.00716.78
7.4.110.0070.01116.77
7.4.100.0130.00316.58
7.4.90.0040.01516.76
7.4.80.0180.00318.80
7.4.70.0150.00716.61
7.4.60.0000.01716.57
7.4.50.0000.00816.71
7.4.40.0100.00322.27
7.4.30.0120.00416.83
7.4.00.0060.00914.71
7.3.330.0030.00313.43
7.3.320.0090.00013.20
7.3.310.0050.00216.50
7.3.300.0000.00716.37
7.3.290.0060.01316.50
7.3.280.0060.01016.48
7.3.270.0150.00317.18
7.3.260.0120.00518.24
7.3.250.0150.00516.79
7.3.240.0040.01216.71
7.3.230.0100.00716.66
7.3.210.0150.00416.93
7.3.200.0100.00619.39
7.3.190.0080.01016.45
7.3.180.0050.01116.41
7.3.170.0120.01016.50
7.3.160.0060.01016.56
7.3.120.0100.00314.87
7.2.330.0060.01316.82
7.2.320.0030.01416.62
7.2.310.0150.00816.89
7.2.300.0080.00816.70
7.2.290.0110.00616.74
7.2.00.0030.01319.51
7.1.100.0030.00618.16
7.1.70.0000.01017.38
7.1.60.0100.01319.40
7.1.50.0030.01716.89
7.1.00.0030.03322.33
7.0.200.0000.00817.05
7.0.140.0000.07722.08
7.0.110.0100.07720.07
7.0.100.0200.06720.07
7.0.90.0100.07020.06
7.0.80.0100.08320.03
7.0.70.0100.04719.91
7.0.60.0130.08020.02
7.0.50.0100.04719.95
7.0.40.0130.07319.85
7.0.30.0030.08319.74
7.0.20.0100.08019.65
7.0.10.0030.07319.70
7.0.00.0130.07719.86
5.6.280.0100.06721.09
5.6.260.0100.07320.66
5.6.250.0130.07320.74
5.6.240.0070.08020.47
5.6.230.0070.08320.69
5.6.220.0100.08020.66
5.6.210.0230.06720.63
5.6.200.0030.08720.68
5.6.190.0070.07720.70
5.6.180.0030.08720.70
5.6.170.0170.04020.59
5.6.160.0130.07020.55
5.6.150.0100.07020.64
5.6.140.0070.05020.70
5.6.130.0070.05020.56
5.6.120.0100.06720.61
5.6.110.0130.08020.62
5.6.100.0100.08020.63
5.6.90.0030.07320.56
5.6.80.0130.04720.09
5.6.70.0100.04320.00
5.6.60.0130.07720.07
5.6.50.0000.08320.02
5.6.40.0100.07720.01
5.6.30.0030.08019.82
5.6.20.0070.08019.96
5.6.10.0030.07719.97
5.6.00.0030.08319.90
5.5.380.0170.06720.51
5.5.370.0100.07020.40
5.5.360.0130.07020.35
5.5.350.0070.08020.37
5.5.340.0170.06721.01
5.5.330.0030.08720.89
5.5.320.0100.04720.96
5.5.310.0100.07720.94
5.5.300.0100.08020.89
5.5.290.0130.07720.89
5.5.280.0130.04320.89
5.5.270.0100.07720.79
5.5.260.0130.04320.73
5.5.250.0070.08320.79
5.5.240.0000.07320.11
5.5.230.0130.07720.16
5.5.220.0100.06320.33
5.5.210.0030.04720.18
5.5.200.0000.08020.15
5.5.190.0100.06720.24
5.5.180.0070.08020.12
5.5.160.0100.06720.29
5.5.150.0070.08020.32
5.5.140.0130.05720.14
5.5.130.0100.06020.08
5.5.120.0130.07320.26
5.5.110.0200.06720.32
5.5.100.0130.07020.23
5.5.90.0030.07020.09
5.5.80.0170.07020.01
5.5.70.0030.08720.00
5.5.60.0100.06720.14
5.5.50.0130.08020.12
5.5.40.0130.07020.02
5.5.30.0030.06020.09
5.5.20.0030.08719.97
5.5.10.0000.07020.13
5.5.00.0070.08020.02
5.4.450.0030.08019.36
5.4.440.0170.06719.50
5.4.430.0170.06319.25
5.4.420.0070.07319.48
5.4.410.0170.06319.44
5.4.400.0070.07018.95
5.4.390.0070.08019.02
5.4.380.0170.06718.96
5.4.370.0070.06319.27
5.4.360.0070.07719.11
5.4.350.0130.03719.25
5.4.340.0000.08718.90
5.4.320.0030.08018.95
5.4.310.0100.07018.90
5.4.300.0100.07719.25
5.4.290.0100.04319.03
5.4.280.0070.04318.95
5.4.270.0070.07019.12
5.4.260.0100.04318.94
5.4.250.0100.07319.24
5.4.240.0070.07718.94
5.4.230.0170.06318.95
5.4.220.0070.04719.16
5.4.210.0000.06319.27
5.4.200.0170.04319.16
5.4.190.0100.05719.01
5.4.180.0070.06719.02
5.4.170.0100.07718.95
5.4.160.0130.06718.98
5.4.150.0070.08319.09
5.4.140.0070.06316.57
5.4.130.0030.07016.45
5.4.120.0030.05016.37
5.4.110.0100.06016.43
5.4.100.0070.07016.53
5.4.90.0100.06316.34
5.4.80.0100.07016.17
5.4.70.0170.06016.53
5.4.60.0200.05716.33
5.4.50.0070.07016.16
5.4.40.0070.04316.16
5.4.30.0130.06716.38
5.4.20.0070.07016.34
5.4.10.0000.07716.47
5.4.00.0130.06315.88
5.3.290.0170.07014.54
5.3.280.0100.07314.69
5.3.270.0070.07714.66
5.3.260.0100.06314.53
5.3.250.0030.05314.47
5.3.240.0070.06314.70
5.3.230.0100.06714.52
5.3.220.0070.05714.40
5.3.210.0130.06714.51
5.3.200.0070.07714.50
5.3.190.0030.08314.50
5.3.180.0130.06314.49
5.3.170.0070.07714.43
5.3.160.0070.04314.66
5.3.150.0070.07314.48
5.3.140.0070.07714.49
5.3.130.0130.06714.44
5.3.120.0100.07314.48
5.3.110.0100.04314.43
5.3.100.0070.07714.29
5.3.90.0100.04014.29
5.3.80.0070.07314.29
5.3.70.0070.07314.29
5.3.60.0070.07714.29
5.3.50.0100.06714.29
5.3.40.0030.08714.29
5.3.30.0030.07314.29
5.3.20.0070.07014.29
5.3.10.0030.04314.29
5.3.00.0070.04714.29
5.2.170.0030.06314.29
5.2.160.0230.03014.29
5.2.150.0000.04014.29
5.2.140.0030.06314.29
5.2.130.0030.06314.29
5.2.120.0070.06014.29
5.2.110.0030.06014.29
5.2.100.0030.05314.29
5.2.90.0030.03314.29
5.2.80.0030.06314.29
5.2.70.0130.05314.29
5.2.60.0070.06314.29
5.2.50.0100.06014.29
5.2.40.0070.06014.29
5.2.30.0070.06314.29
5.2.20.0070.05314.29
5.2.10.0070.06714.29
5.2.00.0070.05314.29
5.1.60.0030.05714.29
5.1.50.0000.05314.29
5.1.40.0100.04714.29
5.1.30.0000.07314.29
5.1.20.0030.06014.29
5.1.10.0030.04314.29
5.1.00.0130.05014.29
5.0.50.0100.04314.29
5.0.40.0030.04714.29
5.0.30.0000.06714.29
5.0.20.0030.04314.29
5.0.10.0000.03714.29
5.0.00.0070.03714.29
4.4.90.0070.03014.29
4.4.80.0030.02014.29
4.4.70.0070.03014.29
4.4.60.0070.03014.29
4.4.50.0070.03014.29
4.4.40.0000.05314.29
4.4.30.0030.03314.29
4.4.20.0000.04014.29
4.4.10.0030.03314.29
4.4.00.0030.05314.29
4.3.110.0070.03014.29
4.3.100.0000.03714.29
4.3.90.0000.03714.29
4.3.80.0030.04314.29
4.3.70.0070.03014.29
4.3.60.0070.03014.29
4.3.50.0030.03314.29
4.3.40.0030.05314.29
4.3.30.0030.03314.29
4.3.20.0070.03014.29
4.3.10.0030.03314.29
4.3.00.0030.02314.29

preferences:
44.64 ms | 401 KiB | 5 Q