3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime("now"); $hourString = $date->format('H:i'); if (strtotime($hourString) > strtotime('17: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.0120.00318.55
8.3.50.0080.00818.55
8.3.40.0110.00418.94
8.3.30.0110.00418.84
8.3.20.0030.00620.82
8.3.10.0080.00023.56
8.3.00.0000.00720.68
8.2.180.0200.00318.27
8.2.170.0110.00322.96
8.2.160.0140.00022.08
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00226.16
8.2.110.0000.00922.20
8.2.100.0040.00819.40
8.2.90.0050.00317.91
8.2.80.0060.00317.97
8.2.70.0080.00018.04
8.2.60.0000.00818.22
8.2.50.0000.00818.10
8.2.40.0000.00722.15
8.2.30.0080.00019.24
8.2.20.0040.00418.10
8.2.10.0040.00418.93
8.2.00.0040.00419.30
8.1.280.0100.01025.92
8.1.270.0000.00822.54
8.1.260.0070.00026.35
8.1.250.0100.00028.09
8.1.240.0100.00020.44
8.1.230.0040.00720.96
8.1.220.0040.00419.22
8.1.210.0030.00620.46
8.1.200.0030.00617.60
8.1.190.0030.00617.48
8.1.180.0000.00818.10
8.1.170.0000.00818.69
8.1.160.0070.00020.31
8.1.150.0040.00418.99
8.1.140.0000.00718.91
8.1.130.0040.00420.02
8.1.120.0000.00717.64
8.1.110.0090.00017.53
8.1.100.0080.00017.65
8.1.90.0000.00717.56
8.1.80.0040.00417.68
8.1.70.0030.00317.62
8.1.60.0000.00817.58
8.1.50.0020.00517.55
8.1.40.0090.00017.57
8.1.30.0000.00817.79
8.1.20.0050.00517.67
8.1.10.0000.00817.61
8.1.00.0080.00017.59
8.0.300.0000.00921.71
8.0.290.0000.00716.88
8.0.280.0030.00318.45
8.0.270.0000.00817.46
8.0.260.0070.00019.98
8.0.250.0000.00717.20
8.0.240.0030.00317.16
8.0.230.0030.00317.18
8.0.220.0000.00717.09
8.0.210.0040.00417.10
8.0.200.0000.00617.12
8.0.190.0000.00817.03
8.0.180.0000.00717.16
8.0.170.0040.00417.11
8.0.160.0040.00416.98
8.0.150.0070.00017.03
8.0.140.0000.00716.92
8.0.130.0060.00013.48
8.0.120.0000.00717.10
8.0.110.0070.00017.00
8.0.100.0000.00716.99
8.0.90.0040.00416.95
8.0.80.0030.01016.98
8.0.70.0000.00717.09
8.0.60.0040.00417.07
8.0.50.0040.00416.96
8.0.30.0060.01117.35
8.0.20.0180.00316.91
8.0.10.0070.00017.07
8.0.00.0150.01116.95
7.4.330.0000.00515.55
7.4.320.0040.00416.63
7.4.300.0000.00616.77
7.4.290.0040.00416.68
7.4.280.0050.00316.61
7.4.270.0030.00316.65
7.4.260.0000.00713.26
7.4.250.0000.00716.74
7.4.240.0040.00416.75
7.4.230.0070.00016.75
7.4.220.0040.00416.61
7.4.210.0030.01716.67
7.4.200.0030.00416.73
7.4.130.0080.01116.66
7.4.120.0140.01116.61
7.4.110.0070.01816.55
7.4.100.0100.00616.75
7.4.90.0060.01216.60
7.4.80.0090.00919.39
7.4.70.0160.00016.71
7.4.60.0070.01016.69
7.4.50.0090.00616.35
7.4.40.0090.00616.77
7.4.00.0130.00314.72
7.3.330.0030.00516.17
7.3.320.0000.00613.19
7.3.310.0030.00316.16
7.3.300.0030.00316.32
7.3.290.0130.00516.37
7.3.280.0030.01016.29
7.3.260.0100.00716.49
7.3.230.0130.00316.54
7.3.210.0160.00616.61
7.3.200.0110.01116.63
7.3.190.0050.01116.42
7.3.180.0100.00716.66
7.3.170.0060.01016.38
7.3.160.0070.01416.34
7.3.110.0000.01814.84
7.3.100.0060.01014.78
7.3.90.0050.00914.77
7.3.80.0030.01514.98
7.3.70.0070.01014.85
7.3.60.0110.00414.91
7.3.50.0060.01314.71
7.3.40.0110.00614.59
7.3.30.0060.00914.60
7.3.20.0110.00414.87
7.3.10.0110.00514.85
7.3.00.0090.00614.81
7.2.330.0110.00716.79
7.2.320.0130.00316.58
7.2.310.0150.00616.86
7.2.300.0060.01316.57
7.2.290.0070.01016.91
7.2.240.0120.00614.68
7.2.230.0100.01014.98
7.2.220.0070.01415.29
7.2.210.0050.00914.71
7.2.200.0120.00915.18
7.2.190.0070.01014.98
7.2.180.0040.01015.03
7.2.170.0090.00615.23
7.2.160.0090.00614.95
7.2.150.0090.00915.35
7.2.140.0130.00615.16
7.2.130.0140.00714.93
7.2.120.0120.00915.26
7.2.110.0080.00815.14
7.2.100.0070.01014.80
7.2.90.0100.01015.11
7.2.80.0080.01115.41
7.2.70.0170.00315.08
7.2.60.0070.00915.08
7.2.50.0120.00915.29
7.2.40.0030.01315.23
7.2.30.0110.00415.23
7.2.20.0080.00815.28
7.2.10.0100.00715.11
7.2.00.0000.01715.23
7.1.330.0040.01314.06
7.1.320.0100.00314.12
7.1.310.0050.01014.14
7.1.300.0030.01114.01
7.1.290.0060.00914.07
7.1.280.0110.00413.93
7.1.270.0030.01013.82
7.1.260.0070.00713.88
7.1.250.0070.00713.82

preferences:
34.65 ms | 400 KiB | 5 Q