3v4l.org

run code in 300+ PHP versions simultaneously
<?php $t = new DateTime("2015-07-07 14:00:00", new DateTimeZone("Europe/Berlin")); if (date_format($t, 'I') == 1) { echo("SOMMERZEIT"); } else { echo("WINTERZEIT"); }

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.60.0150.00718.56
8.3.50.0110.00418.47
8.3.40.0090.00618.95
8.3.30.0070.00718.73
8.3.20.0090.00021.73
8.3.10.0090.00023.66
8.3.00.0030.00523.54
8.2.180.0120.00316.59
8.2.170.0090.00622.96
8.2.160.0090.00620.10
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0030.00521.08
8.2.120.0070.00026.35
8.2.110.0030.00721.17
8.2.100.0110.00019.95
8.2.90.0080.00417.64
8.2.80.0040.00418.34
8.2.70.0050.00517.93
8.2.60.0040.00418.22
8.2.50.0040.00418.10
8.2.40.0000.00920.42
8.2.30.0030.00320.50
8.2.20.0040.00418.23
8.2.10.0040.00418.14
8.2.00.0000.00718.14
8.1.280.0110.00325.92
8.1.270.0040.00422.10
8.1.260.0100.00026.35
8.1.250.0080.00028.09
8.1.240.0100.00723.78
8.1.230.0090.00322.67
8.1.220.0060.00317.79
8.1.210.0000.01118.81
8.1.200.0030.00617.48
8.1.190.0080.00017.35
8.1.180.0050.00318.10
8.1.170.0080.00018.64
8.1.160.0000.00718.87
8.1.150.0000.00820.27
8.1.140.0080.00017.76
8.1.130.0000.00719.00
8.1.120.0040.00417.55
8.1.110.0000.00717.60
8.1.100.0040.00417.70
8.1.90.0050.00317.53
8.1.80.0040.00417.66
8.1.70.0000.00717.61
8.1.60.0060.00317.77
8.1.50.0080.00317.65
8.1.40.0040.00417.57
8.1.30.0080.00317.74
8.1.20.0020.00517.70
8.1.10.0040.00417.71
8.1.00.0030.00617.66
8.0.300.0040.00419.77
8.0.290.0070.00016.75
8.0.280.0040.00418.38
8.0.270.0000.00817.20
8.0.260.0060.00316.99
8.0.250.0000.00617.03
8.0.240.0000.00717.02
8.0.230.0000.00817.09
8.0.220.0070.00017.11
8.0.210.0000.00717.03
8.0.200.0030.00317.13
8.0.190.0070.00017.07
8.0.180.0080.00017.01
8.0.170.0040.00417.13
8.0.160.0040.00417.12
8.0.150.0000.00716.99
8.0.140.0030.00517.01
8.0.130.0030.00313.50
8.0.120.0060.00317.06
8.0.110.0000.00817.13
8.0.100.0000.00717.19
8.0.90.0000.00817.19
8.0.80.0090.00617.06
8.0.70.0000.00717.14
8.0.60.0040.00416.98
8.0.50.0000.00716.93
8.0.30.0120.00517.24
8.0.20.0130.00617.40
8.0.10.0050.00217.08
8.0.00.0150.00816.99
7.4.330.0050.00015.55
7.4.320.0030.00316.77
7.4.300.0000.00616.63
7.4.290.0000.00816.64
7.4.280.0070.00016.64
7.4.270.0030.00316.68
7.4.260.0070.00316.60
7.4.250.0040.00516.68
7.4.240.0000.00716.66
7.4.230.0000.00716.66
7.4.220.0000.00816.68
7.4.210.0120.00516.60
7.4.200.0000.00716.80
7.4.160.0130.00516.64
7.4.140.0080.01217.86
7.4.130.0090.00916.73
7.4.120.0110.00716.71
7.4.110.0160.00716.87
7.4.100.0100.00716.74
7.4.90.0070.01716.67
7.4.80.0130.00719.39
7.4.70.0090.00716.64
7.4.60.0030.01316.47
7.4.50.0040.01116.44
7.4.40.0080.00816.76
7.4.00.0130.00314.88
7.3.330.0050.00013.29
7.3.320.0060.00013.17
7.3.310.0000.00716.26
7.3.300.0070.00016.24
7.3.290.0030.01416.27
7.3.280.0110.00516.34
7.3.260.0100.01116.50
7.3.250.0120.00616.39
7.3.240.0090.00816.45
7.3.230.0000.01716.32
7.3.210.0060.00916.48
7.3.200.0100.00616.35
7.3.190.0100.00716.41
7.3.180.0100.00716.41
7.3.170.0090.00616.46
7.3.160.0040.01416.48
7.3.10.0100.00316.73
7.3.00.0040.00816.70
7.2.330.0210.00016.89
7.2.320.0080.00816.50
7.2.310.0100.00716.63
7.2.300.0000.01616.80
7.2.290.0100.00716.41
7.2.130.0100.00317.16
7.2.120.0030.01316.90
7.2.110.0000.01116.93
7.2.100.0090.00317.08
7.2.90.0030.01217.15
7.2.80.0090.00317.12
7.2.70.0040.00817.24
7.2.60.0010.01017.00
7.2.50.0040.01116.84
7.2.40.0070.00716.95
7.2.30.0110.01017.69
7.2.20.0060.01118.34
7.2.10.0050.01018.57
7.2.00.0060.01318.55
7.1.250.0030.00915.87
7.1.200.0000.00715.92
7.1.150.0100.01318.92
7.1.140.0110.01118.66
7.1.130.0130.01317.11
7.1.120.0160.01016.86
7.1.110.0100.01118.29
7.1.100.0150.01316.23
7.1.90.0060.01418.02
7.1.80.0070.01218.01
7.1.70.0080.01117.25
7.1.60.0280.01534.88
7.1.50.0280.01634.92
7.1.40.0350.01334.57
7.1.30.0230.02234.75
7.1.20.0260.02134.61
7.1.10.0040.01616.73
7.1.00.0080.01316.70

preferences:
58.52 ms | 401 KiB | 5 Q