3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime('2015-08-26T05:00:00-0500'); $timeZone = new DateTimeZone('EDT'); $date = $date->setTimezone($timeZone)->format('g:i a'); echo $date;

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.90.0030.00526.77
8.3.80.0080.00016.50
8.3.70.0040.01118.43
8.3.60.0130.00718.31
8.3.50.0170.00322.13
8.3.40.0090.00618.73
8.3.30.0140.00019.08
8.3.20.0040.00420.20
8.3.10.0000.00823.56
8.3.00.0060.00319.20
8.2.210.0000.00826.77
8.2.200.0060.00316.75
8.2.190.0160.00016.75
8.2.180.0120.00318.39
8.2.170.0110.00422.96
8.2.160.0070.00722.06
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.66
8.2.110.0000.01121.02
8.2.100.0110.00017.97
8.2.90.0000.00820.50
8.2.80.0070.00417.75
8.2.70.0080.00017.75
8.2.60.0000.00817.80
8.2.50.0060.00318.07
8.2.40.0080.00019.88
8.2.30.0040.00418.12
8.2.20.0000.00717.88
8.2.10.0020.00518.00
8.2.00.0060.00317.88
8.1.290.0030.00618.88
8.1.280.0080.00625.92
8.1.270.0030.00519.05
8.1.260.0040.00426.35
8.1.250.0030.00528.09
8.1.240.0000.01019.34
8.1.230.0100.00321.03
8.1.220.0000.00817.77
8.1.210.0000.00918.91
8.1.200.0060.00317.10
8.1.190.0060.00317.35
8.1.180.0030.00618.10
8.1.170.0040.00418.65
8.1.160.0000.00718.91
8.1.150.0030.00518.85
8.1.140.0040.00417.49
8.1.130.0030.00317.82
8.1.120.0000.00817.55
8.1.110.0000.00717.51
8.1.100.0000.00717.57
8.1.90.0000.00717.60
8.1.80.0040.00417.62
8.1.70.0030.00317.44
8.1.60.0060.00317.66
8.1.50.0080.00017.53
8.1.40.0000.00817.49
8.1.30.0040.00417.70
8.1.20.0080.00017.61
8.1.10.0040.00417.72
8.1.00.0030.00617.67
8.0.300.0040.00419.89
8.0.290.0070.00016.88
8.0.280.0000.00718.53
8.0.270.0030.00317.25
8.0.260.0000.00817.33
8.0.250.0030.00317.16
8.0.240.0000.00717.20
8.0.230.0030.00317.07
8.0.220.0000.00716.92
8.0.210.0030.00316.91
8.0.200.0070.00016.98
8.0.190.0000.00817.10
8.0.180.0000.00717.04
8.0.170.0000.00717.07
8.0.160.0050.00317.12
8.0.150.0040.00416.93
8.0.140.0000.00817.03
8.0.130.0060.00013.34
8.0.120.0030.00616.88
8.0.110.0000.00716.96
8.0.100.0040.00416.89
8.0.90.0040.00417.14
8.0.80.0130.00316.94
8.0.70.0050.00316.86
8.0.60.0000.00716.82
8.0.50.0000.00716.86
8.0.30.0100.01217.20
8.0.20.0130.00617.40
8.0.10.0040.00417.11
8.0.00.0110.00816.77
7.4.330.0000.00615.03
7.4.320.0040.00416.59
7.4.300.0030.00316.57
7.4.290.0030.00316.64
7.4.280.0050.00316.50
7.4.270.0030.00316.57
7.4.260.0000.00716.62
7.4.250.0000.00816.70
7.4.240.0040.00416.60
7.4.230.0000.00616.48
7.4.220.0070.01316.58
7.4.210.0070.01016.71
7.4.200.0070.00016.55
7.4.160.0040.01716.64
7.4.150.0100.00617.40
7.4.140.0090.00917.86
7.4.130.0140.00716.54
7.4.120.0110.00616.63
7.4.110.0140.00716.82
7.4.100.0130.01016.54
7.4.90.0070.01016.54
7.4.80.0170.00219.39
7.4.70.0130.00316.50
7.4.60.0100.00716.75
7.4.50.0040.00416.61
7.4.40.0070.01116.47
7.4.30.0150.00816.61
7.4.00.0070.01014.90
7.3.330.0050.00013.27
7.3.320.0000.00513.22
7.3.310.0030.00616.13
7.3.300.0000.00616.36
7.3.290.0070.01016.33
7.3.280.0120.01116.36
7.3.270.0060.01317.40
7.3.260.0070.01116.59
7.3.250.0100.00816.48
7.3.240.0140.00316.66
7.3.230.0090.00916.39
7.3.210.0110.00616.53
7.3.200.0100.01319.39
7.3.190.0100.00716.52
7.3.180.0060.00916.36
7.3.170.0120.00916.42
7.3.160.0110.00516.45
7.3.120.0040.01414.58
7.3.110.0070.01114.72
7.3.100.0090.00614.94
7.3.90.0030.01014.55
7.3.80.0000.01715.21
7.3.70.0030.01214.82
7.3.60.0030.01014.76
7.3.50.0060.00614.73
7.3.40.0080.00614.88
7.3.30.0060.00615.02
7.3.20.0090.00616.57
7.3.10.0060.00316.82
7.3.00.0120.00016.85
7.2.330.0090.00916.52
7.2.320.0100.00716.75
7.2.310.0170.00316.69
7.2.300.0100.00716.49
7.2.290.0230.00016.46
7.2.240.0000.01814.79
7.2.230.0100.00314.70
7.2.220.0080.00414.81
7.2.210.0000.01415.32
7.2.200.0090.00315.27
7.2.190.0030.01015.19
7.2.180.0050.00515.06
7.2.170.0060.00915.29
7.2.160.0120.00615.11
7.2.150.0100.00616.91
7.2.140.0000.01116.77
7.2.130.0140.00317.11
7.2.120.0060.00916.95
7.2.110.0070.00717.00
7.2.100.0060.00616.89
7.2.90.0070.01016.71
7.2.80.0030.01017.01
7.2.70.0050.00516.88
7.2.60.0060.00616.82
7.2.50.0030.00717.09
7.2.40.0030.01316.73
7.2.30.0080.00817.00
7.2.20.0000.01517.14
7.2.10.0100.00716.79
7.2.00.0030.00916.65
7.1.330.0080.00816.02
7.1.320.0080.00415.71
7.1.310.0070.00715.71
7.1.300.0100.00315.94
7.1.290.0070.00415.60
7.1.280.0070.00715.89
7.1.270.0030.01015.88
7.1.260.0040.00715.89
7.1.250.0060.01015.75
7.1.100.0730.01115.98
7.1.70.0090.00917.09
7.1.60.0060.01819.22
7.1.50.0120.00617.03
7.1.00.0100.07022.35
7.0.200.0000.01017.09
7.0.140.0030.05722.06
7.0.60.0170.06719.91
7.0.50.0070.07717.78
7.0.40.0130.07720.23
7.0.30.0330.07320.33
7.0.20.0300.04320.09
7.0.10.0170.07320.33
7.0.00.0100.07720.33
5.6.280.0030.07321.13
5.6.210.0070.09020.71
5.6.200.0070.08018.10
5.6.190.0100.08320.27
5.6.180.0400.07020.27
5.6.170.0330.07020.62
5.6.160.0030.08720.71
5.6.150.0100.07718.17
5.6.140.0100.07718.14
5.6.130.0170.06718.18
5.6.120.0170.07721.11
5.6.110.0170.08020.95
5.6.100.0030.05321.00
5.6.90.0070.08321.10
5.6.80.0070.04720.37
5.5.350.0270.03720.42
5.5.340.0070.03717.92
5.5.330.0030.07720.21
5.5.320.0200.03720.41
5.5.310.0230.07320.12
5.5.300.0000.04718.02
5.5.290.0170.07317.95
5.5.280.0030.06720.98
5.5.270.0100.08020.94
5.5.260.0070.09320.88
5.5.250.0170.08020.63
5.5.240.0200.06320.18
5.4.450.3330.04019.43
5.4.440.3300.03019.11
5.4.430.3300.04319.54
5.4.420.3230.04019.41
5.4.410.3270.04019.27
5.4.400.3430.03719.09
5.4.390.3170.04019.08
5.4.380.3470.03719.24
5.4.370.3430.03719.23
5.4.360.3430.03719.10
5.4.350.3300.03319.25
5.4.340.3000.03718.93
5.4.320.3370.03718.81
5.4.310.3370.03319.10
5.4.300.3170.03319.21
5.4.290.3230.03718.92
5.4.280.3430.02719.06
5.4.270.3330.03319.05
5.4.260.3530.03318.80
5.4.250.3400.03018.78
5.4.240.3970.04018.92
5.4.230.3330.03018.88
5.4.220.3270.04019.07
5.4.210.3230.04019.13
5.4.200.3330.03319.24
5.4.190.3400.03019.12
5.4.180.3130.04019.08
5.4.170.3330.03719.07
5.4.160.3570.03318.92
5.4.150.3070.03719.06
5.4.140.3700.03316.48
5.4.130.3330.03016.26
5.4.120.3470.03316.20
5.4.110.3300.03716.44
5.4.100.3300.03716.48
5.4.90.3330.03016.36
5.4.80.3100.03316.25
5.4.70.3230.03316.25
5.4.60.3070.03716.41
5.4.50.2430.03016.41
5.4.40.0100.03016.36
5.4.30.0000.03716.47
5.4.20.2900.03716.45
5.4.10.3470.03716.18
5.4.00.2930.03715.79
5.3.290.3270.04314.50
5.3.280.3130.03714.54
5.3.270.3230.04014.56
5.3.260.3630.03014.55
5.3.250.3030.03314.59
5.3.240.3330.03714.67
5.3.230.3400.03314.55
5.3.220.3500.03714.66
5.3.210.3230.04014.52
5.3.200.3300.03714.42
5.3.190.3370.03714.40
5.3.180.3430.03714.61
5.3.170.2900.04314.40
5.3.160.2300.03314.59
5.3.150.2200.03014.47
5.3.140.2400.03714.50
5.3.130.0030.03714.38
5.3.120.1670.04314.64
5.3.110.2970.04014.59
5.3.100.3670.04014.07
5.3.90.3570.03714.00
5.3.80.2500.04013.79
5.3.70.2330.03313.81
5.3.60.2870.04314.05
5.3.50.3030.03713.75
5.3.40.2900.03313.79
5.3.30.3230.03713.86
5.3.20.3270.03713.54
5.3.10.3200.03313.50
5.3.00.3330.03013.57
5.2.170.2670.02011.09
5.2.160.2370.03311.09
5.2.150.2730.03310.98
5.2.140.2700.02711.30
5.2.130.2730.03311.02
5.2.120.2930.02310.94
5.2.110.2930.04010.96
5.2.100.2670.03011.20
5.2.90.2800.02310.95
5.2.80.2530.03311.11
5.2.70.2730.03011.11
5.2.60.2730.03011.07
5.2.50.2930.02310.86
5.2.40.2170.03311.04
5.2.30.2200.02310.98
5.2.20.2200.02310.89
5.2.10.2200.02710.98
5.2.00.2200.02710.63
5.1.60.2370.0379.85
5.1.50.2200.0239.89
5.1.40.2130.0279.85
5.1.30.2130.02310.38
5.1.20.2130.02710.31
5.1.10.2200.0209.93
5.1.00.2170.0209.95
5.0.50.1130.0178.59
5.0.40.1170.0178.59
5.0.30.1130.0308.59
5.0.20.1230.0178.59
5.0.10.1170.0238.59
5.0.00.1170.0308.59
4.4.90.0230.0208.59
4.4.80.1070.0178.59
4.4.70.0830.0178.59
4.4.60.1100.0138.59
4.4.50.1070.0178.59
4.4.40.1170.0238.59
4.4.30.1100.0138.59
4.4.20.1200.0138.59
4.4.10.1170.0178.59
4.4.00.1170.0278.59
4.3.110.1170.0108.59
4.3.100.1100.0138.59
4.3.90.1070.0178.59
4.3.80.1070.0238.59
4.3.70.1070.0178.59
4.3.60.1100.0178.59
4.3.50.1170.0178.59
4.3.40.1100.0238.59
4.3.30.0570.0208.59
4.3.20.0570.0138.59
4.3.10.0730.0138.59
4.3.00.0000.0178.59

preferences:
30.23 ms | 401 KiB | 5 Q