3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = "Je naam (verplicht) [text* your-test] Je e-mailadres (verplicht) [email* your-tester] Onderwerp [text your-testerer] Je bericht [textarea your-testererer] [area-without-attribute]"; if (preg_match_all('~\[(?:\w+\*?\s+)?([^][]+)]~', $text, $matches)) { print_r($matches[1]); }

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.4.140.0110.01017.91
8.4.130.0110.00918.93
8.4.120.0090.01224.13
8.4.110.0140.00820.52
8.4.100.0110.01018.10
8.4.90.0110.00920.38
8.4.80.0100.01018.70
8.4.70.0140.00618.02
8.4.60.0030.00618.75
8.4.50.0080.01018.60
8.4.40.0060.01417.66
8.4.30.0130.00718.59
8.4.20.0130.00622.07
8.4.10.0040.01122.58
8.3.270.0100.01016.56
8.3.260.0100.00816.64
8.3.250.0090.01118.85
8.3.240.0110.01017.18
8.3.230.0130.00616.72
8.3.220.0100.00819.10
8.3.210.0140.00516.56
8.3.200.0040.00516.64
8.3.190.0020.00617.05
8.3.180.0120.00716.86
8.3.170.0120.00620.57
8.3.160.0000.00818.54
8.3.150.0080.00020.70
8.3.140.0070.01116.84
8.3.130.0080.00016.59
8.3.120.0070.01118.87
8.3.110.0040.00420.94
8.3.100.0040.00424.06
8.3.90.0040.00426.77
8.3.80.0040.00416.50
8.3.70.0140.00716.63
8.3.60.0070.01116.63
8.3.50.0090.01024.64
8.3.40.0100.01019.18
8.3.30.0000.01418.98
8.3.20.0050.00324.18
8.3.10.0050.00324.66
8.3.00.0000.00826.16
8.2.290.0060.00416.72
8.2.280.0120.00718.41
8.2.270.0110.00717.29
8.2.260.0030.00718.72
8.2.250.0080.00018.54
8.2.240.0040.00419.09
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0050.00326.77
8.2.200.0090.00016.38
8.2.190.0070.00717.00
8.2.180.0130.00325.92
8.2.170.0070.00722.96
8.2.160.0000.01422.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0040.00421.23
8.2.110.0060.00320.33
8.2.100.0060.00618.17
8.2.90.0060.00317.97
8.2.80.0040.00417.97
8.2.70.0030.00517.93
8.2.60.0040.00418.09
8.2.50.0040.00718.10
8.2.40.0070.00020.61
8.2.30.0000.00918.15
8.2.20.0040.00418.10
8.2.10.0040.00420.99
8.2.00.0000.00719.08
8.1.330.0140.00616.17
8.1.320.0140.00516.15
8.1.310.0140.00416.95
8.1.300.0090.00018.04
8.1.290.0070.00318.88
8.1.280.0110.01125.92
8.1.270.0090.00622.00
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00620.70
8.1.230.0080.00420.85
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0070.00317.36
8.1.190.0040.00417.35
8.1.180.0070.00018.10
8.1.170.0040.00418.75
8.1.160.0050.00218.92
8.1.150.0040.00418.86
8.1.140.0000.00818.84
8.1.130.0050.00220.09
8.1.120.0050.00317.48
8.1.110.0030.00617.51
8.1.100.0000.00817.48
8.1.90.0060.00317.56
8.1.80.0000.00717.58
8.1.70.0030.00517.52
8.1.60.0030.00517.55
8.1.50.0040.00417.63
8.1.40.0090.00017.64
8.1.30.0000.00817.64
8.1.20.0060.00317.77
8.1.10.0080.00317.63
8.1.00.0040.00417.71
8.0.300.0000.00719.85
8.0.290.0000.00716.75
8.0.280.0030.00318.32
8.0.270.0000.00717.97
8.0.260.0000.00718.35
8.0.250.0000.00717.03
8.0.240.0000.00716.91
8.0.230.0070.00016.94
8.0.220.0040.00416.92
8.0.210.0030.00516.89
8.0.200.0030.00317.00
8.0.190.0040.00417.11
8.0.180.0030.00617.00
8.0.170.0060.00616.91
8.0.160.0050.00317.04
8.0.150.0040.00416.99
8.0.140.0000.00716.98
8.0.130.0000.00613.45
8.0.120.0040.00416.88
8.0.110.0040.00416.86
8.0.100.0030.00517.02
8.0.90.0030.00616.87
8.0.80.0060.01016.92
8.0.70.0040.00416.98
8.0.60.0040.00416.87
8.0.50.0050.00316.84
8.0.30.0180.00617.20
8.0.20.0130.01317.23
8.0.10.0040.00417.11
8.0.00.0120.00616.82
7.4.330.0050.00015.55
7.4.320.0000.00616.71
7.4.300.0040.00416.76
7.4.290.0000.00716.66
7.4.280.0040.00416.66
7.4.270.0050.00316.78
7.4.260.0000.00613.54
7.4.250.0040.00416.72
7.4.240.0020.00516.74
7.4.230.0000.00716.55
7.4.220.0030.00416.58
7.4.210.0100.00816.69
7.4.200.0000.00716.51
7.4.130.0050.01516.70
7.4.120.0150.00916.66
7.4.110.0120.00816.48
7.4.100.0080.00816.48
7.4.90.0070.01016.68
7.4.80.0110.00919.39
7.4.70.0090.00916.73
7.4.60.0120.01016.62
7.4.50.0120.00816.81
7.4.40.0110.00616.62
7.4.30.0070.00916.49
7.4.20.0030.01316.53
7.4.10.0050.01216.45
7.4.00.0070.01116.64
7.3.330.0030.00316.20
7.3.320.0000.00513.10
7.3.310.0000.00716.30
7.3.300.0000.00716.15
7.3.290.0090.00716.35
7.3.280.0110.00716.28
7.3.260.0120.00616.40
7.3.240.0090.00916.48
7.3.230.0140.00416.42
7.3.210.0130.00316.40
7.3.200.0100.00616.82
7.3.190.0120.01216.56
7.3.180.0070.01116.62
7.3.170.0130.00416.25
7.3.160.0140.00316.29
7.3.150.0080.00816.63
7.3.140.0130.00416.50
7.3.130.0080.00816.62
7.3.120.0100.01316.20
7.3.110.0180.00416.58
7.3.100.0060.01216.30
7.3.90.0060.01216.43
7.3.80.0050.01316.23
7.3.70.0030.01316.36
7.3.60.0080.00816.48
7.3.50.0050.01116.52
7.3.40.0050.01216.38
7.3.30.0150.00616.44
7.3.20.0080.00816.42
7.3.10.0050.01416.34
7.3.00.0120.00616.52
7.2.330.0110.00716.61
7.2.320.0100.00716.64
7.2.310.0100.01416.82
7.2.300.0130.00516.64
7.2.290.0110.00616.77
7.2.280.0030.01216.56
7.2.270.0170.00016.63
7.2.260.0120.00416.61
7.2.250.0140.00816.61
7.2.240.0030.01416.64
7.2.230.0040.01316.61
7.2.220.0060.01216.70
7.2.210.0030.01316.50
7.2.200.0100.00716.49
7.2.190.0100.00516.47
7.2.180.0100.00716.47
7.2.170.0110.01116.61
7.2.160.0130.00816.67
7.2.150.0160.00216.56
7.2.140.0030.02116.63
7.2.130.0050.01316.51
7.2.120.0070.01116.59
7.2.110.0170.00816.62
7.2.100.0190.00916.73
7.2.90.0150.00616.85
7.2.80.0160.00316.76
7.2.70.0090.01116.61
7.2.60.0540.00316.73
7.2.50.0140.01116.72
7.2.40.0110.00716.61
7.2.30.0040.01616.71
7.2.20.0090.00916.66
7.2.10.0120.00616.61
7.2.00.0090.00916.64

preferences:
29.86 ms | 403 KiB | 5 Q