3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '<li data-type="mentionable" data-id="2">bla bla... <li data-type="mentionable" data-id="812">some test <li>bla bla </li>more text <li data-type="mentionable" data-id="282">'; preg_match_all("/data-id=\"(\d+)\"/", $str, $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.3.130.0100.00016.73
8.3.120.0120.00318.76
8.3.110.0150.00918.59
8.3.100.0200.00320.37
8.3.90.0090.00521.71
8.3.80.0120.00416.44
8.3.70.0210.00517.09
8.3.60.0190.00516.99
8.3.50.0150.00419.24
8.3.40.0150.00518.15
8.3.30.0100.00918.04
8.3.20.0150.00318.13
8.3.10.0120.00619.15
8.3.00.0110.00419.00
8.2.250.0070.01116.89
8.2.240.0100.01016.31
8.2.230.0080.00619.35
8.2.220.0110.00326.97
8.2.210.0090.00421.83
8.2.200.0090.00616.86
8.2.190.0140.00817.00
8.2.180.0180.00417.73
8.2.170.0220.00319.54
8.2.160.0170.00519.25
8.2.150.0140.00519.84
8.2.140.0140.00520.00
8.2.130.0120.00720.53
8.2.120.0150.00318.92
8.2.110.0130.00518.25
8.2.100.0150.00317.71
8.2.90.0110.00817.95
8.2.80.0130.00517.87
8.2.70.0140.00533.14
8.2.60.0140.00433.24
8.2.50.0120.00633.22
8.2.40.0130.00733.95
8.2.30.0120.00733.47
8.2.20.0130.00733.20
8.2.10.0140.00333.09
8.2.00.0110.00633.12
8.1.300.0070.00316.33
8.1.290.0100.00517.52
8.1.280.0180.00420.59
8.1.270.0140.00519.66
8.1.260.0110.00523.55
8.1.250.0110.00721.06
8.1.240.0140.00219.15
8.1.230.0120.00418.74
8.1.220.0110.00517.66
8.1.210.0100.00818.02
8.1.200.0100.00732.96
8.1.190.0100.00832.83
8.1.180.0140.00333.09
8.1.170.0130.00533.32
8.1.160.0130.00534.62
8.1.150.0110.00733.32
8.1.140.0120.00633.44
8.1.130.0110.00733.02
8.1.120.0110.00633.04
8.1.110.0110.00533.00
8.1.100.0150.00533.02
8.1.90.0120.00633.00
8.1.80.0100.00632.94
8.1.70.0110.00532.95
8.1.60.0140.00329.96
8.1.50.0110.00629.97
8.1.40.0130.00427.88
8.1.30.0120.00624.52
8.1.20.0140.00624.53
8.1.10.0150.00424.52
8.1.00.0130.00524.49
8.0.300.0100.00518.08
8.0.290.0130.00432.64
8.0.280.0120.00532.96
8.0.270.0120.00632.61
8.0.260.0120.00532.63
8.0.250.0080.00932.72
8.0.240.0090.00732.74
8.0.230.0110.00632.70
8.0.220.0150.00332.61
8.0.210.0110.00532.70
8.0.200.0110.00532.71
8.0.190.0090.00629.51
8.0.180.0110.00529.52
8.0.170.0100.00527.52
8.0.160.0120.00523.92
8.0.150.0120.00523.92
8.0.140.0130.00423.90
8.0.130.0140.00323.46
8.0.120.0130.00423.94
8.0.110.0130.00323.95
8.0.100.0120.00523.90
8.0.90.0120.00523.93
8.0.80.0130.00623.88
8.0.70.0110.00623.90
8.0.60.0130.00423.92
8.0.50.0110.00623.91
8.0.30.0140.00522.67
8.0.20.0130.00622.80
8.0.10.0130.00723.31
8.0.00.0100.00623.30
7.4.330.0110.00332.24
7.4.320.0110.00432.56
7.4.300.0140.00232.55
7.4.290.0100.00529.38
7.4.280.0120.00524.56
7.4.270.0120.00523.71
7.4.260.0120.00423.72
7.4.250.0120.00623.68
7.4.240.0110.00523.73
7.4.230.0130.00523.77
7.4.220.0150.00423.70
7.4.210.0120.00623.72
7.4.200.0120.00423.68
7.4.190.0110.00624.65
7.4.180.0130.00524.66
7.4.160.0130.00523.04
7.4.150.0110.00523.80
7.4.140.0120.00722.22
7.4.130.0130.00621.96
7.4.120.0140.00622.44
7.4.110.0130.00522.38
7.4.100.0140.00522.38
7.4.90.0100.00822.45
7.4.80.0130.00522.64
7.4.70.0110.00722.35
7.4.60.0130.00522.40
7.4.50.0120.00721.89
7.4.40.0140.00521.82
7.4.30.0130.00621.46
7.4.20.0120.00721.41
7.4.10.0120.00621.41
7.4.00.0120.00620.95
7.3.330.0120.00723.08
7.3.320.0140.00423.10
7.3.310.0110.00723.47
7.3.300.0150.00323.42
7.3.290.0160.00522.12
7.3.280.0120.00721.27
7.3.270.0120.00723.55
7.3.260.0130.00722.24
7.3.250.0140.00621.74
7.3.240.0130.00622.25
7.3.230.0140.00522.78
7.3.220.0130.00622.71
7.3.210.0130.00722.14
7.3.200.0130.00522.16
7.3.190.0140.00522.18
7.3.180.0120.00722.18
7.3.170.0130.00621.69
7.3.160.0130.00721.69
7.3.150.0120.00821.30
7.3.140.0120.00721.24
7.3.130.0140.00521.30
7.3.120.0120.00620.89
7.3.110.0130.00620.76
7.3.100.0110.00820.76
7.3.90.0120.00720.95
7.3.80.0120.00620.86
7.3.70.0120.00620.88
7.3.60.0120.00620.90
7.3.50.0120.00720.90
7.3.40.0110.00720.87
7.3.30.0130.00620.86
7.3.20.0100.00821.58
7.3.10.0120.00721.52
7.3.00.0130.00621.48
7.2.340.0130.00622.83
7.2.330.0130.00722.29
7.2.320.0150.00422.33
7.2.310.0130.00622.29
7.2.300.0120.00622.31
7.2.290.0110.00821.83
7.2.280.0120.00821.41
7.2.270.0150.00421.42
7.2.260.0120.00721.41
7.2.250.0120.00721.44
7.2.240.0120.00620.98
7.2.230.0130.00621.01
7.2.220.0120.00720.97
7.2.210.0130.00520.99
7.2.200.0130.00820.98
7.2.190.0130.00721.02
7.2.180.0120.00720.97
7.2.170.0130.00621.03
7.2.160.0130.00621.04
7.2.150.0130.00721.70
7.2.140.0100.00921.72
7.2.130.0130.00721.81
7.2.120.0130.00721.71
7.2.110.0130.00521.77
7.2.100.0150.00521.69
7.2.90.0110.00921.66
7.2.80.0120.00721.73
7.2.70.0120.00721.69
7.2.60.0110.00821.41
7.2.50.0120.00721.73
7.2.40.0170.00521.77
7.2.30.0160.00521.74
7.2.20.0140.00821.73
7.2.10.0110.00821.65
7.2.00.0120.00821.55
7.1.330.0130.00720.92
7.1.320.0140.00520.86
7.1.310.0120.00720.90
7.1.300.0120.00720.87
7.1.290.0140.00620.85
7.1.280.0130.00620.87
7.1.270.0130.00620.82
7.1.260.0120.00720.80
7.1.250.0150.00620.79
7.1.240.0130.00720.75
7.1.230.0160.00720.81
7.1.220.0140.00620.82
7.1.210.0120.00820.77
7.1.200.0130.00620.51
7.1.190.0120.00720.84
7.1.180.0120.00620.76
7.1.170.0110.00720.77
7.1.160.0150.00620.83
7.1.150.0160.00620.85
7.1.140.0140.00520.81
7.1.130.0120.00720.81
7.1.120.0120.00620.85
7.1.110.0120.00620.88
7.1.100.0120.00720.85
7.1.90.0130.00620.86
7.1.80.0120.00820.91
7.1.70.0150.00520.50
7.1.60.0130.00620.61
7.1.50.0130.00620.58
7.1.40.0150.00620.70
7.1.30.0100.00820.61
7.1.20.0120.00620.65
7.1.10.0140.00620.62
7.1.00.0130.00620.59
7.0.330.0130.00720.51
7.0.320.0140.00620.53
7.0.310.0140.00520.54
7.0.300.0130.00720.51
7.0.290.0160.00520.53
7.0.280.0150.00520.53
7.0.270.0140.00720.53
7.0.260.0140.00420.49
7.0.250.0140.00520.58
7.0.240.0130.00620.66
7.0.230.0140.00520.54
7.0.220.0140.00520.58
7.0.210.0140.00620.56
7.0.200.0120.00620.34
7.0.190.0130.00620.33
7.0.180.0120.00620.26
7.0.170.0130.00620.36
7.0.160.0130.00620.26
7.0.150.0130.00620.30
7.0.140.0130.00620.32
7.0.130.0130.00620.30
7.0.120.0110.00820.30
7.0.110.0140.00620.27
7.0.100.0100.00820.23
7.0.90.0110.00820.20
7.0.80.0110.00720.23
7.0.70.0130.00520.21
7.0.60.0140.00720.16
7.0.50.0130.00720.20
7.0.40.0130.00620.23
7.0.30.0120.00620.22
7.0.20.0130.00620.19
7.0.10.0130.00620.37
7.0.00.0160.00520.20
5.6.400.0140.00620.44
5.6.390.0130.00720.37
5.6.380.0140.00620.38
5.6.370.0130.00620.34
5.6.360.0130.00720.37
5.6.350.0130.00720.38
5.6.340.0120.00820.39
5.6.330.0120.00720.36
5.6.320.0120.00820.37
5.6.310.0120.00920.38
5.6.300.0110.01020.31
5.6.290.0130.00920.36
5.6.280.0120.00920.35
5.6.270.0130.01020.33
5.6.260.0130.01020.37
5.6.250.0100.01020.36
5.6.240.0120.00920.38
5.6.230.0120.01020.35
5.6.220.0120.01120.44
5.6.210.0120.00920.41
5.6.200.0130.00920.46
5.6.190.0120.00920.49
5.6.180.0120.00920.40
5.6.170.0120.01020.47
5.6.160.0100.01020.44
5.6.150.0110.01120.44
5.6.140.0120.00920.45
5.6.130.0110.01020.40
5.6.120.0120.01020.43
5.6.110.0130.01020.37
5.6.100.0120.01020.41
5.6.90.0120.01020.38
5.6.80.0120.00920.29
5.6.70.0120.00920.38
5.6.60.0140.01020.37
5.6.50.0120.01020.31
5.6.40.0110.01020.33
5.6.30.0120.00820.34
5.6.20.0100.01320.26
5.6.10.0120.00920.28
5.6.00.0130.01020.26

preferences:
53.73 ms | 403 KiB | 5 Q