3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Everything you enter here will be executed by our servers. Try it! print_r(timezone_transitions_get(new DateTimeZone("GMT"))); print_r(timezone_transitions_get(new DateTimeZone("US/Pacific")));

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.70.0130.00716.63
8.3.60.0150.00418.30
8.3.50.0120.00722.09
8.3.40.0080.01218.84
8.3.30.0170.00319.04
8.3.20.0150.00420.45
8.3.10.0060.00323.66
8.3.00.0170.00017.75
8.2.180.0120.00918.26
8.2.170.0190.00022.96
8.2.160.0090.00920.56
8.2.150.0070.01124.18
8.2.140.0180.00024.66
8.2.130.0030.01426.16
8.2.120.0090.00922.20
8.2.110.0090.00022.26
8.2.100.0080.00417.78
8.2.90.0040.00419.08
8.2.80.0000.00717.97
8.2.70.0000.00817.63
8.2.60.0080.00019.41
8.2.50.0050.00319.23
8.2.40.0070.00019.70
8.2.30.0070.00019.73
8.2.20.0040.00417.79
8.2.10.0000.00718.16
8.2.00.0070.00017.95
8.1.280.0160.00325.92
8.1.270.0130.00623.98
8.1.260.0060.01226.35
8.1.250.0130.00628.09
8.1.240.0080.00024.02
8.1.230.0080.00319.18
8.1.220.0060.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.35
8.1.190.0090.00017.35
8.1.180.0080.00018.10
8.1.170.0030.00518.70
8.1.160.0070.00022.24
8.1.150.0040.00418.86
8.1.140.0000.00717.54
8.1.130.0030.00317.93
8.1.120.0000.00717.53
8.1.110.0000.00717.52
8.1.100.0030.00517.62
8.1.90.0000.00717.50
8.1.80.0040.00417.66
8.1.70.0000.00817.59
8.1.60.0040.00417.61
8.1.50.0000.00817.49
8.1.40.0030.00717.60
8.1.30.0000.00817.53
8.1.20.0080.00017.61
8.1.10.0000.00717.66
8.1.00.0000.00717.52
8.0.300.0050.00220.62
8.0.290.0000.00717.43
8.0.280.0070.00018.56
8.0.270.0030.00317.28
8.0.260.0000.00617.27
8.0.250.0000.00617.10
8.0.240.0040.00417.07
8.0.230.0070.00017.13
8.0.220.0070.00017.05
8.0.210.0060.00017.05
8.0.200.0000.00816.99
8.0.190.0040.00417.05
8.0.180.0110.00016.89
8.0.170.0040.00416.99
8.0.160.0050.00317.01
8.0.150.0030.00317.05
8.0.140.0070.00016.96
8.0.130.0030.00313.42
8.0.120.0080.00016.88
8.0.110.0040.00416.96
8.0.100.0070.00016.93
8.0.90.0000.00717.02
8.0.80.0160.00316.92
8.0.70.0040.00416.88
8.0.60.0050.00216.91
8.0.50.0080.00016.88
8.0.30.0030.01417.16
8.0.20.0130.00517.40
8.0.10.0070.00017.12
8.0.00.0100.01016.63
7.4.330.0030.00315.00
7.4.320.0040.00416.71
7.4.300.0000.00616.67
7.4.290.0000.00716.49
7.4.280.0030.00316.55
7.4.270.0050.00316.51
7.4.260.0060.00416.64
7.4.250.0040.00416.43
7.4.240.0050.00216.60
7.4.230.0030.00316.71
7.4.220.0070.01016.67
7.4.210.0110.00816.55
7.4.200.0000.00716.56
7.4.190.0040.00416.61
7.4.160.0100.00616.74
7.4.150.0120.00617.40
7.4.140.0120.00517.86
7.4.130.0120.00516.57
7.4.120.0130.00416.80
7.4.110.0120.00616.64
7.4.100.0130.00316.77
7.4.90.0160.01216.55
7.4.80.0130.01019.39
7.4.70.0030.01316.63
7.4.60.0060.00916.62
7.4.50.0030.00616.37
7.4.40.0060.01116.78
7.4.30.0080.00816.39
7.3.330.0030.00313.19
7.3.320.0030.00313.29
7.3.310.0000.00716.32
7.3.300.0070.00016.30
7.3.290.0100.00516.33
7.3.280.0060.01016.46
7.3.270.0120.01217.40
7.3.260.0130.00516.39
7.3.250.0100.00916.44
7.3.240.0120.00416.61
7.3.230.0120.00416.56
7.3.210.0060.01016.62
7.3.200.0200.00619.39
7.3.190.0100.00616.51
7.3.180.0140.00616.47
7.3.170.0120.00616.45
7.3.160.0090.00616.56
7.2.330.0060.01216.57
7.2.320.0090.01216.43
7.2.310.0060.01316.73
7.2.300.0110.00716.44
7.2.290.0000.01816.53
7.2.100.0290.00614.59
7.2.90.0990.00314.57
7.2.80.0050.00814.87
7.2.70.1130.00914.91
7.2.60.0170.00714.86
7.2.50.0050.01514.93
7.2.40.0220.00415.09
7.2.30.0130.00914.75
7.2.20.0470.00514.73
7.2.10.0150.00515.13
7.2.00.0090.00614.89
7.1.220.0030.04013.86
7.1.210.0060.04113.70
7.1.200.0210.02914.05
7.1.190.0080.03413.82
7.1.180.0240.03513.69
7.1.170.0190.03213.85
7.1.160.0190.03413.80
7.1.150.0090.03013.72
7.1.140.0040.03913.75
7.1.130.0040.04014.07
7.1.120.0000.04413.85
7.1.110.1470.02213.86
7.1.100.1290.03613.98
7.1.90.1120.03114.25
7.1.80.1270.02214.04
7.1.70.1110.02914.22
7.1.60.1220.03531.99
7.1.50.0340.03931.84
7.1.40.1180.04132.11
7.1.30.1320.03232.08
7.1.20.0450.03231.99
7.1.10.0190.04913.90
7.1.00.0390.02914.06
7.0.310.0370.03713.39
7.0.300.0380.03813.29
7.0.290.0390.03913.69
7.0.280.1020.03813.58
7.0.270.0490.04313.57
7.0.260.0330.05813.46
7.0.250.1030.03613.90
7.0.240.1710.04413.81
7.0.230.1710.03413.50
7.0.220.1480.05413.56
7.0.210.0710.06313.27
7.0.200.0500.03713.63
7.0.190.0950.04613.47
7.0.180.0930.04013.43
7.0.170.1450.03813.55
7.0.160.0500.03813.89
7.0.150.1490.04713.52
7.0.140.0880.06213.41
7.0.130.0330.04813.43
7.0.120.0360.04213.65
7.0.110.0450.04613.63
7.0.100.0370.04913.58
7.0.90.0660.04813.60
7.0.80.0630.04813.45
7.0.70.0360.04013.66
7.0.60.0810.04313.51
7.0.50.1140.04214.02
7.0.40.0680.03713.85
7.0.30.0530.03713.64
7.0.20.0300.04513.49
7.0.10.0450.04013.89
7.0.00.1050.03513.70
5.6.380.0330.04814.00
5.6.370.0300.04814.45
5.6.360.0390.03414.06
5.6.350.0340.04414.36
5.6.340.0370.04614.16
5.6.330.0360.03914.34
5.6.320.0330.03614.33
5.6.310.0260.04714.14
5.6.300.0690.04014.55
5.6.290.0290.04514.23
5.6.280.0240.04814.61
5.6.270.0320.04014.41
5.6.260.0410.03814.53
5.6.250.0320.05614.28
5.6.240.0330.03614.16
5.6.230.0230.07214.04
5.6.220.0390.03914.34
5.6.210.0360.04614.37
5.6.200.0360.04514.21
5.6.190.0290.05114.59
5.6.180.0320.04414.43
5.6.170.0400.06014.50
5.6.160.0430.03314.39
5.6.150.0450.05514.17
5.6.140.0430.05214.30
5.6.130.0300.04114.45
5.6.120.0510.04214.25
5.6.110.0340.04114.24
5.6.100.0340.04514.40
5.6.90.0330.03814.48
5.6.80.0300.04514.27
5.5.380.0310.04111.73
5.5.370.0290.03911.73
5.5.360.0280.04611.73
5.5.350.0290.04911.73
5.5.340.0490.04011.73
5.5.330.0390.03911.73
5.5.320.0330.05011.73
5.5.310.0400.05211.73
5.5.300.0280.04711.73
5.5.290.0250.04311.73
5.5.280.0320.03911.73
5.5.270.0380.03211.73
5.5.260.0420.03911.73
5.5.250.0290.04011.73
5.5.240.0300.04811.73
5.4.450.0350.06311.73
5.4.440.0290.06911.73
5.4.430.0300.06311.73
5.4.420.0310.06311.73
5.4.410.0390.06811.73
5.4.400.0260.07111.73

preferences:
47.61 ms | 401 KiB | 5 Q