3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d = "mail.ru,huy"; var_dump(preg_match('/^(mail|inbox|bk|list)\.ru.*/is', $d));

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.0140.00716.63
8.3.60.0100.01016.75
8.3.50.0070.00916.53
8.3.40.0140.00718.83
8.3.30.0150.00018.76
8.3.20.0040.00418.77
8.3.10.0030.00620.71
8.3.00.0080.00019.50
8.2.180.0120.01216.38
8.2.170.0140.00022.96
8.2.160.0090.00621.20
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.08
8.2.110.0060.00321.12
8.2.100.0100.00317.78
8.2.90.0000.00920.80
8.2.80.0120.00017.76
8.2.70.0050.00317.75
8.2.60.0000.00817.93
8.2.50.0090.00018.07
8.2.40.0060.00318.09
8.2.30.0040.00417.95
8.2.20.0040.00417.80
8.2.10.0000.00817.82
8.2.00.0110.00017.75
8.1.280.0000.01525.92
8.1.270.0020.00524.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00820.65
8.1.230.0000.01120.94
8.1.220.0080.00017.74
8.1.210.0040.00418.85
8.1.200.0040.00417.35
8.1.190.0090.00017.51
8.1.180.0080.00018.10
8.1.170.0030.00618.91
8.1.160.0000.00718.84
8.1.150.0040.00418.69
8.1.140.0070.00017.45
8.1.130.0030.00317.84
8.1.120.0040.00417.45
8.1.110.0030.00417.52
8.1.100.0050.00317.55
8.1.90.0050.00217.43
8.1.80.0000.00717.50
8.1.70.0000.00717.48
8.1.60.0050.00317.56
8.1.50.0040.00417.52
8.1.40.0080.00017.64
8.1.30.0060.00317.71
8.1.20.0030.00917.67
8.1.10.0070.00017.59
8.1.00.0050.00217.53
8.0.300.0080.00019.94
8.0.290.0000.00816.75
8.0.280.0030.00318.29
8.0.270.0040.00417.21
8.0.260.0000.00616.81
8.0.250.0040.00416.94
8.0.240.0100.00016.93
8.0.230.0030.00317.09
8.0.220.0050.00316.99
8.0.210.0000.00716.93
8.0.200.0070.00017.09
8.0.190.0040.00417.06
8.0.180.0000.00816.90
8.0.170.0000.00816.99
8.0.160.0000.00716.87
8.0.150.0000.00816.82
8.0.140.0030.00516.89
8.0.130.0030.00313.32
8.0.120.0040.00416.91
8.0.110.0100.00016.86
8.0.100.0080.00016.77
8.0.90.0050.00216.84
8.0.80.0030.01716.91
8.0.70.0040.00416.95
8.0.60.0040.00416.78
8.0.50.0040.00417.00
8.0.30.0090.01017.19
8.0.20.0100.01017.13
8.0.10.0000.00716.99
8.0.00.0050.01216.97
7.4.330.0000.00513.13
7.4.320.0060.00016.72
7.4.300.0030.00316.78
7.4.290.0040.00416.79
7.4.280.0090.00016.62
7.4.270.0030.00316.66
7.4.260.0000.00613.36
7.4.250.0060.00316.50
7.4.240.0000.00716.57
7.4.230.0040.00416.82
7.4.220.0110.00816.64
7.4.210.0060.00816.72
7.4.200.0000.00816.65
7.4.190.0000.00716.59
7.4.160.0050.01016.57
7.4.150.0120.00916.75
7.4.140.0120.00516.63
7.4.130.0100.00816.60
7.4.120.0080.00916.44
7.4.110.0090.00916.66
7.4.100.0070.01116.46
7.4.90.0060.01116.60
7.4.80.0070.01016.82
7.4.70.0030.01316.58
7.4.60.0130.00616.68
7.4.50.0030.00616.39
7.4.40.0090.00616.45
7.4.30.0000.01516.30
7.4.00.0100.00615.06
7.3.330.0030.00313.02
7.3.320.0000.00613.19
7.3.310.0040.00416.38
7.3.300.0030.00316.18
7.3.290.0090.00916.24
7.3.280.0130.00516.32
7.3.270.0110.01016.25
7.3.260.0090.01316.24
7.3.250.0090.01116.35
7.3.240.0030.01316.54
7.3.230.0110.00716.27
7.3.210.0100.00616.33
7.3.200.0150.00719.39
7.3.190.0140.00316.43
7.3.180.0060.00916.71
7.3.170.0070.01416.44
7.3.160.0080.00816.51
7.3.120.0120.00614.87
7.3.10.0080.00416.37
7.3.00.0040.01116.55
7.2.330.0140.00316.36
7.2.320.0070.01616.46
7.2.310.0100.01316.61
7.2.300.0100.00716.61
7.2.290.0130.00316.61
7.2.130.0060.00916.97
7.2.120.0030.01316.90
7.2.110.0110.00417.05
7.2.100.0040.01116.85
7.2.90.0040.01217.00
7.2.80.0060.00317.03
7.2.70.0090.00616.89
7.2.60.0040.00817.00
7.2.50.0080.00417.11
7.2.40.0060.00316.71
7.2.30.0070.00716.69
7.2.20.0060.00616.76
7.2.10.0060.00616.89
7.2.00.0060.00617.98
7.1.250.0050.00515.74
7.1.100.0030.01018.51
7.1.70.0040.00417.27
7.1.60.0130.01019.40
7.1.50.0100.01616.98
7.1.00.0070.06722.59
7.0.200.0260.00414.96
7.0.140.0070.07322.18
7.0.120.0070.07722.04
7.0.60.0070.07720.02
7.0.50.0030.07017.92
7.0.40.0100.07720.11
7.0.30.0300.06720.02
7.0.20.0030.05320.05
7.0.10.0000.05020.14
7.0.00.0000.06020.18
5.6.280.0000.07721.08
5.6.210.0070.08320.50
5.6.200.0100.08318.18
5.6.190.0000.04320.41
5.6.180.0270.03720.27
5.6.170.0230.04720.38
5.6.160.0100.07320.52
5.6.150.0070.05018.18
5.6.140.0100.07718.15
5.6.130.0000.04318.21
5.6.120.0070.08721.11
5.6.110.0000.06320.95
5.6.100.0170.07721.05
5.6.90.0100.07021.01
5.6.80.0170.07020.38
5.5.350.0230.06320.47
5.5.340.0030.04317.89
5.5.330.0000.05020.25
5.5.320.0130.04720.28
5.5.310.0370.06320.07
5.5.300.0130.08017.89
5.5.290.0100.08717.93
5.5.280.0170.05020.77
5.5.270.0170.06720.86
5.5.260.0100.06020.87
5.5.250.0070.06020.60
5.5.240.0000.03720.15
5.4.450.0000.04719.49
5.4.440.0100.07719.45
5.4.430.0070.08019.32
5.4.420.0100.07019.39
5.4.410.0070.08019.35
5.4.400.0000.08019.14
5.4.390.0100.06719.16
5.4.380.0100.05319.14
5.4.370.0100.06719.00
5.4.360.0030.04019.18
5.4.350.0070.06719.18
5.4.340.0100.07319.00
5.4.320.0100.07019.00
5.4.310.0030.07719.18
5.4.300.0100.07319.17
5.4.290.0100.07719.18
5.4.280.0170.07019.08
5.4.270.0100.04018.77
5.4.260.0000.04719.11
5.4.250.0070.07319.17
5.4.240.0000.07319.19
5.4.230.0070.04718.91
5.4.220.0030.05718.88
5.4.210.0030.07719.13
5.4.200.0030.06019.07
5.4.190.0130.03019.17
5.4.180.0000.05718.99
5.4.170.0070.06018.95
5.4.160.0070.03318.94
5.4.150.0130.07019.06
5.4.140.0030.07016.26
5.4.130.0000.07016.28
5.4.120.0000.08016.21
5.4.110.0000.06016.23
5.4.100.0070.06316.25
5.4.90.0070.07016.61
5.4.80.0130.07016.39
5.4.70.0030.04316.59
5.4.60.0000.03716.30
5.4.50.0030.04716.36
5.4.40.0000.04316.38
5.4.30.0070.03016.25
5.4.20.0070.04016.25
5.4.10.0000.08016.18
5.4.00.0100.06315.79
5.3.290.0130.07014.61
5.3.280.0070.03714.68
5.3.270.0000.04014.56
5.3.260.0000.04014.55
5.3.250.0100.03014.69
5.3.240.0100.06714.57
5.3.230.0070.07014.52
5.3.220.0030.07314.54
5.3.210.0000.05714.51
5.3.200.0170.05714.54
5.3.190.0070.07314.50
5.3.180.0100.07314.54
5.3.170.0030.07314.45
5.3.160.0170.06714.49
5.3.150.0070.07714.57
5.3.140.0070.03714.57
5.3.130.0100.06714.42
5.3.120.0030.06014.44
5.3.110.0030.07014.63
5.3.100.0070.04013.96
5.3.90.0070.04013.91
5.3.80.0100.04713.90
5.3.70.0070.06713.80
5.3.60.0030.04013.82
5.3.50.0100.05013.89
5.3.40.0030.04313.92
5.3.30.0030.06013.91
5.3.20.0030.07313.70
5.3.10.0030.03313.58
5.3.00.0170.02313.65
5.2.170.0070.06711.13
5.2.160.0070.04311.04
5.2.150.0130.05011.30
5.2.140.0070.05311.08
5.2.130.0030.05310.98
5.2.120.0100.05310.98
5.2.110.0070.05710.91
5.2.100.0000.03311.09
5.2.90.0100.04011.07
5.2.80.0030.06711.02
5.2.70.0000.04310.97
5.2.60.0130.03010.97
5.2.50.0070.06010.87
5.2.40.0130.05310.82
5.2.30.0100.05010.97
5.2.20.0000.06010.91
5.2.10.0070.05710.89
5.2.00.0070.05710.79
5.1.60.0000.0509.96
5.1.50.0030.03310.00
5.1.40.0070.0509.95
5.1.30.0070.05310.32
5.1.20.0100.02010.24
5.1.10.0070.02710.14
5.1.00.0000.04310.05
5.0.50.0000.0508.50
5.0.40.0000.0338.46
5.0.30.0070.0478.14
5.0.20.0070.0308.16
5.0.10.0000.0478.21
5.0.00.0000.0508.14
4.4.90.0000.0338.14
4.4.80.0000.0178.14
4.4.70.0070.0178.14
4.4.60.0000.0408.14
4.4.50.0000.0378.14
4.4.40.0000.0408.14
4.4.30.0030.0178.14
4.4.20.0000.0278.14
4.4.10.0030.0238.14
4.4.00.0000.0408.14
4.3.110.0030.0238.14
4.3.100.0070.0238.14
4.3.90.0100.0308.14
4.3.80.0000.0278.14
4.3.70.0030.0178.14
4.3.60.0030.0138.14
4.3.50.0030.0138.14
4.3.40.0100.0278.14
4.3.30.0000.0178.14
4.3.20.0030.0138.14
4.3.10.0000.0138.14
4.3.00.0000.0138.14

preferences:
50.11 ms | 401 KiB | 5 Q