3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pattern= '# \w*?[aeiou]{2}\w*? #'; $string = "There’s a lion loose in the Maister park"; $matches= array(); preg_match_all($pattern, $string, $matches); foreach($matches as $value) print($value) ?>

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.0040.01118.64
8.3.60.0120.00616.75
8.3.50.0170.00318.19
8.3.40.0070.00718.71
8.3.30.0070.00718.88
8.3.20.0030.00520.39
8.3.10.0000.00823.62
8.3.00.0080.00023.48
8.2.180.0090.00616.75
8.2.170.0110.00422.96
8.2.160.0090.00522.09
8.2.150.0050.00224.18
8.2.140.0040.00424.66
8.2.130.0090.00922.20
8.2.120.0000.00826.35
8.2.110.0030.00721.10
8.2.100.0030.00918.03
8.2.90.0000.00818.22
8.2.80.0060.00320.48
8.2.70.0040.00417.88
8.2.60.0080.00017.75
8.2.50.0000.00817.88
8.2.40.0000.00820.45
8.2.30.0040.00421.08
8.2.20.0030.00518.06
8.2.10.0050.00318.00
8.2.00.0030.00318.06
8.1.280.0080.00825.92
8.1.270.0000.00822.02
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.14
8.1.230.0080.00420.89
8.1.220.0030.00517.74
8.1.210.0040.00418.92
8.1.200.0110.00017.35
8.1.190.0030.00517.48
8.1.180.0040.00418.10
8.1.170.0000.00818.71
8.1.160.0050.00218.98
8.1.150.0110.00020.61
8.1.140.0050.00217.77
8.1.130.0000.00718.96
8.1.120.0080.00317.50
8.1.110.0050.00317.63
8.1.100.0000.00817.49
8.1.90.0040.00417.58
8.1.80.0030.00517.64
8.1.70.0030.00617.60
8.1.60.0040.00417.70
8.1.50.0000.00817.55
8.1.40.0030.00617.67
8.1.30.0040.00417.78
8.1.20.0040.00417.80
8.1.10.0000.00717.64
8.1.00.0000.00817.56
8.0.300.0040.00420.16
8.0.290.0040.00416.75
8.0.280.0050.00318.32
8.0.270.0040.00416.96
8.0.260.0000.00718.98
8.0.250.0030.00317.09
8.0.240.0000.00717.19
8.0.230.0040.00417.14
8.0.220.0030.00317.01
8.0.210.0070.00016.98
8.0.200.0070.00016.98
8.0.190.0080.00017.11
8.0.180.0000.00917.11
8.0.170.0040.00417.11
8.0.160.0040.00417.09
8.0.150.0040.00417.02
8.0.140.0040.00417.10
8.0.130.0050.00013.52
8.0.120.0040.00417.11
8.0.110.0000.00716.93
8.0.100.0040.00416.99
8.0.90.0030.00617.15
8.0.80.0040.01117.04
8.0.70.0040.00416.97
8.0.60.0080.00016.98
8.0.50.0000.00717.03
8.0.30.0120.00617.19
8.0.20.0090.01317.42
8.0.10.0070.00017.27
8.0.00.0090.00917.20
7.4.330.0020.00216.85
7.4.320.0070.00016.69
7.4.300.0060.00016.71
7.4.290.0000.00716.71
7.4.280.0040.00416.68
7.4.270.0000.00716.80
7.4.260.0000.00716.71
7.4.250.0040.00416.77
7.4.240.0030.00316.80
7.4.230.0000.00716.59
7.4.220.0290.00316.72
7.4.210.0080.00816.79
7.4.200.0070.00016.77
7.4.160.0060.01016.61
7.4.150.0170.00017.40
7.4.140.0080.01417.86
7.4.130.0060.00916.57
7.4.120.0090.00916.73
7.4.110.0030.01716.58
7.4.100.0060.01116.80
7.4.90.0060.01316.80
7.4.80.0130.01019.39
7.4.70.0060.01216.59
7.4.60.0070.01016.50
7.4.50.0090.00916.62
7.4.40.0070.01016.65
7.4.30.0160.00416.75
7.4.00.0120.00315.39
7.3.330.0000.00513.34
7.3.320.0000.00513.46
7.3.310.0000.00616.43
7.3.300.0030.00316.52
7.3.290.0000.00616.50
7.3.280.0040.01316.48
7.3.270.0120.00617.40
7.3.260.0080.01016.52
7.3.250.0080.01316.52
7.3.240.0080.00916.54
7.3.230.0180.00016.54
7.3.210.0150.00316.43
7.3.200.0060.01016.59
7.3.190.0070.01016.93
7.3.180.0000.01816.81
7.3.170.0100.01016.44
7.3.160.0060.01016.47
7.2.330.0130.01016.75
7.2.320.0090.00916.70
7.2.310.0060.01016.63
7.2.300.0200.00316.70
7.2.290.0060.01516.68
7.2.60.0100.00716.96
7.1.200.0060.00615.77
7.1.110.0550.00716.68
7.1.100.0580.01016.26
7.1.90.0750.01016.30
7.1.80.0500.01016.52
7.1.70.0660.00315.63
7.1.60.0830.02233.26
7.1.50.0640.01033.15
7.1.40.0570.01332.86
7.1.30.0720.02532.78
7.1.20.0990.01033.07
7.1.10.0220.01615.08
7.1.00.0430.00415.29
7.0.250.0620.00016.10
7.0.240.0350.01215.91
7.0.230.0670.00916.07
7.0.220.0600.00715.87
7.0.210.0460.01014.87
7.0.200.0990.01614.79
7.0.190.1100.00715.06
7.0.180.0980.00714.71
7.0.170.0610.01414.76
7.0.160.0340.01214.33
7.0.150.0490.01314.56
7.0.140.0640.00714.75
7.0.130.0870.01314.71
7.0.120.0130.00614.98
7.0.110.0420.01014.63
7.0.100.0450.01314.68
7.0.90.0600.00314.66
7.0.80.0450.01014.79
7.0.70.0510.00714.64
7.0.60.0500.01114.61
7.0.50.0420.01214.72
7.0.40.0510.00714.79
7.0.30.0240.00715.08
7.0.20.0320.00614.80
7.0.10.0360.00714.73
7.0.00.0630.02214.97

preferences:
49.01 ms | 400 KiB | 5 Q