3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = new DateTime('2015-01-01', new DateTimeZone('UTC')); $b = new DateTime('2015-01-01', new DateTimeZone('EET')); if (is_object($a) && is_object($b) && $a == $b && print_r($a, true) != print_r($b, true)) { echo 'Equals, but not equals?'; }

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.0140.00318.55
8.3.50.0060.00818.18
8.3.40.0090.00618.92
8.3.30.0110.00418.96
8.3.20.0070.00020.18
8.3.10.0040.00421.81
8.3.00.0040.00419.08
8.2.180.0040.01118.38
8.2.170.0110.00722.96
8.2.160.0100.00322.16
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0000.00919.66
8.2.110.0030.00622.20
8.2.100.0080.00418.03
8.2.90.0040.00719.22
8.2.80.0040.00417.97
8.2.70.0040.00417.75
8.2.60.0000.00817.80
8.2.50.0000.00818.07
8.2.40.0050.00518.29
8.2.30.0070.00018.07
8.2.20.0060.00317.86
8.2.10.0070.00018.04
8.2.00.0040.00417.94
8.1.280.0140.00325.92
8.1.270.0090.00018.79
8.1.260.0100.00626.35
8.1.250.0060.00328.09
8.1.240.0000.01023.99
8.1.230.0000.01019.10
8.1.220.0000.01017.74
8.1.210.0080.00018.77
8.1.200.0040.00417.47
8.1.190.0060.00317.48
8.1.180.0000.00918.10
8.1.170.0040.00418.66
8.1.160.0050.00222.07
8.1.150.0040.00418.77
8.1.140.0040.00417.58
8.1.130.0030.00317.70
8.1.120.0000.00717.64
8.1.110.0080.00017.52
8.1.100.0020.00517.58
8.1.90.0070.00017.65
8.1.80.0040.00417.61
8.1.70.0080.00017.46
8.1.60.0040.00417.66
8.1.50.0000.00817.54
8.1.40.0040.00417.57
8.1.30.0080.00017.69
8.1.20.0030.00617.73
8.1.10.0000.00817.48
8.1.00.0000.00717.52
8.0.300.0070.00018.77
8.0.290.0070.00016.88
8.0.280.0040.00418.44
8.0.270.0000.00717.21
8.0.260.0030.00317.32
8.0.250.0030.00317.11
8.0.240.0050.00317.09
8.0.230.0030.00516.96
8.0.220.0040.00417.06
8.0.210.0070.00016.86
8.0.200.0040.00417.10
8.0.190.0000.00817.09
8.0.180.0040.00417.10
8.0.170.0000.00817.00
8.0.160.0000.00816.97
8.0.150.0040.00416.94
8.0.140.0000.00917.00
8.0.130.0030.00613.45
8.0.120.0080.00016.90
8.0.110.0050.00316.86
8.0.100.0050.00216.97
8.0.90.0060.00316.92
8.0.80.0040.01716.98
8.0.70.0030.00517.06
8.0.60.0080.00016.94
8.0.50.0080.00016.89
8.0.30.0100.01017.11
8.0.20.0120.00717.40
8.0.10.0070.00017.18
8.0.00.0090.00816.93
7.4.330.0060.00015.08
7.4.320.0000.00616.55
7.4.300.0000.00616.55
7.4.290.0040.00416.69
7.4.280.0040.00416.63
7.4.270.0070.00016.48
7.4.260.0070.00016.65
7.4.250.0000.00716.53
7.4.240.0020.00616.64
7.4.230.0030.00316.48
7.4.220.0120.00616.63
7.4.210.0060.00916.67
7.4.200.0040.00416.60
7.4.160.0100.00616.71
7.4.150.0070.01017.40
7.4.140.0060.01317.86
7.4.130.0080.00916.65
7.4.120.0120.00516.75
7.4.110.0100.00716.46
7.4.100.0030.01416.80
7.4.90.0080.00816.62
7.4.80.0030.01319.39
7.4.70.0160.00016.72
7.4.60.0130.00316.46
7.4.50.0030.00616.56
7.4.40.0070.01116.74
7.4.30.0130.00616.56
7.4.00.0080.00815.15
7.3.330.0000.00513.07
7.3.320.0030.00313.03
7.3.310.0070.00016.46
7.3.300.0030.00316.24
7.3.290.0070.00816.29
7.3.280.0080.00916.38
7.3.270.0100.00717.40
7.3.260.0030.01316.65
7.3.250.0080.00916.46
7.3.240.0170.00316.63
7.3.230.0110.01116.43
7.3.210.0080.00816.36
7.3.200.0100.00719.39
7.3.190.0090.00616.37
7.3.180.0090.00716.41
7.3.170.0140.00916.27
7.3.160.0060.01216.40
7.3.120.0030.01215.07
7.3.110.0040.00714.99
7.3.100.0060.00614.89
7.3.90.0060.01014.91
7.3.80.0040.01114.99
7.3.70.0100.00314.82
7.3.60.0060.00614.86
7.3.50.0060.00914.87
7.3.40.0060.00614.86
7.3.30.0060.00914.82
7.3.20.0070.00716.70
7.3.10.0060.00816.68
7.3.00.0040.00916.51
7.2.330.0120.00916.58
7.2.320.0070.01016.82
7.2.310.0060.01216.89
7.2.300.0110.00716.41
7.2.290.0130.00316.57
7.2.240.0070.01015.02
7.2.230.0090.00015.05
7.2.220.0000.01614.77
7.2.210.0040.00714.77
7.2.200.0000.01615.05
7.2.190.0070.00714.99
7.2.180.0060.00615.15
7.2.170.0040.00715.01
7.2.160.0040.00415.11
7.2.150.0050.00517.07
7.2.140.0030.01317.05
7.2.130.0030.01216.95
7.2.120.0080.00616.75
7.2.110.0030.01416.80
7.2.100.0050.00816.84
7.2.90.0090.00917.06
7.2.80.0050.01016.81
7.2.70.0070.00717.02
7.2.60.0060.01017.01
7.2.50.0060.01017.03
7.2.40.0050.00917.02
7.2.30.0030.01216.80
7.2.20.0020.01216.87
7.2.10.0040.00616.95
7.2.00.0020.01317.72
7.1.330.0060.00315.77
7.1.320.0030.00715.68
7.1.310.0030.01415.41
7.1.300.0000.01215.60
7.1.290.0100.00315.68
7.1.280.0090.00615.74
7.1.270.0030.01015.76
7.1.260.0100.00315.69
7.1.250.0060.00615.77
7.1.100.0080.00418.16
7.1.70.0030.00617.27
7.1.60.0070.01019.46
7.1.50.0120.00616.89
7.1.00.0070.07322.34
7.0.200.0000.00816.98
7.0.140.0000.03722.19
7.0.60.0100.08319.88
7.0.50.0130.06317.81
7.0.40.0070.06019.90
7.0.30.0270.04720.21
7.0.20.0230.04720.18
7.0.10.0070.08020.20
7.0.00.0170.08019.99
5.6.280.0070.06320.98
5.6.210.0130.06320.71
5.6.200.0000.04318.19
5.6.190.0030.06720.53
5.6.180.0400.05020.41
5.6.170.0300.07320.48
5.6.160.0070.03720.43
5.6.150.0000.05318.14
5.6.140.0100.07718.13
5.6.130.0030.08718.21
5.6.120.0100.05321.02
5.6.110.0030.08020.98
5.6.100.0030.09021.13
5.6.90.0130.08321.00
5.6.80.0070.07320.43
5.5.350.0370.07320.39
5.5.340.0130.07318.02
5.5.330.0070.08020.21
5.5.320.0000.04720.13
5.5.310.0370.07720.32
5.5.300.0000.05317.94
5.5.290.0100.03317.95
5.5.280.0070.08320.97
5.5.270.0070.07720.65
5.5.260.0100.07720.67
5.5.250.0100.07020.58
5.5.240.0100.07320.27
5.4.450.0130.06019.46
5.4.440.0170.05319.28
5.4.430.0070.05719.46
5.4.420.0100.05719.46
5.4.410.0130.05019.41
5.4.400.0070.05319.16
5.4.390.0900.05318.77
5.4.380.1000.06018.57
5.4.370.1030.08018.52
5.4.360.0970.06718.69
5.4.350.1070.06018.61
5.4.340.0970.05318.63
5.4.320.0830.06718.76
5.4.310.0800.05318.49
5.4.300.0830.06018.49
5.4.290.0970.04718.74
5.4.280.0870.07018.78
5.4.270.0770.05018.50
5.4.260.0830.05318.57
5.4.250.0830.06018.52
5.4.240.1000.05318.71
5.4.230.1000.06718.73
5.4.220.0970.05318.51
5.4.210.0800.06318.48
5.4.200.0900.05316.45
5.4.190.0930.06318.50
5.4.180.0830.06718.60
5.4.170.0970.05718.50
5.4.160.0870.05318.65
5.4.150.0830.06318.58
5.4.140.0870.04316.28
5.4.130.0970.06316.07
5.4.120.1000.05316.32
5.4.110.0800.05716.32
5.4.100.0870.05316.17
5.4.90.0800.05716.29
5.4.80.0770.05016.10
5.4.70.0800.04716.19
5.4.60.0870.05716.28
5.4.50.1100.05316.03
5.4.40.0870.05316.21
5.4.30.0900.05316.16
5.4.20.0770.04716.05
5.4.10.1000.05016.16
5.4.00.0930.03315.66
5.3.290.1100.04314.67
5.3.280.0830.06014.51
5.3.270.0900.05714.60
5.3.260.0730.06314.59
5.3.250.0870.05014.69
5.3.240.0730.06314.63
5.3.230.0730.06014.59
5.3.220.0700.05314.55
5.3.210.0270.04714.46
5.3.200.0070.05714.48
5.3.190.0170.06714.66
5.3.180.0770.06014.51
5.3.170.0970.04714.54
5.3.160.0830.06014.47
5.3.150.0930.05314.54
5.3.140.0800.05714.54
5.3.130.0730.06714.52
5.3.120.0870.05714.58
5.3.110.0870.05714.46
5.3.100.0770.06014.04
5.3.90.0930.04313.98
5.3.80.0900.05313.96
5.3.70.0800.05013.93
5.3.60.0800.05713.94
5.3.50.0800.05013.94
5.3.40.0730.05013.86
5.3.30.0800.05313.81
5.3.20.0930.05313.59
5.3.10.0900.05313.68
5.3.00.1070.05013.62
5.2.170.0770.05011.28
5.2.160.0800.04311.11
5.2.150.0830.04011.28
5.2.140.0730.05311.20
5.2.130.0770.05011.27
5.2.120.0670.06311.15
5.2.110.0700.04011.11
5.2.100.0670.05311.09
5.2.90.0770.05311.11
5.2.80.0630.05311.02
5.2.70.0900.04011.02
5.2.60.0730.06011.04
5.2.50.0830.04710.98
5.2.40.0670.05010.96
5.2.30.0800.04711.03
5.2.20.0570.05711.00
5.2.10.0730.04710.87
5.2.00.0900.05010.73
5.1.60.0730.04310.13
5.1.50.0730.03310.09
5.1.40.0670.04010.07
5.1.30.0670.03710.32
5.1.20.0530.04710.45
5.1.10.0570.03310.04
5.1.00.0770.04710.09
5.0.50.0330.0308.66
5.0.40.0300.0408.40
5.0.30.0330.0508.24
5.0.20.0400.0208.32
5.0.10.0400.0378.19
5.0.00.0370.0408.15
4.4.90.0370.0235.95
4.4.80.0300.0235.86
4.4.70.0270.0275.87
4.4.60.0330.0205.90
4.4.50.0330.0205.89
4.4.40.0330.0305.95
4.4.30.0300.0275.91
4.4.20.0300.0275.88
4.4.10.0300.0235.97
4.4.00.0300.0405.88
4.3.110.0230.0275.84
4.3.100.0370.0175.84
4.3.90.0300.0235.80
4.3.80.0370.0335.88
4.3.70.0300.0305.79
4.3.60.0330.0205.77
4.3.50.0330.0205.76
4.3.40.0370.0335.80
4.3.30.0170.0234.55
4.3.20.0200.0274.54
4.3.10.0200.0234.47
4.3.00.0000.0236.68

preferences:
57.69 ms | 400 KiB | 5 Q