3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new \DateTime; $b = clone $a; var_dump($a < $b);

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.0000.00718.60
8.3.120.0060.00918.82
8.3.110.0090.00620.94
8.3.100.0100.00524.06
8.3.90.0000.00826.77
8.3.80.0060.00316.63
8.3.70.0090.00916.86
8.3.60.0040.01118.55
8.3.50.0150.00218.39
8.3.40.0120.00918.68
8.3.30.0120.00318.75
8.3.20.0070.00021.65
8.3.10.0080.00021.72
8.3.00.0070.00021.73
8.2.250.0060.00816.61
8.2.240.0100.00017.21
8.2.230.0060.00322.58
8.2.220.0070.00337.54
8.2.210.0000.00826.77
8.2.200.0080.00016.60
8.2.190.0120.00616.63
8.2.180.0040.01816.38
8.2.170.0150.00019.04
8.2.160.0090.00622.96
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00419.44
8.2.120.0040.00426.35
8.2.110.0080.00020.75
8.2.100.0090.00318.03
8.2.90.0080.00019.19
8.2.80.0040.00417.97
8.2.70.0000.01017.63
8.2.60.0060.00317.75
8.2.50.0000.00918.16
8.2.40.0060.00322.34
8.2.30.0040.00419.32
8.2.20.0000.00718.06
8.2.10.0080.00018.01
8.2.00.0000.00718.00
8.1.300.0000.00817.66
8.1.290.0090.00018.88
8.1.280.0130.00625.92
8.1.270.0040.00422.13
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00319.38
8.1.230.0140.00022.68
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.60
8.1.190.0030.00617.41
8.1.180.0060.00318.10
8.1.170.0040.00418.84
8.1.160.0000.00718.82
8.1.150.0030.00319.01
8.1.140.0030.00319.12
8.1.130.0050.00317.69
8.1.120.0030.00617.54
8.1.110.0040.00417.65
8.1.100.0040.00417.69
8.1.90.0020.00517.65
8.1.80.0020.00517.53
8.1.70.0040.00417.65
8.1.60.0000.00817.73
8.1.50.0050.00317.57
8.1.40.0000.00817.61
8.1.30.0040.00417.76
8.1.20.0030.00617.70
8.1.10.0000.00817.62
8.1.00.0050.00317.52
8.0.300.0030.00618.77
8.0.290.0080.00016.88
8.0.280.0070.00018.40
8.0.270.0000.00716.89
8.0.260.0090.00016.94
8.0.250.0030.00317.13
8.0.240.0030.00317.18
8.0.230.0050.00217.21
8.0.220.0070.00016.96
8.0.210.0030.00317.00
8.0.200.0030.00317.14
8.0.190.0040.00417.17
8.0.180.0070.00017.11
8.0.170.0040.00417.14
8.0.160.0060.00317.19
8.0.150.0000.00816.94
8.0.140.0030.00616.97
8.0.130.0060.00013.43
8.0.120.0000.00817.05
8.0.110.0000.00716.96
8.0.100.0040.00417.04
8.0.90.0050.00316.89
8.0.80.0000.01717.04
8.0.70.0000.00716.95
8.0.60.0050.00216.91
8.0.50.0080.00016.99
8.0.30.0080.00817.21
8.0.20.0110.01017.41
8.0.10.0000.00717.29
8.0.00.0070.01016.80
7.4.330.0000.00515.55
7.4.320.0000.00616.69
7.4.300.0030.00416.56
7.4.290.0000.00816.65
7.4.280.0030.00616.74
7.4.270.0000.00616.75
7.4.260.0100.00016.72
7.4.250.0040.00416.66
7.4.240.0050.00216.55
7.4.230.0030.00316.55
7.4.220.0000.00716.81
7.4.210.0100.00816.71
7.4.200.0000.00716.72
7.4.160.0110.00616.56
7.4.150.0070.01717.40
7.4.140.0110.00717.86
7.4.130.0130.00316.51
7.4.120.0060.01216.65
7.4.110.0070.01016.63
7.4.100.0080.00816.70
7.4.90.0150.00316.59
7.4.80.0060.01119.39
7.4.70.0060.01216.64
7.4.60.0100.00616.59
7.4.50.0120.00616.72
7.4.40.0140.01016.39
7.4.00.0030.01414.97
7.3.330.0060.00313.14
7.3.320.0030.00313.21
7.3.310.0000.00716.16
7.3.300.0070.00016.24
7.3.290.0070.00016.25
7.3.280.0100.00716.37
7.3.270.0100.01017.40
7.3.260.0060.01316.40
7.3.250.0090.00816.37
7.3.240.0090.00816.46
7.3.230.0090.00816.39
7.3.210.0080.00816.50
7.3.200.0090.00916.52
7.3.190.0120.00316.38
7.3.180.0100.00616.58
7.3.170.0040.01116.57
7.3.160.0080.00816.41
7.3.120.0070.00715.06
7.3.110.0070.01314.89
7.3.100.0150.00014.77
7.3.90.0040.00815.08
7.3.80.0070.00714.89
7.3.70.0100.00314.93
7.3.60.0070.00814.82
7.3.50.0090.01014.82
7.3.40.0150.00414.92
7.3.30.0080.01414.85
7.3.20.0100.01115.86
7.3.10.0080.00716.28
7.3.00.0100.00616.07
7.2.330.0060.01116.84
7.2.320.0120.00616.44
7.2.310.0030.01416.64
7.2.300.0030.01316.50
7.2.290.0000.01616.70
7.2.250.0100.00715.09
7.2.240.0070.01115.18
7.2.230.0100.00615.15
7.2.220.0060.01015.13
7.2.210.0120.00314.89
7.2.200.0090.00614.81
7.2.190.0050.01215.15
7.2.180.0110.01215.18
7.2.170.0090.01315.10
7.2.160.0130.01014.95
7.2.150.0120.00815.21
7.2.140.0130.00315.12
7.2.130.0130.00616.37
7.2.120.0130.00916.31
7.2.110.0120.00716.39
7.2.100.0120.00516.37
7.2.90.0120.00616.41
7.2.80.0130.00816.43
7.2.70.0100.00816.36
7.2.60.0120.00716.59
7.2.50.0100.00616.49
7.2.40.0120.00716.33
7.2.30.0090.00816.52
7.2.20.0080.00916.42
7.2.10.0110.00616.36
7.2.00.0100.00816.86
7.1.330.0040.01115.93
7.1.320.0080.00016.01
7.1.310.0060.00915.96
7.1.300.0110.00714.94
7.1.290.0210.00515.00
7.1.280.0160.00614.98
7.1.270.0170.00814.80
7.1.260.0180.00414.93
7.1.250.0110.00815.18
7.1.240.0150.00414.17
7.1.230.0150.00913.96
7.1.220.0180.00613.86
7.1.210.0310.00014.05
7.1.200.0400.00214.97
7.1.190.0160.00513.96
7.1.180.0190.00814.30
7.1.170.0190.00813.71
7.1.160.0240.01013.93
7.1.150.0230.00814.07
7.1.140.0130.00914.02
7.1.130.0160.00513.94
7.1.120.0180.01115.37
7.1.110.0190.00615.17
7.1.100.0160.00915.08
7.1.90.0130.01015.16
7.1.80.0170.00715.25
7.1.70.0210.00614.58
7.1.60.0250.00723.66
7.1.50.0260.01023.42
7.1.40.0190.01023.42
7.1.30.0180.01023.43
7.1.20.0240.01023.56
7.1.10.0160.01214.39
7.1.00.0210.00814.38
7.0.330.0170.01413.52
7.0.320.0250.00713.52
7.0.310.0240.00313.59
7.0.300.0240.00413.32
7.0.290.0260.00813.41
7.0.280.0170.01113.64
7.0.270.0130.00913.92
7.0.260.0250.00315.16
7.0.250.0530.00915.01
7.0.240.0100.01214.96
7.0.230.0180.00515.00
7.0.220.0250.00414.71
7.0.210.0320.00914.25
7.0.200.0220.00514.41
7.0.190.0220.01114.09
7.0.180.0120.01014.11
7.0.170.0150.01214.34
7.0.160.0180.00714.28
7.0.150.0200.00514.11
7.0.140.0220.00814.22
7.0.130.0160.01114.18
7.0.120.0210.00714.14
7.0.110.0140.01213.93
7.0.100.0120.01213.96
7.0.90.0150.01414.10
7.0.80.0210.01014.13
7.0.70.0210.00814.07
7.0.60.0210.01013.93
7.0.50.0160.01414.20
7.0.40.0650.00514.31
7.0.30.0210.00714.04
7.0.20.0380.00614.36
7.0.10.0160.00614.21
7.0.00.0110.01114.24
5.6.400.0180.00314.16
5.6.390.0180.00014.61
5.6.380.0070.01014.25
5.6.370.0080.01514.65
5.6.360.0270.00814.18
5.6.350.0060.01514.62
5.6.340.0210.01214.75
5.6.330.0110.00714.31
5.6.320.0120.01914.64
5.6.310.0070.00714.64
5.6.300.0050.03517.79
5.6.290.0140.03117.65
5.6.280.0160.03917.57
5.6.270.0070.03917.57
5.6.260.0160.03017.32
5.6.250.0140.03117.78
5.6.240.0170.04017.66
5.6.230.0150.04017.60
5.6.220.0170.02817.50
5.6.210.0100.03517.33
5.6.200.0100.03717.54
5.6.190.0110.04117.63
5.6.180.0130.04817.50
5.6.170.0110.03417.40
5.6.160.0110.03617.69
5.6.150.0130.03517.50
5.6.140.0170.03517.59
5.6.130.0050.04117.54
5.6.120.0100.03917.57
5.6.110.0170.03717.59
5.6.100.0060.05217.63
5.6.90.0140.03117.53
5.6.80.0110.03317.15
5.6.70.0110.03617.23
5.6.60.0140.03617.36
5.6.50.0140.02817.20
5.6.40.0170.02917.34
5.6.30.0200.03317.39
5.6.20.0230.02417.30
5.6.10.0140.02917.14
5.6.00.0170.02817.28
5.5.380.0090.01314.40
5.5.370.0050.02114.21
5.5.360.0120.00614.07
5.5.350.0140.00014.11
5.5.340.0080.00614.31
5.5.330.0120.01114.63
5.5.320.0100.01514.28
5.5.310.0070.00714.30
5.5.300.0240.00614.26
5.5.290.0160.00814.25
5.5.280.0120.00414.23
5.5.270.0070.01114.40
5.5.260.0160.00614.25
5.5.250.0110.01114.42
5.5.240.0260.00014.16
5.5.230.0120.00414.45
5.5.220.0140.00414.38
5.5.210.0140.00614.04
5.5.200.0090.01314.36
5.5.190.0140.00414.52
5.5.180.0090.01014.23
5.5.170.0080.01814.33
5.5.160.0140.00514.49
5.5.150.0240.00914.13
5.5.140.0210.00014.57
5.5.130.0200.00314.42
5.5.120.0200.00714.39
5.5.110.0180.00714.48
5.5.100.0120.00514.17
5.5.90.0090.00914.48
5.5.80.0090.01414.27
5.5.70.0150.00914.58
5.5.60.0150.01014.30
5.5.50.0070.01114.53
5.5.40.0150.00614.28
5.5.30.0090.01314.38
5.5.20.0120.00614.00
5.5.10.0230.00314.02
5.5.00.0160.00814.52
5.4.450.0070.00510.94
5.4.440.0180.00811.15
5.4.430.0080.00411.00
5.4.420.0080.00411.13
5.4.410.0100.00510.89
5.4.400.0080.00810.96
5.4.390.0100.00210.90
5.4.380.0100.00311.17
5.4.370.0040.01310.96
5.4.360.0070.00710.83
5.4.350.0080.01311.21
5.4.340.0070.01010.98
5.4.330.0120.00911.06
5.4.320.0030.00910.92
5.4.310.0050.01511.13
5.4.300.0110.00410.90
5.4.290.0100.00410.95
5.4.280.0110.00811.09
5.4.270.0060.00610.91
5.4.260.0120.00410.97
5.4.250.0080.00811.02
5.4.240.0040.00710.86
5.4.230.0110.00710.99
5.4.220.0090.00811.03
5.4.210.0060.00610.98
5.4.200.0080.01310.72
5.4.190.0150.00010.79
5.4.180.0130.00011.11
5.4.170.0030.00710.98
5.4.160.0120.00410.68
5.4.150.0100.00211.15
5.4.140.0180.00911.05
5.4.130.0050.01011.00
5.4.120.0110.00711.04
5.4.110.0170.00710.84
5.4.100.0120.00310.89
5.4.90.0060.01210.82
5.4.80.0100.00311.11
5.4.70.0160.00610.83
5.4.60.0090.00910.93
5.4.50.0080.00811.01
5.4.40.0110.00410.83
5.4.30.0090.00511.17
5.4.20.0120.00011.11
5.4.10.0080.00811.02
5.4.00.0060.00610.76
5.3.290.0070.00710.78
5.3.280.0070.00410.62
5.3.270.0040.00810.48
5.3.260.0180.00010.62
5.3.250.0000.01910.58
5.3.240.0080.00810.56
5.3.230.0120.00610.68
5.3.220.0190.00310.44
5.3.210.0120.00810.50
5.3.200.0120.00010.44
5.3.190.0040.00810.47
5.3.180.0100.00810.59
5.3.170.0000.01110.49
5.3.160.0090.00910.56
5.3.150.0090.00610.64
5.3.140.0050.00510.52
5.3.130.0050.00810.49
5.3.120.0050.00710.50
5.3.110.0130.00710.49
5.3.100.0040.00810.52
5.3.90.0060.00610.44
5.3.80.0110.00010.44
5.3.70.0070.00410.44
5.3.60.0110.00710.44
5.3.50.0040.01610.44
5.3.40.0060.00610.44
5.3.30.0100.00510.61
5.3.20.0080.00310.44
5.3.10.0100.01010.44
5.3.00.0130.00310.44
5.2.170.0080.00310.44
5.2.160.0090.00910.44
5.2.150.0080.00510.44
5.2.140.0000.01010.44
5.2.130.0100.00610.44
5.2.120.0130.00410.44
5.2.110.0070.00710.44
5.2.100.0070.01110.44
5.2.90.0050.00510.44
5.2.80.0120.00310.44
5.2.70.0080.00410.44
5.2.60.0120.00010.44
5.2.50.0150.00010.44
5.2.40.0030.00910.44
5.2.30.0080.00510.44
5.2.20.0080.00410.44
5.2.10.0090.00010.44
5.2.00.0060.00310.44
5.1.60.0050.00510.44
5.1.50.0040.00410.44
5.1.40.0120.00410.44
5.1.30.0130.00010.44
5.1.20.0130.00010.44
5.1.10.0080.00010.44
5.1.00.0090.00010.44
5.0.50.0050.00210.44
5.0.40.0130.00010.44
5.0.30.0080.00410.44
5.0.20.0070.00010.44
5.0.10.0050.00510.44
5.0.00.0110.00010.44
4.4.90.0040.00010.44
4.4.80.0070.00510.44
4.4.70.0060.00010.44
4.4.60.0060.00310.44
4.4.50.0050.00010.44
4.4.40.0000.01110.44
4.4.30.0030.00410.44
4.4.20.0080.00410.44
4.4.10.0000.00810.44
4.4.00.0000.00610.44
4.3.110.0030.00310.44
4.3.100.0060.00010.44
4.3.90.0070.00010.44
4.3.80.0030.00310.44
4.3.70.0030.00410.44
4.3.60.0000.00510.44
4.3.50.0070.00210.44
4.3.40.0000.00810.44
4.3.30.0050.00010.44
4.3.20.0000.00510.44
4.3.10.0050.00010.44
4.3.00.0050.00010.44

preferences:
29.64 ms | 403 KiB | 5 Q