3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime("now"); $hourString = $date->format('H:i'); if (strtotime($hourString) > strtotime('12:00:00') && strtotime($hourString) < strtotime('23:59:59')) { echo($hourString); }

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.0040.01118.55
8.3.50.0110.00718.30
8.3.40.0150.00418.84
8.3.30.0040.01118.70
8.3.20.0030.00620.74
8.3.10.0000.00823.39
8.3.00.0040.00420.79
8.2.180.0120.00616.75
8.2.170.0070.00722.96
8.2.160.0070.00722.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00026.16
8.2.110.0100.01319.38
8.2.100.0040.01118.16
8.2.90.0050.00318.03
8.2.80.0040.00417.97
8.2.70.0000.00818.05
8.2.60.0000.00718.22
8.2.50.0040.00418.10
8.2.40.0000.00822.16
8.2.30.0000.00719.30
8.2.20.0040.00418.11
8.2.10.0080.00018.96
8.2.00.0000.00819.21
8.1.280.0110.00425.92
8.1.270.0000.00822.45
8.1.260.0050.00226.35
8.1.250.0060.00328.09
8.1.240.0060.00322.41
8.1.230.0110.00020.81
8.1.220.0090.00018.97
8.1.210.0030.00620.56
8.1.200.0080.00017.35
8.1.190.0070.00317.35
8.1.180.0090.00018.10
8.1.170.0040.00418.66
8.1.160.0050.00320.20
8.1.150.0050.00218.94
8.1.140.0000.00818.99
8.1.130.0020.00520.23
8.1.120.0000.00717.65
8.1.110.0080.00017.60
8.1.100.0030.00617.69
8.1.90.0040.00417.52
8.1.80.0000.00717.54
8.1.70.0030.00317.58
8.1.60.0040.00417.59
8.1.50.0050.00217.52
8.1.40.0060.00617.58
8.1.30.0000.00817.70
8.1.20.0000.00817.73
8.1.10.0000.00817.65
8.1.00.0040.00417.73
8.0.300.0060.00320.00
8.0.290.0000.00716.88
8.0.280.0000.00718.42
8.0.270.0000.00817.45
8.0.260.0060.00319.95
8.0.250.0000.00717.16
8.0.240.0030.00317.13
8.0.230.0030.00317.05
8.0.220.0060.00016.95
8.0.210.0030.00317.08
8.0.200.0030.00317.16
8.0.190.0040.00417.09
8.0.180.0040.00417.01
8.0.170.0040.00417.04
8.0.160.0040.00417.04
8.0.150.0040.00316.94
8.0.140.0040.00417.11
8.0.130.0050.00013.42
8.0.120.0040.00417.07
8.0.110.0070.00016.98
8.0.100.0000.00716.89
8.0.90.0080.00017.14
8.0.80.0160.00017.04
8.0.70.0040.00416.96
8.0.60.0020.00516.99
8.0.50.0000.00817.01
8.0.30.0090.01417.46
8.0.20.0090.00917.23
8.0.10.0000.00717.21
8.0.00.0260.00316.82
7.4.330.0050.00015.55
7.4.320.0030.00316.58
7.4.300.0030.00316.64
7.4.290.0000.00616.71
7.4.280.0040.00316.71
7.4.270.0030.00316.78
7.4.260.0050.00013.32
7.4.250.0000.00716.59
7.4.240.0050.00316.73
7.4.230.0030.00316.45
7.4.220.0030.00516.63
7.4.210.0060.00916.76
7.4.200.0000.00716.71
7.4.130.0150.00916.70
7.4.120.0100.01316.87
7.4.110.0080.01116.66
7.4.100.0070.01116.63
7.4.90.0070.01116.50
7.4.80.0060.01219.39
7.4.70.0050.01116.62
7.4.60.0090.00916.53
7.4.50.0060.00616.49
7.4.40.0070.01416.46
7.4.00.0070.01015.28
7.3.330.0070.00016.39
7.3.320.0020.00213.16
7.3.310.0030.00616.28
7.3.300.0030.00316.39
7.3.290.0070.01016.39
7.3.280.0090.01316.34
7.3.260.0070.01416.67
7.3.230.0100.00716.54
7.3.210.0070.01116.66
7.3.200.0100.00616.62
7.3.190.0090.00916.64
7.3.180.0100.00716.64
7.3.170.0070.01016.58
7.3.160.0060.01016.46
7.3.110.0070.01014.58
7.3.100.0070.00714.96
7.3.90.0110.00614.90
7.3.80.0090.00914.98
7.3.70.0060.01214.84
7.3.60.0140.00015.03
7.3.50.0110.00814.89
7.3.40.0120.00314.66
7.3.30.0030.01114.81
7.3.20.0130.00715.10
7.3.10.0060.01214.79
7.3.00.0120.00414.98
7.2.330.0100.00916.64
7.2.320.0120.00916.65
7.2.310.0040.01416.81
7.2.300.0060.01616.80
7.2.290.0000.01616.78
7.2.240.0060.01315.22
7.2.230.0110.00815.23
7.2.220.0110.00715.20
7.2.210.0070.01115.37
7.2.200.0100.01015.02
7.2.190.0070.00715.13
7.2.180.0080.00815.28
7.2.170.0130.00314.94
7.2.160.0090.00615.09
7.2.150.0080.00815.24
7.2.140.0110.01015.12
7.2.130.0080.00815.12
7.2.120.0080.00815.25
7.2.110.0080.00815.08
7.2.100.0000.01615.15
7.2.90.0090.00815.10
7.2.80.0130.00415.20
7.2.70.0120.00615.27
7.2.60.0060.01215.02
7.2.50.0060.01115.16
7.2.40.0070.01715.23
7.2.30.0140.00715.15
7.2.20.0080.01215.11
7.2.10.0070.01115.32
7.2.00.0100.01015.39
7.1.330.0110.00414.00
7.1.320.0290.00713.99
7.1.310.0130.00314.08
7.1.300.0040.01114.06
7.1.290.0100.00313.92
7.1.280.0080.00614.15
7.1.270.0040.01114.27
7.1.260.0030.01214.02
7.1.250.0130.00614.00

preferences:
32.42 ms | 400 KiB | 5 Q