3v4l.org

run code in 300+ PHP versions simultaneously
<?php $Counter = 0; $FolderTitle[$Counter] = "This is 1 example (text) with a (number)(01230_12-3)"; echo preg_match("/\(\K[-\d_]+/", $FolderTitle[$Counter], $out) ? $out[0] : 'no match';

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.130.0130.00718.44
8.4.120.0130.00724.25
8.4.110.0140.00722.49
8.4.100.0110.01118.03
8.4.90.0150.00518.09
8.4.80.0130.00719.85
8.4.70.0140.00618.02
8.4.60.0120.01019.05
8.4.50.0120.00918.18
8.4.40.0070.00318.13
8.4.30.0100.01017.78
8.4.20.0070.01419.85
8.4.10.0040.00417.92
8.3.260.0090.01416.71
8.3.250.0150.00518.77
8.3.240.0090.00316.97
8.3.230.0120.01116.61
8.3.220.0130.00616.57
8.3.210.0040.00416.46
8.3.200.0040.00516.76
8.3.190.0060.00318.79
8.3.180.0110.00916.78
8.3.170.0040.01417.04
8.3.160.0120.00618.29
8.3.150.0130.00616.99
8.3.140.0120.00316.42
8.3.130.0000.00818.34
8.3.120.0000.00919.03
8.3.110.0080.00018.35
8.3.100.0030.00716.59
8.3.90.0050.00226.77
8.3.80.0070.00318.43
8.3.70.0070.01418.52
8.3.60.0120.00318.43
8.3.50.0080.01016.62
8.3.40.0140.00018.92
8.3.30.0090.00618.96
8.3.20.0040.00421.69
8.3.10.0040.00421.73
8.3.00.0000.00721.76
8.2.290.0030.00520.65
8.2.280.0040.00418.60
8.2.270.0090.00616.75
8.2.260.0030.00618.77
8.2.250.0080.00016.94
8.2.240.0090.00016.68
8.2.230.0060.00920.94
8.2.220.0040.00424.06
8.2.210.0070.00726.77
8.2.200.0060.00317.13
8.2.190.0110.00416.75
8.2.180.0140.00418.67
8.2.170.0030.01322.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0050.00321.15
8.2.110.0030.00719.27
8.2.100.0080.00417.97
8.2.90.0050.00317.86
8.2.80.0000.00819.03
8.2.70.0030.00618.00
8.2.60.0050.00318.04
8.2.50.0000.00818.16
8.2.40.0000.00720.55
8.2.30.0000.00819.52
8.2.20.0030.00518.13
8.2.10.0060.00318.06
8.2.00.0000.00718.19
8.1.330.0120.00621.84
8.1.320.0120.00716.50
8.1.310.0040.00416.72
8.1.300.0060.00318.46
8.1.290.0030.00630.84
8.1.280.0140.00325.92
8.1.270.0050.00322.04
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0030.00620.48
8.1.230.0070.00419.04
8.1.220.0000.00817.79
8.1.210.0000.00818.77
8.1.200.0040.00417.35
8.1.190.0070.00317.22
8.1.180.0000.00818.10
8.1.170.0030.00518.74
8.1.160.0040.00418.80
8.1.150.0070.00019.00
8.1.140.0000.00717.66
8.1.130.0000.00718.95
8.1.120.0000.00717.55
8.1.110.0040.00417.43
8.1.100.0040.00417.60
8.1.90.0030.00317.51
8.1.80.0020.00517.46
8.1.70.0000.00717.46
8.1.60.0000.00917.63
8.1.50.0080.00017.49
8.1.40.0050.00317.61
8.1.30.0000.00817.74
8.1.20.0050.00317.67
8.1.10.0060.00317.59
8.1.00.0000.00817.51
8.0.300.0050.00318.84
8.0.290.0030.00616.75
8.0.280.0080.00018.33
8.0.270.0030.00517.23
8.0.260.0060.00317.18
8.0.250.0030.00317.15
8.0.240.0000.00717.12
8.0.230.0000.00717.01
8.0.220.0000.00716.98
8.0.210.0050.00217.01
8.0.200.0000.00716.88
8.0.190.0040.00417.04
8.0.180.0040.00417.04
8.0.170.0030.00616.98
8.0.160.0000.00716.86
8.0.150.0020.00516.91
8.0.140.0030.00916.90
8.0.130.0000.00513.32
8.0.120.0040.00416.96
8.0.110.0070.00017.02
8.0.100.0040.00417.01
8.0.90.0000.00816.91
8.0.80.0190.00416.95
8.0.70.0040.00316.78
8.0.60.0000.00716.76
8.0.50.0070.00016.83
8.0.30.0070.01017.24
8.0.20.0130.00717.49
8.0.10.0070.00017.05
8.0.00.0110.00817.05
7.4.330.0050.00015.55
7.4.320.0040.00416.66
7.4.300.0030.00316.79
7.4.290.0070.00016.54
7.4.280.0030.00516.62
7.4.270.0040.00416.66
7.4.260.0070.00016.63
7.4.250.0000.00916.61
7.4.240.0030.00316.69
7.4.230.0030.00316.65
7.4.220.0050.00316.82
7.4.210.0070.00716.69
7.4.200.0020.00516.58
7.4.140.0110.01117.86
7.4.130.0090.00916.48
7.4.120.0090.01016.76
7.4.110.0030.01916.64
7.4.100.0120.00916.48
7.4.90.0100.00716.69
7.4.80.0170.00719.39
7.4.70.0160.00916.68
7.4.60.0110.00716.55
7.4.50.0080.00516.63
7.4.40.0110.00516.75
7.4.00.0030.01315.13
7.3.330.0050.00013.16
7.3.320.0060.00013.32
7.3.310.0000.00716.45
7.3.300.0070.00016.47
7.3.290.0070.00016.47
7.3.280.0070.00816.45
7.3.260.0140.00716.57
7.3.240.0120.00416.62
7.3.230.0120.00616.53
7.3.210.0060.01016.43
7.3.200.0150.00016.71
7.3.190.0110.00716.46
7.3.180.0080.00816.51
7.3.170.0120.01216.30
7.3.160.0060.01116.53
7.3.120.0070.00815.07
7.3.110.0070.00715.03
7.3.100.0070.00514.92
7.3.90.0090.00815.02
7.3.80.0050.00914.98
7.3.70.0030.01114.79
7.3.60.0100.00515.00
7.3.50.0100.00615.10
7.3.40.0080.00615.00
7.3.30.0080.00714.86
7.3.20.0070.00716.94
7.3.10.0060.01016.68
7.3.00.0070.00816.90
7.2.330.0130.00516.63
7.2.320.0070.01216.43
7.2.310.0150.00316.50
7.2.300.0060.01216.77
7.2.290.0070.01016.63
7.2.250.0070.01315.40
7.2.240.0050.00815.37
7.2.230.0050.01115.00
7.2.220.0060.00815.10
7.2.210.0050.01115.09
7.2.200.0050.00715.03
7.2.190.0060.01015.15
7.2.180.0090.00415.17
7.2.170.0080.00615.07
7.2.160.0050.01015.04
7.2.150.0060.00917.19
7.2.140.0070.01117.18
7.2.130.0090.00816.99
7.2.120.0100.00716.85
7.2.110.0060.00817.00
7.2.100.0050.01017.00
7.2.90.0100.00517.18
7.2.80.0070.00916.90
7.2.70.0070.00717.16
7.2.60.0050.01017.04
7.2.50.0080.00717.22
7.2.40.0130.01017.54
7.2.30.0240.01217.48
7.2.20.0090.01217.25
7.2.10.0100.00717.38
7.2.00.0160.00917.49
7.1.330.0060.00815.89
7.1.320.0070.00615.96
7.1.310.0070.00915.98
7.1.300.0060.00815.87
7.1.290.0060.01015.91
7.1.280.0040.01115.93
7.1.270.0050.00916.03
7.1.260.0060.00815.96
7.1.250.0050.00916.01
7.1.200.0000.01116.21
7.1.160.0380.01617.11
7.1.150.0410.01417.26
7.1.140.0430.01017.21
7.1.130.0410.00917.04
7.1.120.0400.01217.06
7.1.110.0120.01516.29
7.1.100.0550.01416.50
7.1.90.0590.01216.66
7.1.80.0530.01016.38
7.1.70.0580.01315.23
7.1.60.0840.01533.45
7.1.50.0920.01633.22
7.1.40.0740.01832.96
7.1.30.0840.01532.76
7.1.20.0770.02233.03
7.1.10.0280.01114.92
7.1.00.0110.01115.29

preferences:
30.28 ms | 403 KiB | 5 Q