3v4l.org

run code in 300+ PHP versions simultaneously
<?php $midnight = (new \DateTime())->setTimestamp(1374246685)->modify('tomorrow'); var_dump($midnight);

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.130.0080.00018.54
8.3.120.0080.00020.56
8.3.110.0080.00018.54
8.3.100.0040.00416.65
8.3.90.0100.01026.77
8.3.80.0070.00716.50
8.3.70.0120.00616.58
8.3.60.0120.00616.50
8.3.50.0070.00922.16
8.3.40.0040.01418.92
8.3.30.0120.00318.80
8.3.20.0070.00020.29
8.3.10.0050.00321.87
8.3.00.0030.00619.38
8.2.250.0130.00317.83
8.2.240.0070.00717.14
8.2.230.0130.00720.94
8.2.220.0060.00324.06
8.2.210.0000.00926.77
8.2.200.0060.00316.50
8.2.190.0180.00416.75
8.2.180.0180.00325.92
8.2.170.0160.00322.96
8.2.160.0030.01020.38
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0130.00326.16
8.2.120.0080.00019.48
8.2.110.0090.00022.25
8.2.100.0040.00817.91
8.2.90.0000.00817.75
8.2.80.0050.00318.78
8.2.70.0000.00819.53
8.2.60.0060.00318.03
8.2.50.0000.01018.10
8.2.40.0080.00019.78
8.2.30.0040.00419.72
8.2.20.0050.00317.67
8.2.10.0040.00419.78
8.2.00.0040.00817.75
8.1.300.0040.00416.36
8.1.290.0090.00030.84
8.1.280.0080.00825.92
8.1.270.0030.00523.83
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0030.00621.03
8.1.230.0000.01222.77
8.1.220.0030.00617.74
8.1.210.0080.00018.77
8.1.200.0000.00817.35
8.1.190.0100.00017.35
8.1.180.0000.00818.10
8.1.170.0030.00618.63
8.1.160.0050.00321.81
8.1.150.0070.00418.80
8.1.140.0080.00017.47
8.1.130.0030.00317.89
8.1.120.0030.00517.62
8.1.110.0040.00417.63
8.1.100.0040.00417.45
8.1.90.0000.00717.58
8.1.80.0080.00017.54
8.1.70.0030.00517.51
8.1.60.0050.00517.52
8.1.50.0040.00417.47
8.1.40.0030.00517.63
8.1.30.0030.00517.67
8.1.20.0040.00417.62
8.1.10.0030.00617.59
8.1.00.0040.00417.62
8.0.300.0000.00718.77
8.0.290.0040.00416.88
8.0.280.0070.00018.41
8.0.270.0030.00317.30
8.0.260.0060.00017.13
8.0.250.0070.00017.13
8.0.240.0000.00717.02
8.0.230.0000.00817.05
8.0.220.0070.00017.06
8.0.210.0070.00316.88
8.0.200.0000.00717.06
8.0.190.0060.00317.09
8.0.180.0040.00416.95
8.0.170.0070.00017.06
8.0.160.0030.00617.07
8.0.150.0000.00716.95
8.0.140.0000.00716.92
8.0.130.0060.00013.46
8.0.120.0030.00516.94
8.0.110.0000.00716.84
8.0.100.0000.00816.98
8.0.90.0000.00716.97
8.0.80.0040.01117.03
8.0.70.0030.00516.90
8.0.60.0000.00716.90
8.0.50.0000.00717.04
8.0.30.0090.01117.24
8.0.20.0120.00817.40
8.0.10.0040.00417.18
8.0.00.0020.01516.83
7.4.330.0050.00015.08
7.4.320.0000.00716.62
7.4.300.0030.00316.54
7.4.290.0000.00716.49
7.4.280.0030.00516.51
7.4.270.0030.00316.57
7.4.260.0000.00716.69
7.4.250.0040.00416.63
7.4.240.0030.00416.50
7.4.230.0030.00316.37
7.4.220.0030.01416.61
7.4.210.0100.00716.65
7.4.200.0000.00816.59
7.4.190.0070.00016.73
7.4.160.0090.00616.57
7.4.150.0140.00417.40
7.4.140.0100.01017.86
7.4.130.0080.01016.38
7.4.120.0080.00916.60
7.4.110.0060.01016.65
7.4.100.0110.01216.78
7.4.90.0090.00616.56
7.4.80.0140.00919.39
7.4.70.0120.00416.66
7.4.60.0030.01216.46
7.4.50.0090.00016.23
7.4.40.0080.00822.77
7.4.30.0110.00816.47
7.4.10.0100.00514.96
7.4.00.0090.01014.91
7.3.330.0030.00313.01
7.3.320.0030.00312.95
7.3.310.0070.00016.12
7.3.300.0030.00316.10
7.3.290.0100.01016.29
7.3.280.0080.01016.24
7.3.270.0090.00917.40
7.3.260.0070.01416.36
7.3.250.0080.00916.47
7.3.240.0100.00616.46
7.3.230.0090.00916.55
7.3.210.0030.01216.55
7.3.200.0140.01019.39
7.3.190.0140.00716.58
7.3.180.0090.00616.32
7.3.170.0070.01016.55
7.3.160.0090.00916.38
7.3.130.0070.00714.76
7.3.120.0100.00714.84
7.3.110.0060.01214.60
7.3.100.0060.00814.81
7.3.90.0050.00914.75
7.3.80.0090.00314.92
7.3.70.0070.00714.76
7.3.60.0050.01014.56
7.3.50.0120.00314.57
7.3.40.0090.00614.77
7.3.30.0060.00814.82
7.3.20.0060.00915.63
7.3.10.0110.00215.80
7.3.00.0070.00615.69
7.2.330.0120.00616.57
7.2.320.0130.01016.70
7.2.310.0070.01016.75
7.2.300.0030.01316.60
7.2.290.0050.01116.74
7.2.260.0080.01114.84
7.2.250.0110.00614.95
7.2.240.0120.00815.03
7.2.230.0050.00914.99
7.2.220.0130.00514.87
7.2.210.0040.00814.96
7.2.200.0040.01214.86
7.2.190.0090.00514.88
7.2.180.0060.01114.89
7.2.170.0090.00514.93
7.2.160.0100.00814.83
7.2.150.0060.01015.11
7.2.140.0030.01315.05
7.2.130.0090.00714.94
7.2.120.0120.00314.98
7.2.110.0080.00915.14
7.2.100.0120.00414.92
7.2.90.0030.01314.82
7.2.80.0080.01215.20
7.2.70.0090.00714.95
7.2.60.0240.00315.99
7.2.50.0080.00814.95
7.2.40.0040.01114.99
7.2.30.0080.01114.79
7.2.20.0000.01614.98
7.2.10.0080.00815.08
7.2.00.0170.00014.76
7.1.330.0110.00914.89
7.1.320.0100.00814.96
7.1.310.0060.01014.82
7.1.300.0140.00314.85
7.1.290.0060.01114.86
7.1.280.0050.00914.87
7.1.270.0060.01114.90
7.1.260.0030.01614.95
7.1.250.0140.00913.93
7.1.240.0150.00513.88
7.1.230.0070.01314.15
7.1.220.0160.01213.89
7.1.210.0120.00714.05
7.1.200.0130.00314.86
7.1.190.0120.01213.88
7.1.180.0170.00713.58
7.1.170.0100.01013.79
7.1.160.0130.00613.91
7.1.150.0180.00613.64
7.1.140.0080.01213.89
7.1.130.0210.00014.09
7.1.120.0110.01014.06
7.1.110.0150.00414.13
7.1.100.0130.00613.73
7.1.90.0160.00513.77
7.1.80.0250.00014.00
7.1.70.0110.00415.51
7.1.60.0110.00515.59
7.1.50.0100.01015.48
7.1.40.0140.00115.36
7.1.30.0080.00915.41
7.1.20.0120.00915.26
7.1.10.0140.00615.40
7.1.00.0180.00215.28
7.0.330.0050.01013.39
7.0.320.0040.01613.72
7.0.310.0140.00413.39
7.0.300.0100.00613.19
7.0.290.0150.00313.33
7.0.280.0110.00413.68
7.0.270.0130.00313.58
7.0.260.0080.00813.75
7.0.250.0150.00613.35
7.0.240.0180.00013.45
7.0.230.0100.00913.66
7.0.220.0130.00713.77
7.0.210.0430.00313.06
7.0.200.0080.00615.10
7.0.190.0060.01015.22
7.0.180.0080.00514.99
7.0.170.0070.00715.15
7.0.160.0090.00915.10
7.0.150.0120.00815.18
7.0.140.0080.01015.06
7.0.130.0050.01115.14
7.0.120.0100.00615.19
7.0.110.0080.00715.16
7.0.100.0110.00515.14
7.0.90.0060.00815.04
7.0.80.0040.01115.17
7.0.70.0110.00515.15
7.0.60.0080.00615.08
7.0.50.0100.00415.18
7.0.40.0070.00815.20
7.0.30.0090.00615.21
7.0.20.0130.00715.11
7.0.10.0060.00715.22
7.0.00.0070.00715.29
5.6.400.0090.00914.11
5.6.390.0050.01014.22
5.6.380.0100.00514.15
5.6.370.0040.01514.10
5.6.360.0030.01314.34
5.6.350.0130.00314.12
5.6.340.0050.01114.13
5.6.330.0040.01714.05
5.6.320.0120.00614.43
5.6.310.0090.00914.21
5.6.300.0090.02717.51
5.6.290.0050.03217.41
5.6.280.0070.02717.38
5.6.270.0040.03317.54
5.6.260.0120.02317.57
5.6.250.0080.02717.60
5.6.240.0090.02617.57
5.6.230.0030.03017.73
5.6.220.0110.03217.74
5.6.210.0070.02517.43
5.6.200.0090.02417.62
5.6.190.0080.03217.48
5.6.180.0030.03017.52
5.6.170.0090.03717.63
5.6.160.0060.02617.65
5.6.150.0070.02517.64
5.6.140.0090.02317.49
5.6.130.0150.02117.67
5.6.120.0100.02517.66
5.6.110.0120.02217.55
5.6.100.0080.02717.65
5.6.90.0050.02917.62
5.6.80.0060.02517.21
5.6.70.0060.02617.24
5.6.60.0060.02617.21
5.6.50.0090.02717.29
5.6.40.0070.02617.40
5.6.30.0050.03217.18
5.6.20.0080.02617.40
5.6.10.0070.02917.32
5.6.00.0140.02517.25
5.5.380.0020.02915.88
5.5.370.0090.02915.70
5.5.360.0080.02815.87
5.5.350.0030.02815.79
5.5.340.0130.02216.04
5.5.330.0070.02316.22
5.5.320.0080.02116.00
5.5.310.0030.03016.13
5.5.300.0060.02516.25
5.5.290.0070.02515.95
5.5.280.0050.02516.22
5.5.270.0040.05016.13
5.5.260.0020.02716.20
5.5.250.0050.02616.13
5.5.240.0050.02415.80
5.5.230.0040.02915.83
5.5.220.0050.02515.75
5.5.210.0020.02715.86
5.5.200.0090.02515.81
5.5.190.0140.01915.76
5.5.180.0060.02815.69
5.5.170.0000.01414.34
5.5.160.0070.02615.68
5.5.150.0060.02515.74
5.5.140.0080.02415.93
5.5.130.0050.02315.81
5.5.120.0040.02715.85
5.5.110.0090.02015.75
5.5.100.0030.02715.58
5.5.90.0050.02815.82
5.5.80.0080.03015.75
5.5.70.0090.03315.91
5.5.60.0090.02915.86
5.5.50.0070.03515.60
5.5.40.0050.02415.71
5.5.30.0130.02015.75
5.5.20.0020.02715.65
5.5.10.0180.02215.77
5.5.00.0110.02915.76
5.4.450.0060.02315.95
5.4.440.0080.02615.94
5.4.430.0100.02316.04
5.4.420.0050.02316.04
5.4.410.0060.02115.88
5.4.400.0060.02215.78
5.4.390.0080.01915.88
5.4.380.0040.02915.76
5.4.370.0070.02215.93
5.4.360.0110.02315.78
5.4.350.0070.03015.88
5.4.340.0070.02615.82
5.4.330.0120.00612.70
5.4.320.0070.02215.85
5.4.310.0070.02715.85
5.4.300.0070.02415.82
5.4.290.0150.01715.72
5.4.280.0060.02315.79
5.4.270.0090.02015.77
5.4.260.0100.02015.80
5.4.250.0040.02915.74
5.4.240.0050.02615.74
5.4.230.0060.02115.74
5.4.220.0050.02415.78
5.4.210.0070.02215.78
5.4.200.0080.01815.87
5.4.190.0020.02715.79
5.4.180.0050.02515.79
5.4.170.0070.03015.79
5.4.160.0070.02015.71
5.4.150.0050.02415.70
5.4.140.0050.02314.65
5.4.130.0100.03514.69
5.4.120.0050.04214.54
5.4.110.0090.01814.54
5.4.100.0100.03214.50
5.4.90.0060.02114.60
5.4.80.0070.02114.61
5.4.70.0060.02114.60
5.4.60.0130.02514.60
5.4.50.0180.01514.46
5.4.40.0070.02214.59
5.4.30.0030.02514.49
5.4.20.0100.02014.46
5.4.10.0080.03414.46
5.4.00.0070.01914.29
5.3.290.0030.02614.73
5.3.280.0090.01813.74
5.3.270.0060.02313.74
5.3.260.0120.02213.74
5.3.250.0050.02713.75
5.3.240.0060.02413.76
5.3.230.0080.02213.74
5.3.220.0100.01813.74
5.3.210.0110.02513.74
5.3.200.0040.02413.74
5.3.190.0060.01913.74
5.3.180.0050.02313.74
5.3.170.0060.02013.74
5.3.160.0070.01913.75
5.3.150.0070.01913.74
5.3.140.0110.02913.74
5.3.130.0110.02013.74
5.3.120.0070.02013.74
5.3.110.0060.02413.74
5.3.100.0060.02413.74
5.3.90.0060.02313.74
5.3.80.0040.02313.74
5.3.70.0030.03013.74
5.3.60.0000.03413.74
5.3.50.0070.01913.74
5.3.40.0050.02513.74
5.3.30.0070.02913.74
5.3.20.0030.02213.74
5.3.10.0020.02713.74
5.3.00.0170.02013.74
5.2.170.0030.03314.77
5.2.160.0030.02714.77
5.2.150.0060.03814.77
5.2.140.0070.03314.77
5.2.130.0070.03114.77
5.2.120.0030.03014.77
5.2.110.0250.02814.77
5.2.100.0060.03014.77
5.2.90.0030.02614.77
5.2.80.0060.03214.77
5.2.70.0000.03214.77
5.2.60.0030.03314.77
5.2.50.0060.02514.77
5.2.40.0030.03314.77
5.2.30.0030.03114.77
5.2.20.0060.02414.77
5.2.10.0000.03214.77
5.2.00.0060.02714.77
5.1.60.0030.02314.77
5.1.50.0030.02314.77
5.1.40.0040.02514.77
5.1.30.0060.02314.77
5.1.20.0030.02614.77
5.1.10.0070.02114.77
5.1.00.0000.03514.77
5.0.50.0040.02114.77
5.0.40.0000.02514.77
5.0.30.0000.03414.77
5.0.20.0000.02214.77
5.0.10.0100.02314.77
5.0.00.0030.03314.77
4.4.90.0040.01414.77
4.4.80.0030.01314.77
4.4.70.0000.01814.77
4.4.60.0000.01814.77
4.4.50.0030.01514.77
4.4.40.0000.02614.77
4.4.30.0000.01814.77
4.4.20.0070.02814.77
4.4.10.0070.02814.77
4.4.00.0000.03014.77
4.3.110.0100.02014.77
4.3.100.0000.01814.77
4.3.90.0060.01614.77
4.3.80.0030.02214.77
4.3.70.0050.01114.77
4.3.60.0030.01314.77
4.3.50.0040.01514.77
4.3.40.0070.03214.77
4.3.30.0070.01714.77
4.3.20.0030.02014.77
4.3.10.0000.03214.77
4.3.00.0000.01714.77

preferences:
30.25 ms | 403 KiB | 5 Q