3v4l.org

run code in 200+ PHP versions simultaneously
<?php //Source: https://bugs.php.net/bug.php?id=67634 $date = \DateTimeImmutable::createFromFormat(\DateTime::ATOM, '2019-11-03T01:00:00-05:00')->setTimezone(new \DateTimeZone('America/New_York')); var_dump($date->format(\DateTimeImmutable::ATOM)); $date->getTimestamp(); var_dump($date->format(\DateTimeImmutable::ATOM));
based on M5Hcu

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)
7.4.0rc20.0100.00514.80
7.4.0rc10.0110.00514.88
7.4.0beta40.0070.00914.86
7.4.0beta20.0060.01014.80
7.4.0beta10.0110.00414.85
7.4.0alpha30.0090.00614.79
7.4.0alpha20.0070.00915.05
7.4.0alpha10.0080.00715.00
7.3.100.0080.00714.68
7.3.90.0080.00714.74
7.3.80.0070.00814.83
7.3.70.0070.00814.71
7.3.60.0060.01014.73
7.3.50.0070.00814.85
7.3.40.0120.00514.80
7.3.30.0080.00814.65
7.3.20.0090.00714.75
7.3.10.0090.00614.74
7.3.00.0050.01014.80
7.2.230.0070.01014.92
7.2.220.0090.00815.06
7.2.210.0070.00814.93
7.2.200.0100.00615.08
7.2.190.0090.00714.90
7.2.180.0110.00515.03
7.2.170.0100.00614.95
7.2.160.0100.00714.96
7.2.150.0090.00814.96
7.2.140.0100.00715.16
7.2.130.0090.00815.05
7.2.120.0100.00715.07
7.2.110.0090.00615.18
7.2.100.0090.00815.07
7.2.90.0070.01115.03
7.2.80.0080.00815.02
7.2.70.0090.00815.08
7.2.60.0090.00814.91
7.2.50.0070.01115.14
7.2.40.0090.00614.98
7.2.30.0110.01015.12
7.2.20.0080.00915.07
7.2.10.0100.00715.13
7.2.00.0080.00815.12
7.1.320.0080.01013.99
7.1.310.0070.00814.26
7.1.300.0090.00613.90
7.1.290.0060.00813.92
7.1.280.0250.01013.95
7.1.270.0090.00613.98
7.1.260.0050.00913.88
7.1.250.0060.01013.87
7.1.240.0150.00813.49
7.1.230.0100.01413.89
7.1.220.0100.01313.57
7.1.210.0060.01614.11
7.1.200.0160.00914.07
7.1.190.0110.01613.78
7.1.180.0130.00713.75
7.1.170.0100.01314.14
7.1.160.0130.00313.68
7.1.150.0110.01013.95
7.1.140.0120.00613.70
7.1.130.0130.00413.73
7.1.120.0100.00713.58
7.1.110.0130.00613.73
7.1.100.0070.01013.96
7.1.90.0130.00713.80
7.1.80.0120.00614.00
7.1.70.0090.00613.82
7.1.60.0050.01514.00
7.1.50.0080.00814.07
7.1.40.0140.00613.82
7.1.30.0170.00413.66
7.1.20.0100.00713.75
7.1.10.0160.01613.88
7.1.00.0060.01213.72
7.0.330.0030.01113.42
7.0.320.0130.01013.50
7.0.310.0090.00913.59
7.0.300.0130.01013.42
7.0.290.0090.00913.52
7.0.280.0140.00413.38
7.0.270.0140.00313.61
7.0.260.0040.01613.31
7.0.250.0070.00713.27
7.0.240.0110.01113.74
7.0.230.0090.01713.48
7.0.220.0130.00313.54
7.0.210.0160.00613.70
7.0.200.0100.00713.47
7.0.190.0110.00813.51
7.0.180.0060.01113.21
7.0.170.0000.01613.51
7.0.160.0110.00613.16
7.0.150.0110.01113.61
7.0.140.0150.00513.57
7.0.130.0070.01613.53
7.0.120.0110.00713.77
7.0.110.0050.01113.38
7.0.100.0040.01413.20
7.0.90.0040.01213.46
7.0.80.0200.00013.74
7.0.70.0120.00613.50
7.0.60.0140.00413.39
7.0.50.0060.01513.63
7.0.40.0100.00713.54
7.0.30.0100.00513.48
7.0.20.0150.00313.96
7.0.10.0210.00213.71
7.0.00.0200.00013.84
5.6.400.0090.00914.27
5.6.390.0150.00414.25
5.6.380.0100.01014.49
5.6.370.0110.01114.15
5.6.360.0130.00814.23
5.6.350.0150.00614.55
5.6.340.0170.00414.49
5.6.330.0130.00614.03
5.6.320.0160.00514.42
5.6.310.0170.00714.31
5.6.300.0120.00914.30
5.6.290.0070.01114.26
5.6.280.0130.00614.18
5.6.270.0080.01214.13
5.6.260.0140.00314.22
5.6.250.0130.00414.32
5.6.240.0060.01014.16
5.6.230.0070.01113.93
5.6.220.0040.01414.25
5.6.210.0080.01114.19
5.6.200.0140.01114.31
5.6.190.0080.00814.11
5.6.180.0070.01014.26
5.6.170.0000.01514.24
5.6.160.0130.01014.57
5.6.150.0180.00514.35
5.6.140.0080.01214.34
5.6.130.0040.02014.50
5.6.120.0130.00814.39
5.6.110.0150.01014.29
5.6.100.0070.01114.50
5.6.90.0190.00214.37
5.6.80.0110.00814.38
5.6.70.0100.01014.25
5.6.60.0140.00714.34
5.6.50.0130.00814.18
5.6.40.0120.00914.10
5.6.30.0130.01014.35
5.6.20.0150.01114.25
5.6.10.0150.00614.38
5.6.00.0160.00814.45
5.5.380.0110.00613.96
5.5.370.0080.01214.07
5.5.360.0070.01114.36
5.5.350.0140.01014.18
5.5.340.0160.01014.25
5.5.330.0050.01014.00
5.5.320.0090.00714.48
5.5.310.0090.01214.46
5.5.300.0100.01314.47
5.5.290.0200.00514.58
5.5.280.0180.01114.71
5.5.270.0180.00414.36
5.5.260.0060.01414.54
5.5.250.0130.00614.44
5.5.240.0140.00414.57
5.5.230.0150.01514.40
5.5.220.0160.00614.34
5.5.210.0160.00414.19
5.5.200.0180.00514.37
5.5.190.0100.01014.14
5.5.180.0170.00614.24
5.5.170.0190.00514.34
5.5.160.0120.01314.43
5.5.150.0170.00314.16
5.5.140.0130.01014.35
5.5.130.0170.01014.23
5.5.120.0110.01414.34
5.5.110.0170.00914.42
5.5.100.0170.00714.39
5.5.90.0180.00514.68
5.5.80.0150.01014.22
5.5.70.0110.01714.29
5.5.60.0210.00714.08
5.5.50.0210.00614.59
5.5.40.0130.01014.28
5.5.30.0160.01314.33
5.5.20.0080.01914.18
5.5.10.0190.01013.81
5.5.00.0150.01214.08
5.4.450.0120.00810.96
5.4.440.0080.01210.96
5.4.430.0100.00510.72
5.4.420.0110.01110.87
5.4.410.0120.00210.68
5.4.400.0070.01110.39
5.4.390.0110.00410.53
5.4.380.0170.00310.85
5.4.370.0130.00710.43
5.4.360.0110.00710.76
5.4.350.0110.00510.43
5.4.340.0140.00010.61
5.4.330.0110.00510.70
5.4.320.0130.00310.70
5.4.310.0080.00610.58
5.4.300.0160.00010.62
5.4.290.0170.00410.85
5.4.280.0140.00310.36
5.4.270.0150.00010.35
5.4.260.0080.00810.56
5.4.250.0220.00010.92
5.4.240.0190.00010.92
5.4.230.0130.00911.00
5.4.220.0120.00410.60
5.4.210.0100.01010.77
5.4.200.0170.00410.64
5.4.190.0120.00410.40
5.4.180.0130.00210.68
5.4.170.0110.00610.34
5.4.160.0110.00810.61
5.4.150.0150.00510.43
5.4.140.0120.00610.68
5.4.130.0130.00710.42
5.4.120.0090.01210.82
5.4.110.0140.00610.48
5.4.100.0120.00610.48
5.4.90.0150.00410.61
5.4.80.0130.00310.70
5.4.70.0100.00410.66
5.4.60.0110.00810.69
5.4.50.0150.00310.67
5.4.40.0190.00010.64
5.4.30.0070.01110.82
5.4.20.0120.00410.60
5.4.10.0170.00610.52
5.4.00.0060.00910.78
5.3.290.0050.01010.25
5.3.280.0160.0049.92
5.3.270.0180.00010.23
5.3.260.0130.0039.99
5.3.250.0160.00510.26
5.3.240.0130.00810.00
5.3.230.0090.00910.13
5.3.220.0130.00710.13
5.3.210.0200.00010.23
5.3.200.0120.00610.15
5.3.190.0110.00410.29
5.3.180.0070.00710.40
5.3.170.0050.01110.24
5.3.160.0060.01010.36
5.3.150.0100.00710.24
5.3.140.0110.00510.25
5.3.130.0100.00910.33
5.3.120.0120.00710.32
5.3.110.0150.00510.29
5.3.100.0110.00310.28
5.3.90.0100.00510.39
5.3.80.0120.00410.20
5.3.70.0160.00010.16
5.3.60.0110.00710.26
5.3.50.0110.00410.20
5.3.40.0090.0099.97
5.3.30.0120.00610.19
5.3.20.0080.00910.02
5.3.10.0180.0039.98
5.3.00.0130.0089.95
5.2.170.0060.0069.35
5.2.160.0090.0039.35
5.2.150.0040.0119.35
5.2.140.0110.0079.35
5.2.130.0100.0039.35
5.2.120.0090.0059.35
5.2.110.0080.0089.35
5.2.100.0130.0039.35
5.2.90.0120.0029.35
5.2.80.0030.0099.35
5.2.70.0150.0009.35
5.2.60.0090.0039.35
5.2.50.0060.0089.35
5.2.40.0050.0109.35
5.2.30.0050.0109.35
5.2.20.0120.0009.35
5.2.10.0150.0009.35
5.2.00.0120.0039.35
5.1.60.0090.0039.35
5.1.50.0130.0009.35
5.1.40.0100.0009.35
5.1.30.0130.0029.35
5.1.20.0040.0079.35
5.1.10.0040.0089.35
5.1.00.0070.0039.35
5.0.50.0050.0069.35
5.0.40.0070.0049.35
5.0.30.0060.0029.35
5.0.20.0060.0029.35
5.0.10.0050.0069.35
5.0.00.0120.0009.35
4.4.90.0040.0059.35
4.4.80.0030.0079.35
4.4.70.0070.0009.35
4.4.60.0000.0099.35
4.4.50.0060.0039.35
4.4.40.0000.0099.35
4.4.30.0030.0049.35
4.4.20.0100.0009.35
4.4.10.0060.0039.35
4.4.00.0040.0049.35
4.3.110.0070.0029.35
4.3.100.0000.0069.35
4.3.90.0020.0059.35
4.3.80.0070.0039.35
4.3.70.0000.0119.35
4.3.60.0090.0039.35
4.3.50.0040.0049.35
4.3.40.0030.0069.35
4.3.30.0020.0059.35
4.3.20.0000.0079.35
4.3.10.0040.0029.35
4.3.00.0000.0069.35