3v4l.org

run code in 500+ PHP versions simultaneously
<?php $array = [ 'Nartinez', 'Drantch', 'Dratch', 'Xtmnprwq', 'Yelendez', 'Boldberg', 'Yelenovich', 'Allash', 'Mohamed', 'Li', ]; $regex = <<<REGEX / ^ (?![aeiou]{3,}) (?: \D(?![^aeiou]{5,}[aeiou]*) (?![aeiou]{4,}) ){2,} $ /ix REGEX; var_export(preg_grep($regex, $array));

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.5.90.0050.00416.87
8.5.80.0050.00416.86
8.5.70.0040.00416.68
8.5.60.0110.00716.79
8.5.50.0080.00716.55
8.5.30.0140.00321.35
8.5.20.0090.00820.14
8.5.10.0080.01116.95
8.5.00.0120.00920.11
8.4.240.0150.01119.81
8.4.230.0130.01021.39
8.4.220.0100.00719.73
8.4.210.0040.00621.54
8.4.180.0170.00621.98
8.4.170.0090.01323.95
8.4.160.0150.00820.68
8.4.150.0080.00516.82
8.4.140.0170.00517.59
8.4.130.0090.01218.14
8.4.120.0120.00820.52
8.4.110.0110.00918.91
8.4.100.0140.00717.71
8.4.90.0100.01117.88
8.4.80.0080.01122.36
8.4.70.0100.01017.71
8.4.60.0130.00918.76
8.4.50.0100.01018.72
8.4.40.0110.00917.61
8.4.30.0080.00818.69
8.4.20.0100.00019.95
8.4.10.0190.00019.59
8.3.330.0020.00818.60
8.3.320.0060.01418.68
8.3.310.0090.01018.55
8.3.300.0090.01120.91
8.3.290.0080.00320.88
8.3.280.0160.00818.48
8.3.270.0120.00716.52
8.3.260.0130.00716.77
8.3.250.0120.00618.79
8.3.240.0090.01116.90
8.3.230.0090.01116.75
8.3.220.0090.00917.05
8.3.210.0090.01016.72
8.3.200.0050.00316.86
8.3.190.0130.00617.13
8.3.180.0040.01616.98
8.3.170.0080.00020.53
8.3.160.0060.00917.05
8.3.150.0000.00719.03
8.3.140.0090.00616.99
8.3.130.0060.00318.20
8.3.120.0080.00018.71
8.3.110.0080.00020.94
8.3.100.0000.00924.06
8.3.90.0080.00026.77
8.3.80.0000.00917.97
8.3.70.0120.00316.50
8.3.60.0080.00816.69
8.3.50.0030.01218.55
8.3.40.0090.00923.84
8.3.30.0250.01122.96
8.3.20.0130.00722.96
8.3.10.0070.01122.96
8.3.00.0160.01022.96
8.2.320.0100.00918.26
8.2.310.0120.00818.18
8.2.300.0060.00320.32
8.2.290.0110.00920.79
8.2.280.0050.00318.27
8.2.270.0160.00320.81
8.2.260.0000.00816.68
8.2.250.0080.00016.63
8.2.240.0030.00517.37
8.2.230.0140.00022.58
8.2.220.0060.00337.54
8.2.210.0070.01126.77
8.2.200.0060.00316.50
8.2.190.0060.00916.58
8.2.180.0040.01116.50
8.2.170.0090.00622.96
8.2.160.0280.00322.96
8.2.150.0130.00922.96
8.2.140.0060.00922.96
8.2.130.0040.01122.96
8.2.120.0030.01322.96
8.2.110.0100.00722.96
8.2.100.0110.00722.96
8.2.90.0260.01022.96
8.2.80.0150.00922.96
8.2.70.0170.01022.96
8.2.60.0210.00422.96
8.2.50.0190.00422.96
8.2.40.0200.00322.96
8.2.30.0170.00722.96
8.2.20.0130.00722.96
8.2.10.0160.00622.96
8.2.00.0160.00722.96
8.1.340.0100.01317.73
8.1.330.0060.01216.75
8.1.320.0120.00716.44
8.1.310.0000.00816.25
8.1.300.0100.00718.46
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0090.00622.96
8.1.260.0160.00622.96
8.1.250.0090.00622.96
8.1.240.0200.01022.96
8.1.230.0140.01122.96
8.1.220.0150.00622.96
8.1.210.0220.00622.96
8.1.200.0230.00322.96
8.1.190.0180.01122.96
8.1.180.0230.00822.96
8.1.170.0170.00722.96
8.1.160.0180.00722.96
8.1.150.0130.01022.96
8.1.140.0140.00922.96
8.1.130.0190.00622.96
8.1.120.0160.01022.96
8.1.110.0190.01322.96
8.1.100.0120.00922.96
8.1.90.0180.00722.96
8.1.80.0230.00422.96
8.1.70.0090.01222.96
8.1.60.0170.01422.96
8.1.50.0170.01022.96
8.1.40.0170.01722.96
8.1.30.0280.00022.96
8.1.20.0190.01322.96
8.1.10.0220.00622.96
8.1.00.0200.00922.96

preferences:
91.64 ms | 1049 KiB | 5 Q