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/Los_Angeles'); $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'];

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.0030.01514.87
7.3.120.0100.00814.96
7.3.110.0110.00815.04
7.3.100.0070.00614.87
7.3.90.0070.01014.77
7.3.80.0070.00714.82
7.3.70.0060.00514.66
7.3.60.0120.00314.83
7.3.50.0030.01114.88
7.3.40.0020.00814.72
7.3.30.0060.00614.79
7.3.20.0080.00316.75
7.3.10.0070.00716.61
7.3.00.0100.00516.71
7.2.250.0030.01315.21
7.2.240.0030.01315.06
7.2.230.0070.00715.07
7.2.220.0110.00615.16
7.2.210.0050.01115.05
7.2.200.0030.01114.96
7.2.190.0030.01315.00
7.2.180.0070.00614.96
7.2.170.0050.00615.06
7.2.00.0030.01019.34
7.1.330.0040.01115.95
7.1.320.0030.01215.94
7.1.310.0040.01015.90
7.1.300.0080.00515.81
7.1.290.0040.00916.04
7.1.280.0070.00415.78
7.1.270.0050.00815.91
7.1.260.0030.01015.84
7.1.100.0000.01118.18
7.1.70.0050.00317.24
7.1.60.0110.01419.17
7.1.50.0120.00916.73
7.1.00.0030.03322.35
7.0.200.0040.00416.82
7.0.140.0030.07321.97
7.0.80.0170.04719.96
7.0.70.0230.03719.99
7.0.60.0130.04319.96
7.0.50.0100.04320.28
7.0.40.0030.04020.09
7.0.30.0130.04320.17
7.0.20.0130.08320.18
7.0.10.0130.07720.12
7.0.00.0000.05720.04
5.6.280.0030.07321.03
5.6.230.0070.05720.65
5.6.220.0000.04720.71
5.6.210.0070.06320.58
5.6.200.0100.08721.08
5.6.190.0130.02721.08
5.6.180.0100.03721.10
5.6.170.0070.05321.05
5.6.160.0000.08720.96
5.6.150.0170.05321.03
5.6.140.0070.04321.08
5.6.130.0030.05321.01
5.6.120.0130.08320.91
5.6.110.0100.05321.12
5.6.100.0170.07321.09
5.6.90.0070.05020.91
5.6.80.0030.08720.39
5.6.70.0070.05320.51
5.6.60.0070.08720.53
5.6.50.0070.08020.52
5.6.40.0070.07720.31
5.6.30.0130.07020.38
5.6.20.0030.06720.52
5.6.10.0170.06720.39
5.6.00.0100.07320.46
5.5.370.0030.04020.36
5.5.360.0130.06320.39
5.5.350.0100.03720.45
5.5.340.0130.02720.82
5.5.330.0030.04720.64
5.5.320.0100.04020.64
5.5.310.0070.04320.77
5.5.300.0130.07320.64
5.5.290.0100.08020.83
5.5.280.0170.07720.75
5.5.270.0100.06320.76
5.5.260.0070.07320.76
5.5.250.0070.08720.69
5.5.240.0100.08720.27
5.5.230.0100.08020.02
5.5.220.0070.08020.25
5.5.210.0100.07020.29
5.5.200.0070.06320.08
5.5.190.0170.07020.16
5.5.180.0170.06320.23
5.5.160.0070.05320.22
5.5.150.0070.08020.13
5.5.140.0030.07020.17
5.5.130.0170.07320.24
5.5.120.0100.08320.13
5.5.110.0230.06720.11
5.5.100.0300.06020.16
5.5.90.0100.07320.09
5.5.80.0130.07320.16
5.5.70.0000.06020.04
5.5.60.0030.04020.11
5.5.50.0070.07720.00
5.5.40.0030.07720.05
5.5.30.0070.04019.92
5.5.20.0170.07319.95
5.5.10.0170.05020.03
5.5.00.0130.07320.10
5.4.450.0100.04319.40
5.4.440.0100.07719.42
5.4.430.0170.06019.30
5.4.420.0100.07319.35
5.4.410.0200.06319.01
5.4.400.0300.06319.06
5.4.390.0100.07319.14
5.4.380.0070.07319.00
5.4.370.0000.08319.08
5.4.360.0070.08319.07
5.4.350.0130.04318.95
5.4.340.0030.07719.06
5.4.320.0030.08019.12
5.4.310.0100.08018.98
5.4.300.0100.07019.09
5.4.290.0100.06319.04
5.4.280.0100.04718.98
5.4.270.0100.06318.98
5.4.260.0100.06718.90
5.4.250.0130.06019.03
5.4.240.0030.06718.97
5.4.230.0070.07718.96
5.4.220.0100.06018.78
5.4.210.0100.07019.22
5.4.200.0070.07019.04
5.4.190.0000.05719.06
5.4.180.0070.06718.77
5.4.170.0130.07719.01
5.4.160.0170.06319.12
5.4.150.0030.07718.99
5.4.140.0100.04316.38
5.4.130.0130.05716.28
5.4.120.0030.08016.33
5.4.110.0100.07716.27
5.4.100.0130.07016.21
5.4.90.0070.07716.21
5.4.80.0000.07316.20
5.4.70.0070.07716.38
5.4.60.0130.06316.19
5.4.50.0070.04716.30
5.4.40.0070.07716.24
5.4.30.0030.07716.40
5.4.20.0100.07716.19
5.4.10.0130.06716.40
5.4.00.0130.06015.51
5.3.290.0030.05314.65
5.3.280.0000.08314.50
5.3.270.0070.04714.44
5.3.260.0130.07314.46
5.3.250.0170.07014.60
5.3.240.0100.07314.54
5.3.230.0100.07014.55
5.3.220.0030.06714.57
5.3.210.0100.07014.58
5.3.200.0030.08314.50
5.3.190.0100.07714.40
5.3.180.0030.08014.50
5.3.170.0030.07714.54
5.3.160.0070.06014.51
5.3.150.0170.07014.55
5.3.140.0100.07014.38
5.3.130.0030.08314.41
5.3.120.0100.07014.38
5.3.110.0070.07314.53
5.3.100.0130.05713.85
5.3.90.0030.05313.96
5.3.80.0070.07314.02
5.3.70.0130.07014.00
5.3.60.0070.04313.77
5.3.50.0030.08013.88
5.3.40.0100.05313.71
5.3.30.0130.05713.91
5.3.20.0070.06013.65
5.3.10.0070.06713.61
5.3.00.0130.07013.61
5.2.170.0100.05010.93
5.2.160.0130.05311.14
5.2.150.0030.05011.12
5.2.140.0070.06711.00
5.2.130.0070.06010.93
5.2.120.0100.05311.09
5.2.110.0000.06710.93
5.2.100.0070.05311.09
5.2.90.0070.06011.05
5.2.80.0030.06311.09
5.2.70.0070.05711.09
5.2.60.0270.05010.84
5.2.50.0130.04710.96
5.2.40.0070.03710.95
5.2.30.0070.05311.00
5.2.20.0030.06710.97
5.2.10.0000.06010.77
5.2.00.0030.06010.75
5.1.60.0000.0339.87
5.1.50.0000.0579.98
5.1.40.0100.04310.02
5.1.30.0100.05310.24
5.1.20.0070.05310.27
5.1.10.0070.0539.89
5.1.00.0000.05010.11
5.0.50.0070.0408.59
5.0.40.0000.0338.25
5.0.30.0100.0538.24
5.0.20.0100.0378.23
5.0.10.0070.0408.27
5.0.00.0070.0508.18
4.4.90.0030.0337.38
4.4.80.0030.0337.38
4.4.70.0030.0377.38
4.4.60.0000.0407.38
4.4.50.0000.0337.38
4.4.40.0070.0537.38
4.4.30.0070.0307.38
4.4.20.0070.0307.38
4.4.10.0070.0337.38
4.4.00.0030.0537.38
4.3.110.0030.0337.38
4.3.100.0030.0377.38
4.3.90.0030.0277.38
4.3.80.0030.0277.38
4.3.70.0000.0277.38
4.3.60.0030.0207.38
4.3.50.0000.0307.38
4.3.40.0070.0507.38
4.3.30.0000.0277.38
4.3.20.0000.0377.38
4.3.10.0000.0377.38
4.3.00.0070.0277.38

preferences:
37.07 ms | 401 KiB | 5 Q