3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = strtotime('04-03-12'); $end = strtotime('15-06-12'); For($i = $start; $i<=$end;){ List($y, $m, $d) = explode(" ", date("Y m d", $i)); $arr[$y][$m][$d] = 1; $i += 86400; } Var_dump($arr);

Abusive script

This script was stopped while abusing our resources

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.110.0100.00720.94
8.3.100.0070.00724.06
8.3.90.0070.00726.77
8.3.80.0130.00317.97
8.3.70.0360.01818.43
8.3.60.0120.01218.55
8.3.50.0210.00917.51
8.3.40.0420.01019.18
8.3.30.0170.01018.93
8.3.20.0100.00319.39
8.3.10.0090.00622.08
8.3.00.0070.00723.62
8.2.230.0080.00822.58
8.2.220.0070.01437.54
8.2.210.0030.01026.77
8.2.200.0100.00616.75
8.2.190.0120.01816.58
8.2.180.0240.01716.72
8.2.170.0170.01022.96
8.2.160.0140.01419.45
8.2.150.0140.00024.18
8.2.140.0390.01024.66
8.2.130.0130.00026.16
8.2.120.0070.00719.66
8.2.110.0100.00721.05
8.2.100.0250.00618.22
8.2.90.0130.00019.65
8.2.80.0030.01017.97
8.2.70.0030.01018.41
8.2.60.0110.01117.80
8.2.50.0100.00318.10
8.2.40.0090.00619.71
8.2.30.0060.00619.62
8.2.20.0060.00618.46
8.2.10.0000.01319.71
8.2.00.0070.00719.78
8.1.290.0150.00030.84
8.1.280.0260.01725.92
8.1.270.0050.01022.15
8.1.260.0170.00726.35
8.1.250.0070.00728.09
8.1.240.0100.00723.61
8.1.230.0130.01021.21
8.1.220.0070.00717.80
8.1.210.0060.00619.16
8.1.200.0090.00617.85
8.1.190.0070.01017.60
8.1.180.0030.01018.10
8.1.170.0060.00619.00
8.1.160.0120.01519.21
8.1.150.0070.00719.15
8.1.140.0030.00918.08
8.1.130.0070.00719.34
8.1.120.0100.01317.91
8.1.110.0070.01017.75
8.1.100.0070.00717.77
8.1.90.0030.01017.86
8.1.80.0060.00617.81
8.1.70.0070.00717.83
8.1.60.0030.01017.92
8.1.50.0040.01117.83
8.1.40.0030.01017.73
8.1.30.0060.01017.77
8.1.20.0110.00317.99
8.1.10.0000.01717.96
8.1.00.0040.01117.88
8.0.300.0030.00919.89
8.0.290.0030.01016.88
8.0.280.0000.01218.50
8.0.270.0040.01117.10
8.0.260.0000.01117.46
8.0.250.0140.00717.14
8.0.240.0040.01117.12
8.0.230.0030.01017.03
8.0.220.0090.00917.05
8.0.210.0080.00417.16
8.0.200.0000.01217.12
8.0.190.0040.01117.27
8.0.180.0100.00317.04
8.0.170.0040.01417.20
8.0.160.0070.00717.21
8.0.150.0110.00416.99
8.0.140.0070.00717.02
8.0.130.0040.00813.57
8.0.120.0070.00717.11
8.0.110.0080.00817.21
8.0.100.0100.00316.98
8.0.90.0070.00717.04
8.0.80.0170.02517.09
8.0.70.0030.00917.14
8.0.60.0080.00817.17
8.0.50.0060.00617.06
8.0.30.0490.02717.14
8.0.20.0400.03217.52
8.0.10.0060.00617.23
8.0.00.0360.02616.99
7.4.330.0030.00715.55
7.4.320.0080.00816.67
7.4.300.0040.00816.72
7.4.290.0030.01016.59
7.4.280.0060.00916.65
7.4.270.0070.00716.76
7.4.260.0100.01316.63
7.4.250.0030.01016.72
7.4.240.0000.02016.80
7.4.230.0060.00616.54
7.4.220.0040.01216.63
7.4.210.0110.02616.64
7.4.200.0020.01116.75
7.4.160.0520.03116.75
7.4.140.0490.02917.86
7.4.130.0510.02916.70
7.4.120.0520.02716.73
7.4.110.0650.02616.85
7.4.100.0160.03516.70
7.4.90.0560.02716.70
7.4.80.0430.03519.39
7.4.70.0530.04216.81
7.4.60.0160.01916.66
7.4.50.0220.01216.69
7.4.40.0210.01816.75
7.4.00.0100.02015.18
7.3.330.0030.00713.54
7.3.320.0160.00513.45
7.3.310.0040.01116.57
7.3.300.0110.00716.29
7.3.290.0030.00916.57
7.3.280.0130.02316.48
7.3.260.0460.02916.69
7.3.240.0600.03616.64
7.3.230.0460.02516.61
7.3.210.0740.05016.51
7.3.200.0460.03216.86
7.3.190.0540.03316.54
7.3.180.0100.02916.79
7.3.170.0040.02916.78
7.3.160.0760.03516.51
7.3.10.0150.00916.68
7.3.00.0090.01616.46
7.2.330.0290.03516.77
7.2.320.0470.04917.07
7.2.310.0470.05016.69
7.2.300.0310.00616.95
7.2.290.0420.04116.70
7.2.130.0100.01717.18
7.2.120.0190.01316.79
7.2.110.0030.02116.97
7.2.100.0030.02317.05
7.2.90.0180.00717.23
7.2.80.0250.02016.04
7.2.70.1080.02416.08
7.2.60.0170.01816.27
7.2.50.0210.01516.07
7.2.40.0230.03016.11
7.2.30.0380.01916.29
7.2.20.0210.01916.28
7.2.10.0160.01816.19
7.2.00.0300.01616.00
7.1.250.0110.01415.78
7.1.200.0130.01315.69
7.1.190.0320.01614.48
7.1.180.0350.02414.23
7.1.170.0520.01814.13
7.1.160.0420.03014.09
7.1.150.0380.01914.29
7.1.140.0300.03814.11
7.1.130.0320.03514.26
7.1.120.0390.02514.31
7.1.110.0360.01514.41
7.1.100.0390.00714.42
7.1.90.0470.02714.30
7.1.80.0570.02014.32
7.1.70.0490.02814.16
7.1.60.0510.03232.12
7.1.50.0640.02732.50
7.1.40.0610.01732.44
7.1.30.0680.03332.55
7.1.20.0570.02832.32
7.1.10.0400.02714.12
7.1.00.0390.01314.17

preferences:
26.68 ms | 403 KiB | 5 Q