3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limited_times['Tuesday'] = "11,2,3"; $limited_times['EXPRESS'] = "5"; foreach ($limited_times as $day => $hours) { $hours_array = explode(",", $hours); if (date("l") == $day && in_array(date("H"), $hours_array)) { echo "TRUE WAS HIT!"; } }

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.0070.01118.31
8.3.50.0100.01021.26
8.3.40.0040.01119.14
8.3.30.0070.00718.79
8.3.20.0040.00420.14
8.3.10.0040.00421.76
8.3.00.0040.00419.92
8.2.180.0110.00418.18
8.2.170.0100.01019.11
8.2.160.0110.00322.96
8.2.150.0060.00325.66
8.2.140.0080.00024.66
8.2.130.0000.00826.16
8.2.120.0060.00317.75
8.2.110.0030.00722.13
8.2.100.0030.00919.61
8.2.90.0040.00419.32
8.2.80.0030.00617.97
8.2.70.0080.00017.88
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0030.00719.20
8.2.30.0040.00419.93
8.2.20.0050.00317.79
8.2.10.0040.00418.16
8.2.00.0050.00318.08
8.1.280.0150.00025.92
8.1.270.0040.00420.33
8.1.260.0070.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00022.65
8.1.230.0090.00317.48
8.1.220.0030.00617.74
8.1.210.0030.00518.77
8.1.200.0030.00617.63
8.1.190.0040.00417.48
8.1.180.0030.00518.10
8.1.170.0000.00818.69
8.1.160.0070.00022.00
8.1.150.0040.00418.88
8.1.140.0030.00517.66
8.1.130.0030.00317.75
8.1.120.0000.00817.65
8.1.110.0050.00217.64
8.1.100.0000.00717.55
8.1.90.0040.00417.65
8.1.80.0040.00417.50
8.1.70.0030.00317.57
8.1.60.0050.00517.67
8.1.50.0000.00817.60
8.1.40.0050.00317.54
8.1.30.0000.00817.56
8.1.20.0040.00417.61
8.1.10.0040.00417.47
8.1.00.0030.00617.54
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0080.00018.51
8.0.270.0030.00317.28
8.0.260.0030.00317.33
8.0.250.0000.00717.02
8.0.240.0070.00017.11
8.0.230.0050.00317.02
8.0.220.0000.00716.92
8.0.210.0040.00417.02
8.0.200.0030.00317.08
8.0.190.0070.00316.95
8.0.180.0000.00717.04
8.0.170.0040.00416.93
8.0.160.0000.00716.96
8.0.150.0070.00016.97
8.0.140.0000.00716.87
8.0.130.0000.00513.34
8.0.120.0050.00316.92
8.0.110.0040.00416.91
8.0.100.0040.00417.06
8.0.90.0000.00716.91
8.0.80.0000.01417.03
8.0.70.0040.00416.85
8.0.60.0030.00616.80
8.0.50.0040.00416.96
8.0.30.0120.00517.09
8.0.20.0110.00917.40
8.0.10.0040.00417.15
8.0.00.0100.00716.78
7.4.330.0050.00015.15
7.4.320.0000.00716.66
7.4.300.0000.00616.67
7.4.290.0030.00616.64
7.4.280.0030.00516.56
7.4.270.0040.00416.59
7.4.260.0040.00416.57
7.4.250.0000.00816.61
7.4.240.0030.00416.54
7.4.230.0070.00016.57
7.4.220.0160.00016.61
7.4.210.0120.00316.63
7.4.200.0070.00016.53
7.4.160.0060.00916.79
7.4.150.0030.01417.40
7.4.140.0100.00817.86
7.4.130.0120.00716.71
7.4.120.0130.00916.54
7.4.110.0090.00916.61
7.4.100.0100.01316.62
7.4.90.0140.00316.68
7.4.80.0070.01119.39
7.4.70.0070.01016.71
7.4.60.0030.01316.48
7.4.50.0000.00816.59
7.4.40.0060.00916.55
7.4.30.0060.01216.69
7.4.00.0060.01015.07
7.3.330.0020.00213.37
7.3.320.0050.00013.27
7.3.310.0000.00716.32
7.3.300.0000.00716.42
7.3.290.0110.00616.41
7.3.280.0090.00816.41
7.3.270.0090.01517.40
7.3.260.0120.00616.60
7.3.240.0100.00716.51
7.3.230.0130.00316.48
7.3.210.0090.00916.49
7.3.200.0100.00716.65
7.3.190.0060.01216.79
7.3.180.0100.01016.69
7.3.170.0060.00916.50
7.3.160.0030.01316.47
7.2.330.0060.01216.67
7.2.320.0120.01216.63
7.2.310.0080.00816.88
7.2.300.0080.01116.75
7.2.290.0070.01716.96
7.2.00.0040.01119.46
7.1.100.0000.01618.12
7.1.70.0060.00617.21
7.1.60.0040.01419.17
7.1.50.0070.01617.05
7.1.00.0030.07722.35
7.0.200.0040.00417.00
7.0.80.0600.07019.98
7.0.70.0400.04319.93
7.0.60.0600.07319.88
7.0.50.0500.04720.34
7.0.40.0130.04319.99
7.0.30.0100.07719.95
7.0.20.0100.09020.05
7.0.10.0100.08019.99
7.0.00.0070.08320.14
5.6.280.0030.04720.92
5.6.230.0130.07320.48
5.6.220.0100.07320.57
5.6.210.0130.07020.58
5.6.200.0070.08020.93
5.6.190.0130.05721.03
5.6.180.0130.07321.10
5.6.170.0100.07321.11
5.6.160.0200.07021.03
5.6.150.0200.06720.96
5.6.140.0130.06721.10
5.6.130.0070.08321.13
5.6.120.0030.04720.95
5.6.110.0000.04720.92
5.6.100.0070.06321.09
5.6.90.0130.05320.99
5.6.80.0070.06720.41
5.6.70.0100.07320.41
5.6.60.0030.07720.48
5.6.50.0030.07320.48
5.6.40.0030.08720.36
5.6.30.0130.07720.49
5.6.20.0030.04020.35
5.6.10.0000.04320.29
5.6.00.0030.04020.42
5.5.370.0170.06720.57
5.5.360.0070.08720.40
5.5.350.0070.05320.47
5.5.340.0030.08320.92
5.5.330.0070.08020.73
5.5.320.0070.08320.79
5.5.310.0130.07720.82
5.5.300.0100.09020.80
5.5.290.0130.08320.85
5.5.280.0100.08020.82
5.5.270.0100.08020.79
5.5.260.0030.08020.62
5.5.250.0000.08720.72
5.5.240.0030.07720.28
5.5.230.0030.04320.23
5.5.220.0100.04020.13
5.5.210.0030.04720.29
5.5.200.0030.08320.16
5.5.190.0070.07320.24
5.5.180.0000.04320.25
5.5.160.0030.06020.22
5.5.150.0070.06320.21
5.5.140.0130.07020.12
5.5.130.0100.04320.27
5.5.120.0030.04320.07
5.5.110.0100.05020.24
5.5.100.0030.08019.95
5.5.90.0200.06320.11
5.5.80.0000.06320.06
5.5.70.0130.05720.14
5.5.60.0170.06320.06
5.5.50.0030.06720.12
5.5.40.0100.07319.99
5.5.30.0070.07719.92
5.5.20.0130.07020.13
5.5.10.0070.06719.97
5.5.00.0130.05719.95
5.4.450.0130.03719.25
5.4.440.0030.05019.11
5.4.430.0130.07719.12
5.4.420.0000.05319.37
5.4.410.0100.07718.98
5.4.400.0000.04718.82
5.4.390.0030.07719.07
5.4.380.0100.07318.98
5.4.370.0000.05018.94
5.4.360.0070.05019.07
5.4.350.0070.04319.22
5.4.340.0070.03719.13
5.4.320.0130.07019.07
5.4.310.0030.06719.04
5.4.300.0170.06318.97
5.4.290.0070.05719.09
5.4.280.0030.04319.02
5.4.270.0070.04719.22
5.4.260.0130.05319.09
5.4.250.0130.07019.07
5.4.240.0130.07318.99
5.4.230.0030.04018.91
5.4.220.0130.06319.14
5.4.210.0070.07319.02
5.4.200.0070.05019.05
5.4.190.0100.07318.89
5.4.180.0130.06718.80
5.4.170.0070.07718.91
5.4.160.0030.07719.14
5.4.150.0030.05019.10
5.4.140.0070.07316.41
5.4.130.0030.05016.44
5.4.120.0070.04716.31
5.4.110.0000.07316.45
5.4.100.0030.04316.29
5.4.90.0100.07016.38
5.4.80.0000.04316.26
5.4.70.0000.07316.35
5.4.60.0130.03016.40
5.4.50.0000.04316.20
5.4.40.0170.06316.33
5.4.30.0000.06316.27
5.4.20.0170.06016.20
5.4.10.0030.06016.25
5.4.00.0070.06715.73

preferences:
55.79 ms | 401 KiB | 5 Q