3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = (new DateTime())->setTime(0,0,31)->getTimestamp(); $ts = strftime('%Y-%m-%d %H:%M:00', $now); $exists = ['jobname/' . $ts => true ]; $timeAhead = 15 * 60 + $now; $jobName = 'jobname'; for ($time = $now + 30; $time < $timeAhead; $time += 60) { $ts = strftime('%Y-%m-%d %H:%M:00', $time); if (!empty($exists[$jobName.'/' . $ts])) { // already scheduled continue; } } echo count($exists);

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.70.0130.01018.41
8.3.60.0110.01116.75
8.3.50.0100.00821.22
8.3.40.0090.00618.97
8.3.30.0080.00619.09
8.3.20.0090.00020.07
8.3.10.0000.00921.92
8.3.00.0080.00023.52
8.2.190.0120.00316.88
8.2.180.0040.01117.13
8.2.170.0140.00322.96
8.2.160.0130.00720.52
8.2.150.0000.00825.66
8.2.140.0030.00524.66
8.2.130.0070.00019.77
8.2.120.0050.00226.35
8.2.110.0080.00020.95
8.2.100.0110.00018.16
8.2.90.0000.00819.13
8.2.80.0060.00317.97
8.2.70.0040.00717.88
8.2.60.0040.00418.05
8.2.50.0060.00318.10
8.2.40.0050.00322.28
8.2.30.0050.00320.66
8.2.20.0070.00017.95
8.2.10.0040.00418.16
8.2.00.0050.00318.18
8.1.280.0100.00725.92
8.1.270.0070.00323.82
8.1.260.0030.00628.09
8.1.250.0080.00028.09
8.1.240.0100.00022.60
8.1.230.0040.01117.83
8.1.220.0000.00817.89
8.1.210.0050.00318.77
8.1.200.0070.00317.47
8.1.190.0000.00817.35
8.1.180.0030.00518.10
8.1.170.0000.00818.78
8.1.160.0040.00420.85
8.1.150.0020.00518.89
8.1.140.0050.00319.57
8.1.130.0070.00017.82
8.1.120.0040.00417.68
8.1.110.0000.00717.71
8.1.100.0040.00417.49
8.1.90.0050.00217.59
8.1.80.0000.00717.56
8.1.70.0000.00717.63
8.1.60.0060.00317.78
8.1.50.0080.00017.73
8.1.40.0060.00317.63
8.1.30.0000.00817.73
8.1.20.0090.00017.84
8.1.10.0040.00417.73
8.1.00.0040.00417.68
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0070.00018.54
8.0.270.0000.00717.40
8.0.260.0000.00717.39
8.0.250.0070.00017.13
8.0.240.0070.00017.02
8.0.230.0030.00317.21
8.0.220.0030.00517.14
8.0.210.0030.00316.97
8.0.200.0060.00316.89
8.0.190.0000.00817.18
8.0.180.0080.00017.15
8.0.170.0040.00417.20
8.0.160.0000.00817.13
8.0.150.0030.00317.00
8.0.140.0030.00817.09
8.0.130.0030.00313.36
8.0.120.0040.00417.04
8.0.110.0040.00417.00
8.0.100.0000.00717.10
8.0.90.0000.00716.96
8.0.80.0060.00917.07
8.0.70.0040.00417.15
8.0.60.0080.00017.10
8.0.50.0040.00417.13
8.0.30.0090.00817.28
8.0.20.0140.00917.42
8.0.10.0030.00317.12
8.0.00.0070.01117.08
7.4.330.0020.00316.84
7.4.320.0060.00016.74
7.4.300.0000.00716.61
7.4.290.0070.00316.61
7.4.280.0040.00416.71
7.4.270.0000.00716.76
7.4.260.0070.00016.75
7.4.250.0060.00316.73
7.4.240.0030.00316.65
7.4.230.0030.00316.86
7.4.220.0090.00916.69
7.4.210.0070.00716.59
7.4.200.0030.00316.54
7.4.160.0040.01116.65
7.4.150.0090.00917.40
7.4.140.0160.00617.86
7.4.130.0080.01216.65
7.4.120.0060.01216.69
7.4.110.0090.01416.84
7.4.100.0070.01116.73
7.4.90.0000.01716.63
7.4.80.0060.01219.39
7.4.70.0130.00316.84
7.4.60.0070.01016.71
7.4.50.0100.00316.71
7.4.40.0110.01116.63
7.4.30.0120.00316.58
7.4.00.0070.01115.07
7.3.330.0030.00313.25
7.3.320.0060.00013.29
7.3.310.0040.00416.21
7.3.300.0040.00416.32
7.3.290.0060.01116.41
7.3.280.0090.00716.49
7.3.270.0070.01017.40
7.3.260.0070.01116.52
7.3.250.0100.00916.79
7.3.240.0090.01016.70
7.3.230.0110.00616.55
7.3.210.0090.00616.72
7.3.200.0090.01319.39
7.3.190.0040.01216.80
7.3.180.0100.00616.79
7.3.170.0070.01016.45
7.3.160.0130.00316.65
7.3.120.0090.00614.95
7.3.110.0070.01115.21
7.3.100.0120.00314.75
7.3.90.0100.00714.99
7.3.80.0040.01114.86
7.3.70.0080.00814.72
7.3.60.0040.01415.03
7.3.50.0030.00614.94
7.3.40.0030.00814.65
7.3.30.0060.00614.64
7.3.20.0040.01516.82
7.3.10.0080.00416.56
7.3.00.0030.00916.78
7.2.330.0030.01616.99
7.2.320.0120.00816.89
7.2.310.0050.01816.75
7.2.300.0090.01016.84
7.2.290.0050.01116.81
7.2.250.0140.00715.30
7.2.240.0100.01015.52
7.2.230.0030.01215.02
7.2.220.0040.01215.11
7.2.210.0060.00615.28
7.2.200.0030.01615.22
7.2.190.0060.00915.29
7.2.180.0030.00915.02
7.2.170.0070.01015.09
7.2.60.0190.00816.60
7.2.50.0000.01316.96
7.1.330.0060.01016.04
7.1.320.0070.00716.06
7.1.310.0000.01315.90
7.1.300.0060.00916.00
7.1.290.0090.00615.97
7.1.280.0120.00616.00
7.1.270.0040.01115.87
7.1.260.0040.01016.13
7.1.200.0000.00815.98
7.1.100.0410.00014.12
7.1.70.0070.00017.39
7.1.60.0030.00719.20
7.1.50.0070.01617.25
7.1.00.0030.07722.45
7.0.200.0050.00317.13
7.0.100.0000.05020.01
7.0.90.0100.08319.98
7.0.80.0170.06719.98
7.0.70.0130.06019.91
7.0.60.0030.08319.86
7.0.50.0170.07720.33
7.0.40.0230.05720.09
7.0.30.0100.08320.05
7.0.20.0070.08320.08
7.0.10.0100.08719.95
7.0.00.0070.05320.18
5.6.280.0030.03321.12
5.6.250.0030.05020.69
5.6.240.0070.08320.59
5.6.230.0100.06720.68
5.6.220.0200.06720.48
5.6.210.0230.06720.68
5.6.200.0170.08021.04
5.6.190.0130.07721.08
5.6.180.0070.08320.95
5.6.170.0130.05021.00
5.6.160.0070.07321.01
5.6.150.0170.07021.05
5.6.140.0100.07721.03
5.6.130.0130.07021.02
5.6.120.0230.07020.93
5.6.110.0070.07021.08
5.6.100.0070.07321.02
5.6.90.0100.05020.93
5.6.80.0070.08320.44
5.6.70.0070.05320.48
5.6.60.0200.06720.44
5.6.50.0130.07720.47
5.6.40.0170.07320.39
5.6.30.0030.08320.40
5.6.20.0030.07720.40
5.6.10.0070.07720.48
5.6.00.0100.07320.38
5.5.380.0170.08020.56
5.5.370.0100.08720.45
5.5.360.0000.09020.50
5.5.350.0100.07720.37
5.5.340.0000.06020.80
5.5.330.0070.07320.93
5.5.320.0000.08720.64
5.5.310.0230.06320.72
5.5.300.0070.08320.86
5.5.290.0230.07020.77
5.5.280.0070.08320.91
5.5.270.0100.07320.91
5.5.260.0130.08020.79
5.5.250.0070.08320.63
5.5.240.0130.05020.02
5.5.230.0070.07720.27
5.5.220.0100.07720.20
5.5.210.0130.06320.18
5.5.200.0070.06320.13
5.5.190.0130.07020.28
5.5.180.0100.06320.19
5.5.160.0070.08320.21
5.5.150.0070.04720.26
5.5.140.0130.07020.18
5.5.130.0070.06320.25
5.5.120.0030.08320.16
5.5.110.0100.07020.22
5.5.100.0170.06320.11
5.5.90.0070.04320.04
5.5.80.0070.08720.14
5.5.70.0030.08019.95
5.5.60.0000.08720.09
5.5.50.0070.07719.93
5.5.40.0070.08019.95
5.5.30.0070.08020.09
5.5.20.0130.06720.15
5.5.10.0130.07319.97
5.5.00.0030.07320.01

preferences:
73.12 ms | 401 KiB | 5 Q