3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '/(?:\[\[delay-\d+]])?[\w \\\\,?!.@#$%^&*()|`[\]~\-=\'\"{}]+?(?=\[\[delay-\d+]]|$)/'; $str = 'Welcome! [[delay-2]]Do you have some questions fo[r us?[[delay-1]] Please fill input field!'; preg_match_all($re, $str, $matches); print_r($matches[0]);

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.10.0110.00716.90
8.5.00.0120.01120.22
8.4.160.0140.00823.79
8.4.150.0020.00014.05
8.4.140.0150.01017.70
8.4.130.0080.00217.91
8.4.120.0110.00920.75
8.4.110.0150.00518.80
8.4.100.0100.00617.89
8.4.90.0120.00922.44
8.4.80.0100.01017.86
8.4.70.0030.00618.31
8.4.60.0120.00518.71
8.4.50.0120.00822.39
8.4.40.0100.01019.66
8.4.30.0070.01020.60
8.4.20.0110.00720.40
8.4.10.0070.00317.94
8.3.280.0120.00818.69
8.3.270.0100.01016.34
8.3.260.0050.00416.48
8.3.250.0050.00418.86
8.3.240.0130.00716.56
8.3.230.0120.00616.39
8.3.220.0130.00517.08
8.3.210.0130.00616.73
8.3.200.0050.00616.66
8.3.190.0060.00317.12
8.3.180.0110.00818.48
8.3.170.0150.00317.22
8.3.160.0060.00318.60
8.3.150.0120.00616.79
8.3.140.0160.00317.04
8.3.130.0140.00718.41
8.3.120.0050.00320.87
8.3.110.0000.00920.94
8.3.100.0130.00618.51
8.3.90.0040.01126.77
8.3.80.0080.00418.43
8.3.70.0110.01116.63
8.3.60.0070.01118.55
8.3.50.0280.00822.12
8.3.40.0120.00318.84
8.3.30.0090.00618.67
8.3.20.0080.00021.64
8.3.10.0000.00720.34
8.3.00.0040.00423.61
8.2.290.0110.00820.34
8.2.280.0040.00618.86
8.2.270.0070.01117.29
8.2.260.0030.00516.88
8.2.250.0090.00918.45
8.2.240.0080.00019.36
8.2.230.0140.00722.58
8.2.220.0060.01324.06
8.2.210.0080.00026.77
8.2.200.0070.00318.38
8.2.190.0070.01416.88
8.2.180.0190.00025.92
8.2.170.0060.01519.03
8.2.160.0090.00922.96
8.2.150.0090.00924.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00020.97
8.2.110.0150.00320.29
8.2.100.0100.00317.91
8.2.90.0050.00318.16
8.2.80.0030.00517.97
8.2.70.0000.00818.05
8.2.60.0000.00918.16
8.2.50.0080.00018.10
8.2.40.0000.00719.51
8.2.30.0070.00019.27
8.2.20.0050.00517.95
8.2.10.0050.00319.08
8.2.00.0050.00319.13
8.1.330.0140.00621.88
8.1.320.0070.01116.65
8.1.310.0150.00018.44
8.1.300.0160.00320.09
8.1.290.0100.00030.84
8.1.280.0190.00325.92
8.1.270.0000.00822.52
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0000.00922.21
8.1.230.0080.00422.08
8.1.220.0000.00817.74
8.1.210.0040.00418.85
8.1.200.0000.00817.48
8.1.190.0000.00917.23
8.1.180.0000.00818.10
8.1.170.0000.00818.69
8.1.160.0030.00418.81
8.1.150.0070.00018.84
8.1.140.0070.00020.82
8.1.130.0040.00417.54
8.1.120.0000.00717.54
8.1.110.0070.00417.56
8.1.100.0030.00517.59
8.1.90.0000.00817.43
8.1.80.0030.00517.50
8.1.70.0070.00017.56
8.1.60.0030.00617.69
8.1.50.0040.00417.52
8.1.40.0040.00417.58
8.1.30.0000.00917.76
8.1.20.0060.00317.70
8.1.10.0000.00817.68
8.1.00.0040.00417.70
8.0.300.0000.00719.98
8.0.290.0030.00716.63
8.0.280.0050.00318.30
8.0.270.0000.00817.17
8.0.260.0040.00416.82
8.0.250.0030.00517.07
8.0.240.0000.00917.02
8.0.230.0000.00716.93
8.0.220.0000.00716.95
8.0.210.0040.00316.96
8.0.200.0040.00417.01
8.0.190.0080.00016.99
8.0.180.0000.00716.97
8.0.170.0030.00616.96
8.0.160.0070.00017.09
8.0.150.0050.00216.92
8.0.140.0000.00816.98
8.0.130.0030.00313.44
8.0.120.0000.00816.98
8.0.110.0040.00416.88
8.0.100.0040.00416.93
8.0.90.0030.00616.99
8.0.80.0040.01216.92
8.0.70.0000.00717.04
8.0.60.0040.00416.77
8.0.50.0000.00916.84
8.0.30.0090.00917.23
8.0.20.0090.00917.09
8.0.10.0050.00217.00
8.0.00.0120.00616.90
7.4.330.0050.00015.55
7.4.320.0000.00716.65
7.4.300.0080.00016.82
7.4.290.0000.00716.74
7.4.280.0040.00416.75
7.4.270.0070.00016.61
7.4.260.0080.00016.52
7.4.250.0000.00916.63
7.4.240.0000.00716.60
7.4.230.0030.00316.65
7.4.220.0030.00316.78
7.4.210.0060.00816.78
7.4.200.0000.00716.69
7.4.130.0070.01016.50
7.4.120.0120.00616.68
7.4.110.0090.00916.80
7.4.100.0070.01016.57
7.4.90.0040.01716.76
7.4.80.0140.00319.39
7.4.70.0100.00616.66
7.4.60.0130.00316.69
7.4.50.0070.01016.56
7.4.40.0070.01016.44
7.4.00.0060.00914.95
7.3.330.0050.00013.27
7.3.320.0060.00013.18
7.3.310.0000.00716.42
7.3.300.0030.00316.26
7.3.290.0040.00416.37
7.3.280.0110.01116.46
7.3.260.0150.01016.53
7.3.230.0150.00916.61
7.3.210.0030.01316.36
7.3.200.0070.01516.49
7.3.190.0130.00316.42
7.3.180.0090.01416.72
7.3.170.0190.00316.82
7.3.160.0060.00916.63
7.3.70.0160.00014.89
7.3.60.0050.00814.61
7.3.50.0080.00814.76
7.3.40.0050.00714.75
7.3.30.0030.01314.88
7.3.20.0280.00314.83
7.3.10.0240.00314.79
7.3.00.0160.00614.72
7.2.330.0100.01316.56
7.2.320.0070.01116.82
7.2.310.0130.00316.70
7.2.300.0080.00816.68
7.2.290.0100.00916.64
7.2.200.0120.00515.01
7.2.190.0000.01115.03
7.2.180.0120.00515.04
7.2.170.0030.00914.83
7.2.160.0000.01215.02
7.2.150.0190.00615.31
7.2.140.0220.00915.02
7.2.130.0200.00615.00
7.2.120.0140.00615.09
7.2.110.0160.00615.06
7.2.100.0160.00615.13
7.2.90.0140.01115.25
7.2.80.0180.00415.07
7.2.70.0130.00715.18
7.2.60.0890.00314.86
7.2.50.0210.01015.11
7.2.40.0140.01115.14
7.2.30.0160.01214.95
7.2.20.0160.01015.17
7.2.10.0210.00415.18
7.2.00.0180.00414.90
7.1.300.0160.00914.21
7.1.290.0160.00614.04
7.1.280.0130.00614.14
7.1.270.0120.01213.78
7.1.260.0140.00713.89
7.1.250.0170.00714.23

preferences:
35.74 ms | 403 KiB | 5 Q