3v4l.org

run code in 300+ PHP versions simultaneously
<?php $zone=new DateTimeZone("MDT"); $o1=$zone->getOffset(new DateTime("2012-01-01",$zone))/3600; $o2=$zone->getOffset(new DateTime("2012-08-01",$zone))/3600; echo "2012-01-01: ".($o1==-7?"Pass":"Fail ($o1)")."\n"; echo "2012-08-01: ".($o2==-6?"Pass":"Fail ($o2)")."\n";

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.1.100.0000.00717.46
8.1.90.0070.00017.46
8.1.80.0000.00717.46
8.1.70.0030.00717.55
8.1.60.0000.00917.66
8.1.50.0020.00517.44
8.1.40.0000.00817.54
8.1.30.0040.00417.72
8.1.20.0000.00817.59
8.1.10.0040.00417.61
8.1.00.0070.00417.61
8.0.230.0000.00817.10
8.0.220.0000.00716.92
8.0.210.0000.00716.91
8.0.200.0030.00617.13
8.0.190.0040.00417.05
8.0.180.0000.00817.04
8.0.170.0030.00616.98
8.0.160.0000.00717.06
8.0.150.0000.00816.84
8.0.140.0000.00816.95
8.0.130.0030.00313.31
8.0.120.0040.00416.92
8.0.110.0040.00417.03
8.0.100.0040.00417.05
8.0.90.0040.00416.91
8.0.80.0090.00617.05
8.0.70.0040.00417.04
8.0.60.0070.00016.99
8.0.50.0080.00017.05
8.0.30.0100.01017.24
8.0.20.0130.00617.05
8.0.10.0040.00417.13
8.0.00.0120.00916.92
7.4.300.0000.00616.50
7.4.290.0000.00816.60
7.4.280.0050.00316.55
7.4.270.0000.00716.46
7.4.260.0000.00513.30
7.4.250.0070.00016.66
7.4.240.0020.00516.58
7.4.230.0030.00316.74
7.4.220.0030.00316.42
7.4.210.0030.01216.64
7.4.200.0000.00716.75
7.4.130.0170.00416.54
7.4.120.0080.01516.70
7.4.110.0150.00316.46
7.4.100.0100.00716.63
7.4.90.0090.00816.62
7.4.80.0090.00919.39
7.4.70.0060.00916.36
7.4.60.0110.00716.36
7.4.50.0030.01016.61
7.4.40.0090.00916.66
7.4.00.0100.00714.91
7.3.330.0030.00316.35
7.3.320.0050.00013.14
7.3.310.0000.00716.25
7.3.300.0030.00316.37
7.3.290.0080.00816.42
7.3.280.0170.00316.29
7.3.260.0080.01016.44
7.3.230.0060.01216.71
7.3.210.0070.01016.62
7.3.200.0100.00616.42
7.3.190.0050.01216.33
7.3.180.0110.01216.37
7.3.170.0120.00316.60
7.3.160.0110.00716.73
7.3.120.0040.00814.89
7.3.110.0060.00614.79
7.3.100.0130.00314.93
7.3.90.0030.01015.09
7.3.80.0070.00514.78
7.3.70.0080.00614.73
7.3.60.0090.00514.83
7.3.50.0070.00914.85
7.3.40.0100.00714.76
7.3.30.0090.00814.83
7.3.20.0170.00815.37
7.3.10.0110.00915.39
7.3.00.0080.00715.33
7.2.330.0140.00916.61
7.2.320.0150.00916.58
7.2.310.0060.01016.88
7.2.300.0070.01016.93
7.2.290.0100.00616.77
7.2.250.0070.01115.41
7.2.240.0030.01515.19
7.2.230.0040.01115.39
7.2.220.0040.00515.07
7.2.210.0080.00715.07
7.2.200.0100.00915.13
7.2.190.0060.00715.00
7.2.180.0070.01015.16
7.2.170.0090.00615.11
7.2.160.0110.00615.20
7.2.150.0120.00715.11
7.2.140.0110.00815.15
7.2.130.0110.00715.21
7.2.120.0150.00615.06
7.2.110.0090.01215.14
7.2.100.0120.00614.99
7.2.90.0090.00815.05
7.2.80.0110.00714.98
7.2.70.0070.01215.11
7.2.60.0120.00815.18
7.2.50.0110.00915.13
7.2.40.0100.00815.21
7.2.30.0100.01115.05
7.2.20.0090.00615.04
7.2.10.0140.00715.26
7.2.00.0340.00915.20
7.1.330.0100.00615.84
7.1.320.0030.00715.81
7.1.310.0120.00714.51
7.1.300.0090.00814.46
7.1.290.0090.01014.38
7.1.280.0100.00714.49
7.1.270.0090.00714.41
7.1.260.0230.01114.35
7.1.250.0090.00913.84
7.1.240.0180.00413.91
7.1.230.0200.00213.99
7.1.220.0210.00413.93
7.1.210.0160.00413.99
7.1.200.0150.00713.57
7.1.190.0200.00013.66
7.1.180.0190.00413.66
7.1.170.0050.01513.78
7.1.160.0190.00314.05
7.1.150.0230.00414.23
7.1.140.0310.00914.09
7.1.130.0130.01014.24
7.1.120.0220.00414.09
7.1.110.0120.01514.07
7.1.100.0180.00914.06
7.1.90.0080.01113.97
7.1.80.0220.00514.15
7.1.70.0210.00314.22
7.1.60.0150.00914.07
7.1.50.0220.00313.96
7.1.40.0230.00313.92
7.1.30.0170.00513.83
7.1.20.0170.00613.91
7.1.10.0110.01413.82
7.1.00.0190.00313.85
7.0.330.0230.00313.66
7.0.320.0130.00513.63
7.0.310.0080.01213.32
7.0.300.0120.01513.43
7.0.290.0140.00713.78
7.0.280.0150.00613.68
7.0.270.0140.00713.60
7.0.260.0150.00913.73
7.0.250.0130.00613.96
7.0.240.0180.00613.64
7.0.230.0180.00013.75
7.0.220.0210.00713.77
7.0.210.0250.00313.80
7.0.200.0240.00013.49
7.0.190.0110.01313.80
7.0.180.0210.00413.38
7.0.170.0160.00613.63
7.0.160.0180.00613.70
7.0.150.0230.00313.82
7.0.140.0170.00313.83
7.0.130.0130.00913.33
7.0.120.0140.00913.77
7.0.110.0210.00313.79
7.0.100.0190.01013.39
7.0.90.0220.00413.86
7.0.80.0150.00613.77
7.0.70.0210.00413.80
7.0.60.0150.00813.47
7.0.50.0100.01413.76
7.0.40.0140.00413.54
7.0.30.0170.01113.62
7.0.20.0100.01513.85
7.0.10.0220.00013.52
7.0.00.0110.01113.53
5.6.400.0160.00614.16
5.6.390.0130.00714.16
5.6.380.0160.00814.69
5.6.370.0060.01314.13
5.6.360.0030.01414.29
5.6.350.0030.01414.56
5.6.340.0110.00514.43
5.6.330.0120.00414.39
5.6.320.0180.00914.34
5.6.310.0160.00614.51
5.6.300.0040.01314.52
5.6.290.0130.00514.30
5.6.280.0130.00614.25
5.6.270.0130.00414.35
5.6.260.0070.01314.32
5.6.250.0060.01114.45
5.6.240.0190.00314.45
5.6.230.0160.00814.19
5.6.220.0130.01314.41
5.6.210.0130.00514.36
5.6.200.0130.00814.51
5.6.190.0140.00414.35
5.6.180.0040.01614.08
5.6.170.0180.00414.40
5.6.160.0080.01114.09
5.6.150.0100.01014.51
5.6.140.0150.00614.30
5.6.130.0180.00014.43
5.6.120.0120.01214.62
5.6.110.0090.01414.44
5.6.100.0170.00714.20
5.6.90.0200.00514.53
5.6.80.0100.01014.32
5.6.70.0070.01314.22
5.6.60.0130.00414.45
5.6.50.0140.00814.56
5.6.40.0070.01114.44
5.6.30.0100.01014.50
5.6.20.0130.00714.38
5.6.10.0100.00514.45
5.6.00.0130.00814.34
5.5.380.0180.00314.42
5.5.370.0090.00914.18
5.5.360.0110.00814.26
5.5.350.0130.00814.33
5.5.340.0150.00414.34
5.5.330.0160.00314.25
5.5.320.0170.00314.21
5.5.310.0200.00614.14
5.5.300.0090.00614.42
5.5.290.0170.00614.50
5.5.280.0080.01214.55
5.5.270.0130.00614.48
5.5.260.0100.01014.27
5.5.250.0000.01614.27
5.5.240.0080.00914.14
5.5.230.0130.00414.45
5.5.220.0100.00514.06
5.5.210.0040.01814.40
5.5.200.0170.00414.34
5.5.190.0150.00514.50
5.5.180.0130.00314.38
5.5.170.0070.00514.24
5.5.160.0180.00314.30
5.5.150.0120.01114.50
5.5.140.0070.00714.29
5.5.130.0180.00314.46
5.5.120.0120.00914.33
5.5.110.0080.00814.36
5.5.100.0040.01314.30
5.5.90.0060.01914.58
5.5.80.0070.01014.40
5.5.70.0220.00314.38
5.5.60.0150.00714.24
5.5.50.0080.00813.95
5.5.40.0150.00613.98
5.5.30.0100.00814.39
5.5.20.0100.00714.46
5.5.10.0160.00314.44
5.5.00.0060.01314.54
5.4.450.0120.00411.02
5.4.440.0140.00411.13
5.4.430.0100.00511.16
5.4.420.0110.00411.15
5.4.410.0080.00311.23
5.4.400.0130.00311.05
5.4.390.0050.01011.18
5.4.380.0150.00010.93
5.4.370.0050.00911.00
5.4.360.0050.01110.92
5.4.350.0000.01111.10
5.4.340.0080.00810.94
5.4.330.0060.00311.18
5.4.320.0050.00910.77
5.4.310.0080.00410.90
5.4.300.0050.00911.16
5.4.290.0050.01111.14
5.4.280.0080.00310.92
5.4.270.0150.00311.11
5.4.260.0080.00411.09
5.4.250.0080.00610.88
5.4.240.0100.00310.84
5.4.230.0050.00511.13
5.4.220.0100.00710.79
5.4.210.0110.00011.04
5.4.200.0060.00611.02
5.4.190.0100.00510.96
5.4.180.0070.00411.20
5.4.170.0100.00711.09
5.4.160.0160.00011.05
5.4.150.0110.00711.03
5.4.140.0120.00311.03
5.4.130.0120.00310.96
5.4.120.0120.00310.99
5.4.110.0140.00310.96
5.4.100.0100.00510.93
5.4.90.0110.00310.92
5.4.80.0090.00410.89
5.4.70.0060.00310.84
5.4.60.0070.00710.92
5.4.50.0150.00411.13
5.4.40.0140.00411.18
5.4.30.0060.00611.27
5.4.20.0150.00011.11
5.4.10.0110.00410.88
5.4.00.0080.00811.08
5.3.290.0100.00310.79
5.3.280.0040.00810.63
5.3.270.0040.00710.76
5.3.260.0070.00710.67
5.3.250.0140.00010.44
5.3.240.0080.00310.43
5.3.230.0070.00410.74
5.3.220.0080.00410.48
5.3.210.0080.00410.31
5.3.200.0130.00010.44
5.3.190.0130.00310.38
5.3.180.0040.00710.71
5.3.170.0080.00810.43
5.3.160.0100.00010.56
5.3.150.0140.00010.72
5.3.140.0110.00010.70
5.3.130.0120.00010.49
5.3.120.0100.00010.59
5.3.110.0120.00310.63
5.3.100.0130.00010.64
5.3.90.0030.00610.58
5.3.80.0060.00310.42
5.3.70.0140.00010.36
5.3.60.0120.00010.55
5.3.50.0080.00410.56
5.3.40.0110.00410.57
5.3.30.0120.00010.69
5.3.20.0100.00310.45
5.3.10.0080.00810.39
5.3.00.0110.00610.26
5.2.170.0060.0069.72
5.2.160.0040.0049.62
5.2.150.0050.0059.70
5.2.140.0070.0079.63
5.2.130.0070.0079.46
5.2.120.0080.0039.56
5.2.110.0040.0069.51
5.2.100.0050.0059.51
5.2.90.0120.0039.50
5.2.80.0000.0129.46
5.2.70.0000.0099.44
5.2.60.0130.0009.39
5.2.50.0070.0039.42
5.2.40.0090.0049.39
5.2.30.0110.0009.46
5.2.20.0020.0079.39
5.2.10.0050.0089.39
5.2.00.0080.0009.39
5.1.60.0050.0059.39
5.1.50.0110.0009.39
5.1.40.0000.0099.39
5.1.30.0000.0109.39
5.1.20.0060.0069.39
5.1.10.0100.0009.39
5.1.00.0060.0039.39
5.0.50.0080.0009.39
5.0.40.0040.0049.39
5.0.30.0040.0089.39
5.0.20.0040.0049.39
5.0.10.0090.0009.39
5.0.00.0090.0009.39
4.4.90.0000.0079.39
4.4.80.0040.0049.39
4.4.70.0040.0029.39
4.4.60.0030.0039.39
4.4.50.0070.0009.39
4.4.40.0050.0029.39
4.4.30.0090.0009.39
4.4.20.0020.0049.39
4.4.10.0000.0059.39
4.4.00.0060.0009.39
4.3.110.0030.0039.39
4.3.100.0050.0039.39
4.3.90.0070.0009.39
4.3.80.0030.0059.39
4.3.70.0040.0049.39
4.3.60.0050.0039.39
4.3.50.0060.0069.39
4.3.40.0050.0009.39
4.3.30.0000.0049.39
4.3.20.0000.0069.39
4.3.10.0030.0039.39
4.3.00.0040.0049.39

preferences:
13.95 ms | 406 KiB | 5 Q