3v4l.org

run code in 300+ PHP versions simultaneously
<?php $bithdayDate = "1986-7-21"; $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.0090.01216.63
8.3.50.0070.01022.00
8.3.40.0140.00318.96
8.3.30.0070.00719.18
8.3.20.0000.00720.46
8.3.10.0040.00423.66
8.3.00.0000.00820.71
8.2.180.0150.00616.50
8.2.170.0110.00422.96
8.2.160.0100.00322.25
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0070.00026.16
8.2.120.0030.00522.24
8.2.110.0030.00722.20
8.2.100.0040.00817.91
8.2.90.0040.00419.41
8.2.80.0060.00317.97
8.2.70.0090.00017.88
8.2.60.0070.00317.93
8.2.50.0040.00418.07
8.2.40.0030.00519.41
8.2.30.0040.00418.18
8.2.20.0000.00717.84
8.2.10.0040.00419.70
8.2.00.0080.00017.94
8.1.280.0100.00625.92
8.1.270.0040.00424.02
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00923.79
8.1.230.0040.00719.17
8.1.220.0040.00417.93
8.1.210.0050.00318.77
8.1.200.0120.00317.60
8.1.190.0040.00417.53
8.1.180.0040.00418.10
8.1.170.0000.00818.63
8.1.160.0000.00722.05
8.1.150.0030.00518.82
8.1.140.0040.00417.57
8.1.130.0000.00717.93
8.1.120.0030.00417.53
8.1.110.0050.00317.66
8.1.100.0030.00517.54
8.1.90.0060.00317.56
8.1.80.0070.00017.61
8.1.70.0030.00317.54
8.1.60.0060.00317.69
8.1.50.0050.00317.66
8.1.40.0000.00817.68
8.1.30.0050.00317.77
8.1.20.0030.00517.76
8.1.10.0040.00417.61
8.1.00.0000.00817.54
8.0.300.0070.00018.77
8.0.290.0070.00017.16
8.0.280.0030.00318.58
8.0.270.0000.00717.41
8.0.260.0030.00317.05
8.0.250.0000.00717.25
8.0.240.0000.00717.10
8.0.230.0000.00817.23
8.0.220.0000.00717.13
8.0.210.0030.00517.11
8.0.200.0070.00317.16
8.0.190.0070.00017.08
8.0.180.0040.00417.05
8.0.170.0040.00417.16
8.0.160.0040.00417.04
8.0.150.0000.00817.13
8.0.140.0040.00416.93
8.0.130.0030.00313.50
8.0.120.0040.00416.98
8.0.110.0070.00017.01
8.0.100.0000.00816.91
8.0.90.0050.00317.09
8.0.80.0030.01517.14
8.0.70.0040.00417.06
8.0.60.0000.00717.12
8.0.50.0040.00416.98
8.0.30.0090.01017.32
8.0.20.0070.01317.40
8.0.10.0040.00417.27
8.0.00.0070.01016.96
7.4.330.0030.00315.07
7.4.320.0040.00416.75
7.4.300.0040.00416.55
7.4.290.0070.00016.63
7.4.280.0030.00316.64
7.4.270.0030.00316.70
7.4.260.0060.00316.61
7.4.250.0040.00316.71
7.4.240.0050.00216.74
7.4.230.0040.00416.48
7.4.220.0160.00316.70
7.4.210.0120.00516.67
7.4.200.0030.00316.76
7.4.190.0040.00416.84
7.4.160.0090.00616.74
7.4.150.0090.00917.40
7.4.140.0150.00717.86
7.4.130.0050.01516.70
7.4.120.0100.00716.69
7.4.110.0030.01316.46
7.4.100.0120.00616.70
7.4.90.0060.01016.71
7.4.80.0140.00716.62
7.4.70.0090.00916.72
7.4.60.0060.01016.74
7.4.50.0030.00616.64
7.4.40.0030.01322.77
7.4.30.0120.00416.65
7.4.00.0000.01615.12
7.3.330.0050.00013.29
7.3.320.0000.00513.33
7.3.310.0050.00216.41
7.3.300.0000.00716.36
7.3.290.0110.00416.45
7.3.280.0110.00616.45
7.3.270.0130.00917.40
7.3.260.0100.01016.61
7.3.250.0110.00816.58
7.3.240.0060.01516.45
7.3.230.0110.00616.72
7.3.210.0030.01616.61
7.3.200.0070.01119.39
7.3.190.0120.00616.50
7.3.180.0030.01216.52
7.3.170.0060.01516.59
7.3.160.0110.00416.93
7.3.120.0070.00714.85
7.2.330.0040.01516.81
7.2.320.0110.01116.50
7.2.310.0060.01017.04
7.2.300.0090.01516.93
7.2.290.0100.00616.93
7.2.80.0160.00516.53
7.2.60.0000.01616.95
7.2.00.0140.01419.36
7.1.200.0060.00315.97
7.1.100.0000.01318.13
7.1.70.0030.01317.36
7.1.60.0060.01919.29
7.1.50.0110.01117.12
7.1.00.0100.07022.44
7.0.200.0100.00217.01
7.0.140.0070.06722.01
7.0.80.0070.08019.88
7.0.70.0130.04019.92
7.0.60.0470.05319.96
7.0.50.0070.05020.29
7.0.40.0170.04320.05
7.0.30.0170.07720.18
7.0.20.0070.04019.99
7.0.10.0130.06720.12
7.0.00.0070.07720.04
5.6.280.0130.06321.12
5.6.230.0000.06320.65
5.6.220.0130.06720.64
5.6.210.0070.05720.64
5.6.200.0100.08021.07
5.6.190.0100.08721.13
5.6.180.0170.07021.07
5.6.170.0000.09020.93
5.6.160.0070.08721.01
5.6.150.0070.05321.01
5.6.140.0130.04720.93
5.6.130.0070.07721.13
5.6.120.0070.04320.96
5.6.110.0230.07021.00
5.6.100.0030.05721.06
5.6.90.0170.07721.02
5.6.80.0070.05320.32
5.6.70.0130.07320.39
5.6.60.0100.06720.40
5.6.50.0270.06320.41
5.6.40.0100.05320.29
5.6.30.0070.06320.36
5.6.20.0100.07020.45
5.6.10.0230.05320.30
5.6.00.0100.06320.45
5.5.370.0100.07720.55
5.5.360.0070.08020.43
5.5.350.0070.04020.33
5.5.340.0100.04320.77
5.5.330.0130.07020.75
5.5.320.0070.05020.82
5.5.310.0030.05720.82
5.5.300.0170.08020.85
5.5.290.0100.07720.82
5.5.280.0070.09020.88
5.5.270.0070.08320.87
5.5.260.0000.05720.87
5.5.250.0030.07320.68
5.5.240.0100.06720.21
5.5.230.0000.06720.24
5.5.220.0070.07020.22
5.5.210.0070.05020.28
5.5.200.0030.08020.10
5.5.190.0100.07020.26
5.5.180.0070.05020.18
5.5.160.0200.07320.07
5.5.150.0030.04720.10
5.5.140.0070.07020.16
5.5.130.0030.05020.13
5.5.120.0070.03720.10
5.5.110.0100.04019.94
5.5.100.0000.04320.15
5.5.90.0130.06720.15
5.5.80.0070.08019.94
5.5.70.0030.04020.07
5.5.60.0130.06720.14
5.5.50.0100.03319.90
5.5.40.0100.07320.04
5.5.30.0070.03319.93
5.5.20.0000.04320.12
5.5.10.0000.04719.98
5.5.00.0030.04019.95
5.4.450.0070.05319.31
5.4.440.0000.05719.36
5.4.430.0100.06719.26
5.4.420.0100.07019.39
5.4.410.0030.08019.27
5.4.400.0030.06718.79
5.4.390.0030.06018.85
5.4.380.0130.04018.90
5.4.370.0030.07019.13
5.4.360.0100.06719.07
5.4.350.0070.07718.78
5.4.340.0100.06719.05
5.4.320.0000.05018.98
5.4.310.0070.03719.10
5.4.300.0100.07718.98
5.4.290.0070.07719.14
5.4.280.0170.05718.81
5.4.270.0030.04318.98
5.4.260.0070.04018.80
5.4.250.0030.03719.09
5.4.240.0200.06319.09
5.4.230.0070.03319.02
5.4.220.0130.02719.11
5.4.210.0200.07019.09
5.4.200.0000.04019.05
5.4.190.0030.07719.04
5.4.180.0070.07318.80
5.4.170.0100.06718.96
5.4.160.0130.06719.07
5.4.150.0070.08319.02
5.4.140.0070.05016.34
5.4.130.0070.07316.47
5.4.120.0030.07316.39
5.4.110.0100.05016.27
5.4.100.0000.04316.49
5.4.90.0070.03316.31
5.4.80.0070.03316.48
5.4.70.0030.05716.40
5.4.60.0030.04016.38
5.4.50.0000.03716.37
5.4.40.0130.05716.29
5.4.30.0030.05016.33
5.4.20.0030.03316.38
5.4.10.0000.04716.20
5.4.00.0000.03715.77
5.3.290.0070.07314.57
5.3.280.0070.07014.58
5.3.270.0070.07014.56
5.3.260.0100.07314.59
5.3.250.0000.06314.51
5.3.240.0070.05314.56
5.3.230.0070.07714.41
5.3.220.0100.07014.51
5.3.210.0030.06314.51
5.3.200.0000.06714.55
5.3.190.0030.06314.55
5.3.180.0000.04314.41
5.3.170.0070.04014.54
5.3.160.0030.04014.50
5.3.150.0000.04014.54
5.3.140.0000.04014.37
5.3.130.0030.04714.36
5.3.120.0000.04014.40
5.3.110.0000.04014.53
5.3.100.0000.04013.87
5.3.90.0070.03313.88
5.3.80.0070.03313.97
5.3.70.0100.02714.02
5.3.60.0000.03713.86
5.3.50.0000.04013.79
5.3.40.0070.03313.79
5.3.30.0030.03713.86
5.3.20.0030.04713.62
5.3.10.0070.03013.41
5.3.00.0030.03713.63
5.2.170.0100.03311.00
5.2.160.0070.02311.18
5.2.150.0100.02311.00
5.2.140.0070.02311.18
5.2.130.0030.02711.00
5.2.120.0030.03311.00
5.2.110.0000.03311.02
5.2.100.0100.02311.14
5.2.90.0000.03311.12
5.2.80.0030.03011.00
5.2.70.0030.02711.08
5.2.60.0030.04011.03
5.2.50.0070.05011.03
5.2.40.0030.02711.00
5.2.30.0030.02711.00
5.2.20.0070.02311.00
5.2.10.0000.03011.00
5.2.00.0030.03011.00
5.1.60.0030.02311.00
5.1.50.0070.02311.00
5.1.40.0000.02711.00
5.1.30.0030.02311.00
5.1.20.0030.02711.00
5.1.10.0000.02711.00
5.1.00.0000.03011.00
5.0.50.0000.02311.00
5.0.40.0000.02011.00
5.0.30.0000.03311.00
5.0.20.0030.02011.00
5.0.10.0000.02011.00
5.0.00.0000.03011.00
4.4.90.0000.02011.00
4.4.80.0000.01711.00
4.4.70.0000.01711.00
4.4.60.0000.01711.00
4.4.50.0000.01711.00
4.4.40.0030.03011.00
4.4.30.0000.01711.00
4.4.20.0030.01711.00
4.4.10.0000.03011.00
4.4.00.0030.02011.00
4.3.110.0000.01711.00
4.3.100.0000.01311.00
4.3.90.0000.01711.00
4.3.80.0000.02311.00
4.3.70.0030.01311.00
4.3.60.0000.01311.00
4.3.50.0070.01011.00
4.3.40.0030.02711.00
4.3.30.0030.01311.00
4.3.20.0000.01711.00
4.3.10.0000.01711.00
4.3.00.0000.01311.00

preferences:
40.27 ms | 401 KiB | 5 Q