3v4l.org

run code in 300+ PHP versions simultaneously
<?php $theTime = time(); // specific date/time we're checking, in epoch seconds. $tz = new DateTimeZone('America/New_York'); $transition = $tz->getTransitions($theTime, $theTime); // only one array should be returned into $transition. Now get the data: $offset = $transition[0]['offset']; $abbr = $transition[0]['abbr']; echo $offset . ' - ' . $abbr;

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.00.0070.01114.75
7.3.120.0100.00314.79
7.3.110.0130.00614.91
7.3.100.0030.01314.88
7.3.90.0000.01415.18
7.3.80.0130.00315.07
7.3.70.0090.00014.88
7.3.60.0060.00915.00
7.3.50.0100.00314.85
7.3.40.0090.00614.79
7.3.30.0060.00315.04
7.3.20.0030.01016.96
7.3.10.0040.01216.69
7.3.00.0080.00516.67
7.2.250.0070.01315.03
7.2.240.0100.00715.44
7.2.230.0000.01215.14
7.2.220.0100.00615.47
7.2.210.0070.01015.40
7.2.200.0040.00814.77
7.2.190.0060.00915.10
7.2.180.0100.00315.09
7.2.170.0070.00315.04
7.2.160.0030.00615.11
7.2.150.0080.00816.98
7.2.140.0030.00916.82
7.2.130.0090.01017.10
7.2.120.0100.00616.95
7.2.110.0100.00717.08
7.2.100.0070.00817.07
7.2.90.0120.00716.95
7.2.80.0030.01016.81
7.2.70.0050.01217.04
7.2.60.0100.00816.88
7.2.50.0110.00416.92
7.2.40.0150.00617.11
7.2.30.0080.00917.00
7.2.20.0130.00817.05
7.2.10.0150.01216.91
7.2.00.0080.01017.83
7.1.330.0070.01115.94
7.1.320.0030.01315.84
7.1.310.0000.01115.52
7.1.300.0000.00915.70
7.1.290.0070.00715.58
7.1.280.0040.01115.79
7.1.270.0040.00815.71
7.1.260.0040.00716.02
7.1.250.0040.01016.01
7.1.240.0000.01516.02
7.1.230.0060.00616.02
7.1.220.0060.00615.76
7.1.210.0090.00615.89
7.1.200.0090.00315.85
7.1.190.0000.01015.81
7.1.180.0070.00716.04
7.1.170.0070.00715.98
7.1.160.0000.00916.08
7.1.150.0030.00915.98
7.1.140.0080.00315.96
7.1.130.0040.01215.89
7.1.120.0030.00916.09
7.1.110.0000.01015.93
7.1.100.0170.00917.23
7.1.90.0110.00415.85
7.1.80.0060.00616.03
7.1.70.0030.00816.67
7.1.60.0020.01517.93
7.1.50.0090.00916.44
7.1.40.0040.00415.98
7.1.30.0090.00615.80
7.1.20.0060.00916.10
7.1.10.0060.00615.87
7.1.00.0030.04319.11
7.0.330.0060.00615.61
7.0.320.0000.01115.24
7.0.310.0040.00415.38
7.0.300.0030.01215.36
7.0.290.0030.00615.46
7.0.280.0070.00415.57
7.0.270.0100.00615.42
7.0.260.0000.00815.52
7.0.250.0060.00615.66
7.0.240.0000.01715.64
7.0.230.0070.00715.52
7.0.220.0110.00415.51
7.0.210.0040.00415.44
7.0.200.0060.00516.37
7.0.190.0000.00915.65
7.0.180.0030.01015.23
7.0.170.0080.00815.75
7.0.160.0070.00715.43
7.0.150.0070.00715.61
7.0.140.0020.04018.74
7.0.130.0000.01115.49
7.0.120.0060.00615.54
7.0.110.0080.00315.35
7.0.100.0070.00715.84
7.0.90.0030.01015.61
7.0.80.0210.02817.67
7.0.70.0320.04717.73
7.0.60.0320.03717.66
7.0.50.0290.04517.99
7.0.40.0130.04016.84
7.0.30.0080.03916.78
7.0.20.0160.04016.84
7.0.10.0070.02716.81
7.0.00.0080.04316.71
5.6.400.0040.01114.49
5.6.390.0000.00914.45
5.6.380.0090.00614.48
5.6.370.0060.00314.48
5.6.360.0130.00314.35
5.6.350.0030.01014.30
5.6.340.0110.00014.55
5.6.330.0040.01114.85
5.6.320.0080.00814.50
5.6.310.0030.01014.52
5.6.300.0070.00714.26
5.6.290.0120.00314.56
5.6.280.0000.04417.77
5.6.270.0060.00614.32
5.6.260.0090.00014.67
5.6.250.0070.01014.54
5.6.240.0060.00914.52
5.6.230.0090.04317.65
5.6.220.0070.04517.46
5.6.210.0100.04017.75
5.6.200.0050.02717.78
5.6.190.0070.02517.71
5.6.180.0010.04017.78
5.6.170.0120.02817.85
5.6.160.0020.02917.65
5.6.150.0030.02817.79
5.6.140.0110.03817.85
5.6.130.0080.04017.78
5.6.120.0070.04417.85
5.6.110.0060.04817.76
5.6.100.0080.04617.71
5.6.90.0060.04517.73
5.6.80.0020.02717.41
5.6.70.0080.04217.41
5.6.60.0050.03117.30
5.6.50.0050.04317.45
5.6.40.0070.04517.42
5.6.30.0070.04717.27
5.6.20.0080.02517.28
5.6.10.0090.02417.42
5.6.00.0030.03317.46
5.5.380.0000.01214.41
5.5.370.0100.04317.64
5.5.360.0060.03417.45
5.5.350.0110.02817.49
5.5.340.0080.02317.59
5.5.330.0090.03917.83
5.5.320.0050.04817.68
5.5.310.0120.02217.67
5.5.300.0080.04517.57
5.5.290.0080.04317.80
5.5.280.0060.03317.89
5.5.270.0140.03717.67
5.5.260.0090.03317.76
5.5.250.0020.03117.43
5.5.240.0150.03317.29
5.5.230.0100.03917.26
5.5.220.0070.04017.29
5.5.210.0080.04717.25
5.5.200.0090.02317.29
5.5.190.0100.02617.09
5.5.180.0080.04117.23
5.5.170.0070.00714.47
5.5.160.0020.02817.35
5.5.150.0080.04217.32
5.5.140.0090.03817.29
5.5.130.0090.04217.23
5.5.120.0100.04017.22
5.5.110.0050.03717.41
5.5.100.0080.04317.37
5.5.90.0080.02717.34
5.5.80.0090.04217.35
5.5.70.0130.03517.30
5.5.60.0050.02917.10
5.5.50.0110.02117.21
5.5.40.0050.04117.09
5.5.30.0050.03317.08
5.5.20.0040.02917.31
5.5.10.0030.04917.36
5.5.00.0070.04717.18
5.4.450.0090.04215.96
5.4.440.0080.02716.04
5.4.430.0130.03815.98
5.4.420.0090.03915.99
5.4.410.0100.02115.87
5.4.400.0080.03715.71
5.4.390.0030.04215.72
5.4.380.0030.04515.88
5.4.370.0050.04515.81
5.4.360.0060.04115.93
5.4.350.0030.03515.86
5.4.340.0080.03715.77
5.4.330.0030.00712.64
5.4.320.0100.02415.71
5.4.310.0100.03315.89
5.4.300.0080.04015.88
5.4.290.0070.04015.72
5.4.280.0130.03015.80
5.4.270.0080.03815.80
5.4.260.0090.03815.73
5.4.250.0070.02515.83
5.4.240.0090.03715.94
5.4.230.0080.03615.80
5.4.220.0080.04015.83
5.4.210.0110.03715.80
5.4.200.0030.02715.84
5.4.190.0050.04215.80
5.4.180.0020.03215.84
5.4.170.0030.04215.87
5.4.160.0050.03915.88
5.4.150.0100.03615.87
5.4.140.0060.03814.51
5.4.130.0050.02114.35
5.4.120.0000.02314.50
5.4.110.0050.02514.49
5.4.100.0080.03814.43
5.4.90.0080.02714.42
5.4.80.0080.03614.48
5.4.70.0090.03614.47
5.4.60.0050.04014.46
5.4.50.0080.03614.51
5.4.40.0040.02414.55
5.4.30.0050.02014.51
5.4.20.0030.02814.42
5.4.10.0080.03814.48
5.4.00.0020.04314.17
5.3.290.0030.02713.64
5.3.280.0090.03713.58
5.3.270.0030.03013.54
5.3.260.0080.03813.55
5.3.250.0050.03313.61
5.3.240.0040.02813.60
5.3.230.0020.02413.61
5.3.220.0060.03713.59
5.3.210.0030.02713.58
5.3.200.0080.02513.57
5.3.190.0120.02213.60
5.3.180.0060.04113.59
5.3.170.0070.03313.60
5.3.160.0080.03613.57
5.3.150.0020.04413.58
5.3.140.0070.02313.52
5.3.130.0080.03013.59
5.3.120.0090.03713.57
5.3.110.0030.02513.59
5.3.100.0050.03613.33
5.3.90.0080.03413.28
5.3.80.0070.03213.33
5.3.70.0080.02313.30
5.3.60.0030.03813.25
5.3.50.0020.04113.21
5.3.40.0090.02113.28
5.3.30.0080.03813.27
5.3.20.0050.03613.16
5.3.10.0100.02213.03
5.3.00.0030.02013.12
5.2.170.0000.06311.12
5.2.160.0130.05311.12
5.2.150.0130.02311.16
5.2.140.0030.06011.05
5.2.130.0030.03711.09
5.2.120.0030.06311.16
5.2.110.0100.02711.16
5.2.100.0070.02711.14
5.2.90.0070.06311.17
5.2.80.0070.06011.09
5.2.70.0030.04011.09
5.2.60.0070.05710.84
5.2.50.0130.05011.09
5.2.40.0070.05310.96
5.2.30.0100.04711.02
5.2.20.0070.05710.95
5.2.10.0000.04010.92
5.2.00.0030.03010.76
5.1.60.0070.0479.83
5.1.50.0030.05710.07
5.1.40.0070.03710.02
5.1.30.0100.04710.35
5.1.20.0000.05310.37
5.1.10.0070.04710.05
5.1.00.0100.0539.96
5.0.50.0000.0508.53
5.0.40.0070.0438.29
5.0.30.0070.0578.25
5.0.20.0070.0378.20
5.0.10.0000.0378.21
5.0.00.0030.0638.24
4.4.90.0000.0377.28
4.4.80.0070.0207.28
4.4.70.0030.0337.28
4.4.60.0100.0277.28
4.4.50.0000.0307.28
4.4.40.0030.0477.28
4.4.30.0030.0277.28
4.4.20.0070.0377.28
4.4.10.0070.0237.28
4.4.00.0000.0437.28
4.3.110.0000.0377.28
4.3.100.0030.0377.28
4.3.90.0000.0377.28
4.3.80.0000.0407.28
4.3.70.0030.0337.28
4.3.60.0000.0307.28
4.3.50.0030.0237.28
4.3.40.0030.0437.28
4.3.30.0070.0307.28
4.3.20.0030.0337.28
4.3.10.0000.0337.28
4.3.00.0000.0207.28

preferences:
37.59 ms | 401 KiB | 5 Q