3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time_zones = array( 'America/Chicago', 'GMT', 'Europe/Berlin', ); foreach($time_zones as $time_zone){ date_default_timezone_set($time_zone); $t1 = mktime(23, 0, 0); $t2 = strtotime('today 23:00:00'); $t3 = strtotime('23:00:00'); echo date('r', $t1) . ' / ' . date('r', $t2) . ' / ' . date('r', $t3) . PHP_EOL; }

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.4.140.0100.01217.68
8.4.130.0060.00317.94
8.4.120.0130.00723.98
8.4.110.0140.00718.13
8.4.100.0120.00818.89
8.4.90.0090.00120.86
8.4.80.0150.00820.68
8.4.70.0110.01118.38
8.4.60.0070.00518.90
8.4.50.0130.00820.47
8.4.40.0130.00719.53
8.4.30.0180.00317.60
8.4.20.0170.00320.39
8.4.10.0100.01019.48
8.3.270.0120.00916.63
8.3.260.0110.01016.74
8.3.250.0050.00419.00
8.3.240.0120.00718.91
8.3.230.0110.00816.65
8.3.220.0130.00418.80
8.3.210.0130.00916.87
8.3.200.0040.00416.96
8.3.190.0110.00516.96
8.3.180.0070.00916.98
8.3.170.0120.01217.19
8.3.160.0090.00918.60
8.3.150.0120.00316.66
8.3.140.0000.00816.99
8.3.130.0050.00316.95
8.3.120.0170.00319.28
8.3.110.0070.00416.78
8.3.100.0080.00016.74
8.3.90.0040.01118.39
8.3.80.0030.00619.36
8.3.70.0140.00416.75
8.3.60.0120.00318.38
8.3.50.0140.00521.33
8.3.40.0110.00418.87
8.3.30.0150.00018.93
8.3.20.0090.00019.32
8.3.10.0050.00221.85
8.3.00.0080.00020.90
8.2.290.0130.00520.50
8.2.280.0130.00818.59
8.2.270.0110.00717.21
8.2.260.0140.00316.71
8.2.250.0130.00017.02
8.2.240.0190.00017.22
8.2.230.0060.00320.94
8.2.220.0070.01037.54
8.2.210.0040.00426.77
8.2.200.0040.00416.88
8.2.190.0110.00418.41
8.2.180.0150.00318.29
8.2.170.0040.01119.19
8.2.160.0100.00722.96
8.2.150.0070.00025.66
8.2.140.0080.00024.66
8.2.130.0080.00019.95
8.2.120.0000.00726.35
8.2.110.0090.00321.05
8.2.100.0080.00317.97
8.2.90.0100.00017.88
8.2.80.0040.00418.15
8.2.70.0050.00318.05
8.2.60.0030.00618.41
8.2.50.0030.00518.10
8.2.40.0040.00420.35
8.2.30.0090.00019.39
8.2.20.0020.00518.26
8.2.10.0000.00818.33
8.2.00.0040.00418.15
8.1.330.0110.00821.83
8.1.320.0110.00818.41
8.1.310.0070.00718.41
8.1.300.0080.00416.16
8.1.290.0040.00418.88
8.1.280.0050.00925.92
8.1.270.0040.00423.99
8.1.260.0080.00028.09
8.1.250.0000.00828.09
8.1.240.0030.00723.88
8.1.230.0080.00420.95
8.1.220.0000.00817.93
8.1.210.0050.00318.77
8.1.200.0070.00317.48
8.1.190.0050.00317.48
8.1.180.0080.00018.10
8.1.170.0000.00818.73
8.1.160.0000.00719.05
8.1.150.0070.00020.29
8.1.140.0030.00619.73
8.1.130.0000.00717.85
8.1.120.0070.00017.63
8.1.110.0040.00417.62
8.1.100.0050.00217.64
8.1.90.0040.00417.80
8.1.80.0000.00817.68
8.1.70.0040.00417.70
8.1.60.0030.00617.84
8.1.50.0050.00317.84
8.1.40.0040.00717.80
8.1.30.0030.00517.79
8.1.20.0040.00417.94
8.1.10.0030.00517.82
8.1.00.0080.00017.68
8.0.300.0000.00819.94
8.0.290.0000.00716.75
8.0.280.0050.00218.59
8.0.270.0040.00417.24
8.0.260.0030.00317.41
8.0.250.0000.00717.25
8.0.240.0080.00017.19
8.0.230.0030.00317.33
8.0.220.0070.00017.32
8.0.210.0040.00417.30
8.0.200.0030.00517.41
8.0.190.0000.00717.31
8.0.180.0040.00417.32
8.0.170.0000.00817.27
8.0.160.0040.00417.25
8.0.150.0050.00317.14
8.0.140.0000.00717.14
8.0.130.0030.00313.81
8.0.120.0000.00817.19
8.0.110.0000.00717.29
8.0.100.0000.00717.25
8.0.90.0000.00717.13
8.0.80.0100.00617.27
8.0.70.0000.00817.11
8.0.60.0040.00417.27
8.0.50.0040.00417.24
8.0.30.0070.00717.19
8.0.20.0100.01117.46
8.0.10.0040.00417.15
8.0.00.0100.01217.18
7.4.330.0000.00515.55
7.4.320.0040.00416.97
7.4.300.0030.00316.83
7.4.290.0000.00816.95
7.4.280.0070.00316.70
7.4.270.0040.00416.77
7.4.260.0000.00716.84
7.4.250.0040.00416.83
7.4.240.0030.00416.68
7.4.230.0000.00716.79
7.4.220.0120.00616.80
7.4.210.0060.00916.85
7.4.200.0040.00416.80
7.4.160.0100.00516.86
7.4.150.0100.00717.40
7.4.140.0100.00717.86
7.4.130.0070.01016.78
7.4.120.0100.00816.78
7.4.110.0070.01116.73
7.4.100.0160.00616.86
7.4.90.0060.01516.94
7.4.80.0140.00319.39
7.4.70.0100.00917.02
7.4.60.0030.01316.89
7.4.50.0120.00316.86
7.4.40.0100.00617.00
7.4.30.0060.01116.84
7.4.10.0090.00915.40
7.4.00.0050.01215.31
7.3.330.0020.00213.28
7.3.320.0030.00313.38
7.3.310.0030.00416.63
7.3.300.0030.00316.43
7.3.290.0020.01316.49
7.3.280.0070.01216.51
7.3.270.0100.00717.40
7.3.260.0110.00616.85
7.3.250.0100.00916.92
7.3.240.0110.00516.66
7.3.230.0120.00516.72
7.3.210.0000.02116.71
7.3.200.0120.00616.68
7.3.190.0060.00916.75
7.3.180.0060.01316.83
7.3.170.0140.00916.79
7.3.160.0070.01016.80
7.3.130.0000.01915.11
7.3.120.0050.01415.10
7.3.110.0090.00915.15
7.3.100.0090.00615.13
7.3.90.0000.01515.05
7.3.80.0030.00615.08
7.3.70.0140.00315.22
7.3.60.0080.00415.07
7.3.50.0120.00315.26
7.3.40.0060.00615.06
7.3.30.0090.00015.25
7.3.20.0070.01117.10
7.3.10.0090.00616.91
7.3.00.0070.00417.07
7.2.330.0080.00816.84
7.2.320.0070.01016.84
7.2.310.0090.00916.95
7.2.300.0100.00717.12
7.2.290.0140.00317.01
7.2.260.0130.00615.30
7.2.250.0000.01614.96
7.2.240.0000.01515.58
7.2.230.0030.01015.54
7.2.220.0110.00715.37
7.2.210.0030.00915.36
7.2.200.0070.01015.54
7.2.190.0060.00915.49
7.2.180.0050.00915.36
7.2.170.0030.00715.17
7.2.160.0030.00715.07
7.2.150.0090.00317.04
7.2.140.0070.01117.38
7.2.130.0130.00317.41
7.2.120.0060.00317.35
7.2.110.0120.00617.30
7.2.100.0160.00317.29
7.2.90.0060.00917.32
7.2.80.0040.01117.42
7.2.70.0070.00317.28
7.2.60.0030.01017.44
7.2.50.0070.00717.39
7.2.40.0060.00317.14
7.2.30.0170.00017.53
7.2.20.0070.00717.28
7.2.10.0120.00617.04
7.2.00.0070.00717.44
7.1.330.0040.00815.93
7.1.320.0100.00315.92
7.1.310.0000.01615.95
7.1.300.0030.00616.16
7.1.290.0040.00816.04
7.1.280.0000.01415.92
7.1.270.0060.00616.16
7.1.260.0060.00916.10
7.1.250.0000.01516.03
7.1.240.0100.00716.07
7.1.230.0060.00715.91
7.1.220.0070.00716.04
7.1.210.0080.00816.11
7.1.200.0050.00716.07
7.1.190.0000.01015.84
7.1.180.0070.01015.98
7.1.170.0040.00815.86
7.1.160.0040.00415.83
7.1.150.0030.01416.06
7.1.140.0000.01516.18
7.1.130.0060.00615.79
7.1.120.0060.00616.23
7.1.110.0000.01116.19
7.1.100.0070.00716.10
7.1.90.0130.00316.29
7.1.80.0090.00016.01
7.1.70.0010.00816.95
7.1.60.0000.01316.74
7.1.50.0070.01015.80
7.1.40.0060.00916.10
7.1.30.0070.00716.23
7.1.20.0040.01116.13
7.1.10.0030.01216.16
7.1.00.0020.03919.12
7.0.330.0000.01615.52
7.0.320.0030.01215.58
7.0.310.0080.00815.86
7.0.300.0030.01015.54
7.0.290.0110.00315.53
7.0.280.0060.00915.76
7.0.270.0040.01215.77
7.0.260.0030.01415.81
7.0.250.0100.01015.97
7.0.240.0100.00715.81
7.0.230.0070.00715.91
7.0.220.0000.01215.62
7.0.210.0120.00315.80
7.0.200.0210.00915.32
7.0.190.0110.00715.77
7.0.180.0030.01015.84
7.0.170.0110.00015.86
7.0.160.0060.00915.83
7.0.150.0000.01715.83
7.0.140.0050.00915.50
7.0.130.0060.03018.82
7.0.120.0050.03618.76
7.0.110.0130.03418.89
7.0.100.0090.03118.79
7.0.90.0070.03718.70
7.0.80.0030.03618.91
7.0.70.0070.04218.76
7.0.60.0050.03718.68
7.0.50.0060.03319.02
7.0.40.0070.03517.79
7.0.30.0080.03017.89
7.0.20.0090.03517.83
7.0.10.0070.03217.87
7.0.00.0060.03117.98
5.6.400.0060.00914.78
5.6.390.0130.00314.84
5.6.380.0060.00614.45
5.6.370.0090.00914.79
5.6.360.0000.01014.64
5.6.350.0060.00914.52
5.6.340.0030.01014.98
5.6.330.0040.00714.46
5.6.320.0080.00414.65
5.6.310.0090.00914.59
5.6.300.0080.00514.76
5.6.290.0060.01214.59
5.6.280.0060.03217.91
5.6.270.0080.03317.74
5.6.260.0080.03017.83
5.6.250.0080.03017.83
5.6.240.0050.03517.82
5.6.230.0080.03617.72
5.6.220.0080.04117.55
5.6.210.0100.04017.63
5.6.200.0070.04217.86
5.6.190.0080.03317.67
5.6.180.0060.03317.76
5.6.170.0020.04217.87
5.6.160.0130.02417.67
5.6.150.0090.03017.86
5.6.140.0070.03317.80
5.6.130.0110.02617.80
5.6.120.0070.03017.80
5.6.110.0050.03217.82
5.6.100.0090.03917.63
5.6.90.0110.02717.95
5.6.80.0030.04217.50
5.6.70.0020.04517.33
5.6.60.0050.03217.58
5.6.50.0050.03117.51
5.6.40.0030.03317.38
5.6.30.0070.03217.36
5.6.20.0080.02817.31
5.6.10.0140.03217.48
5.6.00.0020.03717.43

preferences:
34.01 ms | 403 KiB | 5 Q