3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dates = array ('24-12-2013', '25-12-2013', '26-12-2014', '27-12-2013'); $start = strtotime('25-12-2013'); $end = strtotime('26-12-2013'); $inDateRange = count( array_filter( $dates, function($value) use($start, $end) { $value = strtotime($value); return ($value >= $start && $value <= $end); } ) );

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.01416.50
8.3.50.0100.01222.19
8.3.40.0070.01418.96
8.3.30.0090.00618.93
8.3.20.0000.00820.29
8.3.10.0080.00023.65
8.3.00.0080.00019.79
8.2.180.0130.00718.29
8.2.170.0060.01222.96
8.2.160.0130.00320.39
8.2.150.0050.00324.18
8.2.140.0000.00724.66
8.2.130.0040.00421.00
8.2.120.0070.00026.16
8.2.110.0080.00022.25
8.2.100.0090.00617.93
8.2.90.0030.00519.17
8.2.80.0040.00417.97
8.2.70.0060.00317.75
8.2.60.0040.00418.16
8.2.50.0040.00418.07
8.2.40.0030.00622.27
8.2.30.0050.00320.58
8.2.20.0060.00317.92
8.2.10.0040.00418.07
8.2.00.0000.00718.07
8.1.280.0150.00625.92
8.1.270.0030.00620.25
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0060.00323.92
8.1.230.0040.00717.76
8.1.220.0060.00317.79
8.1.210.0030.00718.77
8.1.200.0030.00617.60
8.1.190.0000.00817.38
8.1.180.0030.00818.10
8.1.170.0000.00818.71
8.1.160.0000.00720.89
8.1.150.0000.00718.84
8.1.140.0040.00419.58
8.1.130.0000.00717.79
8.1.120.0030.00317.68
8.1.110.0000.00717.51
8.1.100.0030.00517.55
8.1.90.0040.00417.68
8.1.80.0030.00617.64
8.1.70.0060.00317.61
8.1.60.0040.00417.73
8.1.50.0040.00417.57
8.1.40.0000.00817.51
8.1.30.0090.00017.69
8.1.20.0000.00917.80
8.1.10.0050.00317.61
8.1.00.0000.00717.65
8.0.300.0050.00218.77
8.0.290.0000.00717.00
8.0.280.0000.00718.52
8.0.270.0000.00717.27
8.0.260.0070.00017.24
8.0.250.0000.00717.07
8.0.240.0000.00717.19
8.0.230.0020.00517.20
8.0.220.0030.00417.04
8.0.210.0040.00417.14
8.0.200.0030.00317.06
8.0.190.0080.00017.04
8.0.180.0040.00417.05
8.0.170.0030.00517.16
8.0.160.0050.00517.15
8.0.150.0000.00816.93
8.0.140.0000.00717.09
8.0.130.0030.00313.49
8.0.120.0040.00416.95
8.0.110.0030.00617.04
8.0.100.0040.00417.08
8.0.90.0000.00717.04
8.0.80.0090.01217.03
8.0.70.0040.00417.05
8.0.60.0070.00017.04
8.0.50.0040.00417.13
8.0.30.0120.00817.09
8.0.20.0110.00817.40
8.0.10.0050.00217.16
8.0.00.0080.01116.97
7.4.330.0000.00516.66
7.4.320.0030.00316.77
7.4.300.0000.00716.70
7.4.290.0000.00716.63
7.4.280.0000.00716.73
7.4.270.0070.00016.79
7.4.260.0030.00316.54
7.4.250.0030.00316.70
7.4.240.0020.00516.70
7.4.230.0030.00316.58
7.4.220.0100.01616.82
7.4.210.0100.00816.64
7.4.200.0000.00816.62
7.4.160.0070.01016.50
7.4.150.0180.00017.40
7.4.140.0160.00817.86
7.4.130.0110.00716.60
7.4.120.0120.01116.76
7.4.110.0170.00316.74
7.4.100.0090.00916.71
7.4.90.0030.01316.73
7.4.80.0090.00919.39
7.4.70.0110.01016.55
7.4.60.0090.00916.66
7.4.50.0060.00916.61
7.4.40.0090.00616.64
7.4.30.0030.01316.89
7.4.00.0070.00714.87
7.3.330.0000.00513.25
7.3.320.0000.00513.42
7.3.310.0040.00416.33
7.3.300.0030.00316.49
7.3.290.0030.00316.45
7.3.280.0110.00816.47
7.3.270.0100.00717.40
7.3.260.0140.00316.73
7.3.250.0100.00716.50
7.3.240.0110.00516.73
7.3.230.0150.00616.62
7.3.210.0150.00316.55
7.3.200.0090.01216.69
7.3.190.0130.00316.57
7.3.180.0130.00316.60
7.3.170.0110.00716.62
7.3.160.0000.02016.73
7.2.330.0090.00916.69
7.2.320.0100.00716.81
7.2.310.0120.00316.73
7.2.300.0120.00616.95
7.2.290.0090.00916.70
7.2.00.0070.00719.54
7.1.100.0030.00618.20
7.1.70.0000.00817.34
7.1.60.0070.01719.52
7.1.50.0140.01735.00
7.1.00.0030.07722.37
7.0.200.0060.00316.63
7.0.60.0130.07720.03
7.0.50.0230.04717.88
7.0.40.0000.04720.10
7.0.30.0430.07720.10
7.0.20.0230.06720.07
7.0.10.0100.08720.08
7.0.00.0100.04720.07
5.6.280.0000.03321.12
5.6.210.0070.08320.55
5.6.200.0100.04718.29
5.6.190.0100.08020.61
5.6.180.0300.07720.61
5.6.170.0270.04320.52
5.6.160.0070.06020.50
5.6.150.0130.06718.27
5.6.140.0070.06018.28
5.6.130.0130.03318.27
5.6.120.0070.08320.98
5.6.110.0170.05721.11
5.6.100.0100.07721.11
5.6.90.0100.07720.97
5.6.80.0130.06020.29
5.5.350.4330.03720.53
5.5.340.0070.08017.98
5.5.330.0130.03020.19
5.5.320.0570.07320.38
5.5.310.0200.04720.34
5.5.300.0100.07718.03
5.5.290.0100.07717.97
5.5.280.0100.08020.89
5.5.270.0030.05020.84
5.5.260.0070.07020.96
5.5.250.0030.05320.67
5.5.240.4200.03720.15

preferences:
41.96 ms | 401 KiB | 5 Q