3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = "2008-2013"; $year = "2008"; $shite = "-2013"; $regex = "/(\d{4}-\d{4})/is"; $matches = array(); preg_match($regex, $range, $matches); preg_match($regex, $year, $matches); preg_match($regex, $shite, $matches); print_r($matches); ?>

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.0040.01118.23
8.3.50.0230.00621.21
8.3.40.0140.00418.80
8.3.30.0080.00520.36
8.3.20.0050.00320.34
8.3.10.0080.00021.98
8.3.00.0050.00222.34
8.2.180.0040.01116.88
8.2.170.0100.00322.96
8.2.160.0110.00422.29
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0150.00426.16
8.2.120.0000.00721.25
8.2.110.0030.00720.44
8.2.100.0040.00719.57
8.2.90.0040.00417.88
8.2.80.0080.00418.91
8.2.70.0030.00617.63
8.2.60.0050.00317.75
8.2.50.0060.00317.92
8.2.40.0050.00219.05
8.2.30.0000.01018.10
8.2.20.0000.00717.74
8.2.10.0040.00417.64
8.2.00.0000.01017.64
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.91
8.1.230.0070.00421.03
8.1.220.0000.00817.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0000.00817.62
8.1.160.0000.00822.08
8.1.150.0040.00418.76
8.1.140.0070.00017.59
8.1.130.0070.00017.79
8.1.120.0000.00717.46
8.1.110.0040.00417.54
8.1.100.0030.00517.46
8.1.90.0050.00317.57
8.1.80.0040.00417.40
8.1.70.0030.00317.44
8.1.60.0000.00817.57
8.1.50.0000.00817.60
8.1.40.0080.00017.49
8.1.30.0000.00817.73
8.1.20.0060.00317.73
8.1.10.0030.00617.63
8.1.00.0060.00317.57
8.0.300.0080.00018.77
8.0.290.0050.00316.88
8.0.280.0030.00318.45
8.0.270.0000.00717.21
8.0.260.0000.00716.96
8.0.250.0000.00817.07
8.0.240.0060.00316.95
8.0.230.0050.00317.05
8.0.220.0030.00316.96
8.0.210.0000.00817.00
8.0.200.0000.00617.02
8.0.190.0040.00416.90
8.0.180.0040.00417.05
8.0.170.0040.00416.89
8.0.160.0000.00716.84
8.0.150.0030.00316.96
8.0.140.0000.00916.83
8.0.130.0030.00313.27
8.0.120.0000.00916.82
8.0.110.0000.00816.91
8.0.100.0070.00016.85
8.0.90.0000.00716.97
8.0.80.0090.00616.91
8.0.70.0000.00716.96
8.0.60.0040.00416.91
8.0.50.0030.00516.92
8.0.30.0110.01017.34
8.0.20.0100.00917.40
8.0.10.0040.00417.08
8.0.00.0140.00517.02
7.4.330.0030.00315.00
7.4.320.0030.00316.73
7.4.300.0030.00316.65
7.4.290.0080.00016.66
7.4.280.0050.00316.66
7.4.270.0030.00316.66
7.4.260.0030.00313.31
7.4.250.0000.00716.60
7.4.240.0040.00316.58
7.4.230.0070.00016.63
7.4.220.0140.00616.76
7.4.210.0040.01116.77
7.4.200.0030.00316.77
7.4.190.0040.00416.85
7.4.160.0000.01616.57
7.4.150.0110.00717.40
7.4.140.0120.00917.86
7.4.130.0160.00316.53
7.4.120.0090.00916.66
7.4.110.0130.00316.45
7.4.100.0050.01316.44
7.4.90.0090.01516.68
7.4.80.0130.00819.39
7.4.70.0070.01016.49
7.4.60.0120.00616.64
7.4.50.0050.00316.66
7.4.40.0100.00522.77
7.4.30.0040.01816.66
7.4.00.0030.01414.90
7.3.330.0050.00013.21
7.3.320.0050.00013.20
7.3.310.0000.00716.23
7.3.300.0030.00316.28
7.3.290.0000.01316.28
7.3.280.0110.00816.29
7.3.270.0140.00317.40
7.3.260.0070.01416.64
7.3.250.0120.00516.33
7.3.240.0030.01516.66
7.3.230.0090.00916.52
7.3.210.0030.01316.50
7.3.200.0160.00619.39
7.3.190.0090.01216.42
7.3.180.0150.00616.53
7.3.170.0030.01316.28
7.3.160.0030.01216.67
7.3.120.0100.00715.08
7.3.10.0080.00816.67
7.3.00.0060.00616.89
7.2.330.0100.00916.53
7.2.320.0120.01216.61
7.2.310.0030.01516.37
7.2.300.0080.01016.74
7.2.290.0030.01316.53
7.2.130.0060.01216.58
7.2.120.0110.00416.79
7.2.110.0110.00416.81
7.2.100.0040.00417.04
7.2.90.0120.00316.77
7.2.80.0110.00016.89
7.2.70.0100.00317.05
7.2.60.0060.00916.63
7.2.50.0100.00316.80
7.2.40.0070.00716.98
7.2.30.0050.00917.08
7.2.20.0000.01416.88
7.2.10.0150.00316.75
7.2.00.0070.00716.99
7.1.250.0120.00015.92
7.1.70.0050.00317.30
7.1.60.0080.00319.32
7.1.50.0140.00717.07
7.1.00.0130.06022.32
7.0.200.0030.00516.92
7.0.140.0000.07722.19
7.0.70.0070.08321.80
7.0.60.0070.08021.72
7.0.50.0030.08322.11
7.0.40.0130.05019.95
7.0.30.0100.08319.96
7.0.20.0070.08720.16
7.0.10.0100.07320.04
7.0.00.0030.04020.09
5.6.280.0030.07320.98
5.6.220.0000.07720.52
5.6.210.0000.08020.60
5.6.200.0000.08021.02
5.6.190.0070.07720.95
5.6.180.0070.07321.10
5.6.170.0070.06020.89
5.6.160.0070.08321.04
5.6.150.0070.06021.01
5.6.140.0000.04321.06
5.6.130.0100.07721.07
5.6.120.0070.05721.00
5.6.110.0100.08021.02
5.6.100.0000.08021.04
5.6.90.0030.08320.98
5.6.80.0100.07320.54
5.6.70.0070.08020.47
5.6.60.0030.07720.36
5.6.50.0070.05320.32
5.6.40.0000.08020.43
5.6.30.0000.08320.52
5.6.20.0100.05020.29
5.6.10.0030.07020.30
5.6.00.0070.06720.32
5.5.360.0000.08020.33
5.5.350.0100.08020.45
5.5.340.0030.06320.92
5.5.330.0030.07020.82
5.5.320.0030.08320.83
5.5.310.0030.05720.85
5.5.300.0030.05020.75
5.5.290.0030.06320.77
5.5.280.0070.08320.76
5.5.270.0070.08320.75
5.5.260.0070.07720.88
5.5.250.0000.05320.59
5.5.240.0070.07720.23
5.5.230.0070.08020.23
5.5.220.0100.07020.29
5.5.210.0030.07020.20
5.5.200.0100.07720.25
5.5.190.0070.07020.10
5.5.180.0030.05320.10
5.5.160.0000.07720.13
5.5.150.0130.06719.98
5.5.140.0000.07020.23
5.5.130.0000.08020.25
5.5.120.0030.05320.17
5.5.110.0100.07320.11
5.5.100.0030.08319.92
5.5.90.0100.07320.03
5.5.80.0070.08020.05
5.5.70.0030.06020.05
5.5.60.0100.07719.93
5.5.50.0070.07720.11
5.5.40.0030.07320.07
5.5.30.0030.07720.07
5.5.20.0030.06020.03
5.5.10.0000.08320.11
5.5.00.0030.07319.99
5.4.450.0070.07319.36
5.4.440.0070.08019.47
5.4.430.0030.05319.35
5.4.420.0030.08019.22
5.4.410.0100.07019.26
5.4.400.0030.05319.04
5.4.390.0100.04718.96
5.4.380.0030.07318.96
5.4.370.0070.07318.79
5.4.360.0000.08019.05
5.4.350.0000.06019.06
5.4.340.0070.08018.94
5.4.320.0000.07718.81
5.4.310.0100.06319.04
5.4.300.0170.06319.02
5.4.290.0000.07718.96
5.4.280.0030.07319.04
5.4.270.0100.06719.09
5.4.260.0030.07719.04
5.4.250.0000.08019.12
5.4.240.0130.05019.02
5.4.230.0070.07319.11
5.4.220.0070.06319.04
5.4.210.0000.04718.89
5.4.200.0000.08318.97
5.4.190.0130.07018.80
5.4.180.0070.07319.11
5.4.170.0000.08319.13
5.4.160.0030.08019.02
5.4.150.0070.07719.12
5.4.140.0100.07016.07
5.4.130.0070.06716.05
5.4.120.0030.07016.38
5.4.110.0070.03316.38
5.4.100.0030.07016.27
5.4.90.0100.06716.26
5.4.80.0070.07316.32
5.4.70.0030.07716.29
5.4.60.0070.03716.19
5.4.50.0030.07316.42
5.4.40.0000.07716.36
5.4.30.0070.03716.35
5.4.20.0030.06716.36
5.4.10.0030.05016.31
5.4.00.0030.07715.86
5.3.290.0000.06714.52
5.3.280.0070.07314.50
5.3.270.0070.05314.54
5.3.260.0070.05314.54
5.3.250.0030.07014.59
5.3.240.0070.07014.47
5.3.230.0000.07014.52
5.3.220.0030.05014.56
5.3.210.0000.04014.43
5.3.200.0070.07714.56
5.3.190.0000.08014.53
5.3.180.0030.07714.42
5.3.170.0030.07714.42
5.3.160.0030.08014.38
5.3.150.0000.07314.54
5.3.140.0030.07714.56
5.3.130.0100.07714.54
5.3.120.0000.08014.55
5.3.110.0030.08314.50
5.3.100.0030.03313.99
5.3.90.0070.06313.85
5.3.80.0070.06013.87
5.3.70.0030.04014.00
5.3.60.0200.06713.86
5.3.50.0130.07013.85
5.3.40.0070.05713.80
5.3.30.0070.04713.92
5.3.20.0070.06313.59
5.3.10.0070.06313.51
5.3.00.0030.06313.54
5.2.170.0070.06012.43
5.2.160.0030.04712.43
5.2.150.0030.06012.43
5.2.140.0030.06712.43
5.2.130.0070.06012.43
5.2.120.0000.04712.43
5.2.110.0030.05712.43
5.2.100.0100.05712.43
5.2.90.0030.05012.43
5.2.80.0000.06312.43
5.2.70.0030.06012.43
5.2.60.0030.05712.43
5.2.50.0000.06712.43
5.2.40.0000.06312.43
5.2.30.0070.05012.43
5.2.20.0000.06712.43
5.2.10.0030.05712.43
5.2.00.0000.06712.43
5.1.60.0000.05712.43
5.1.50.0130.04312.43
5.1.40.0100.04312.43
5.1.30.0070.04012.43
5.1.20.0030.04712.43
5.1.10.0030.05012.43
5.1.00.0030.05312.43
5.0.50.0000.04712.43
5.0.40.0070.03012.43
5.0.30.0070.05012.43
5.0.20.0000.04712.43
5.0.10.0000.04712.43
5.0.00.0070.06012.43
4.4.90.0030.03312.43
4.4.80.0000.03712.43
4.4.70.0030.03312.43
4.4.60.0030.02712.43
4.4.50.0000.02712.43
4.4.40.0030.05312.43
4.4.30.0000.04012.43
4.4.20.0030.02012.43
4.4.10.0000.03712.43
4.4.00.0000.05712.43
4.3.110.0000.03012.43
4.3.100.0070.01712.43
4.3.90.0000.03712.43
4.3.80.0000.05312.43
4.3.70.0070.02312.43
4.3.60.0030.03312.43
4.3.50.0000.03312.43
4.3.40.0000.04312.43
4.3.30.0030.03312.43
4.3.20.0000.03712.43
4.3.10.0070.03012.43
4.3.00.0030.03312.43

preferences:
68.33 ms | 401 KiB | 5 Q