3v4l.org

run code in 300+ PHP versions simultaneously
<?php $attrPattern = '/([a-z0-9-]*)=(["\']??)([^"\']*?)\\2/siU'; $attr = 'target="_parent" data-bar="baz" data-foo'; preg_match_all($attrPattern, $attr, $matches, PREG_SET_ORDER); var_dump($matches);

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.60.0070.00716.47
8.3.50.0100.00722.09
8.3.40.0090.00618.93
8.3.30.0150.00019.09
8.3.20.0040.00420.34
8.3.10.0060.00323.66
8.3.00.0060.00619.22
8.2.180.0120.00318.54
8.2.170.0110.00422.96
8.2.160.0070.00720.44
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00019.16
8.2.110.0080.00022.25
8.2.100.0060.00617.91
8.2.90.0050.00319.22
8.2.80.0030.00517.97
8.2.70.0060.00317.75
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0030.00520.19
8.2.30.0040.00418.14
8.2.20.0040.00417.91
8.2.10.0040.00418.00
8.2.00.0000.00817.86
8.1.280.0070.01425.92
8.1.270.0030.00623.99
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0090.00022.17
8.1.230.0080.00419.16
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0000.00917.48
8.1.190.0030.00617.47
8.1.180.0070.00718.10
8.1.170.0000.00818.55
8.1.160.0040.00421.91
8.1.150.0040.00418.72
8.1.140.0070.00017.64
8.1.130.0040.00417.82
8.1.120.0050.00217.45
8.1.110.0040.00417.57
8.1.100.0040.00417.44
8.1.90.0070.00017.59
8.1.80.0000.00817.46
8.1.70.0000.00717.46
8.1.60.0050.00317.74
8.1.50.0040.00417.63
8.1.40.0040.00417.59
8.1.30.0040.00417.63
8.1.20.0060.00317.67
8.1.10.0000.00717.65
8.1.00.0080.00017.64
8.0.300.0030.00318.77
8.0.290.0000.00717.15
8.0.280.0030.00318.41
8.0.270.0030.00317.22
8.0.260.0030.00317.17
8.0.250.0000.00616.97
8.0.240.0030.00316.99
8.0.230.0030.00317.10
8.0.220.0000.00717.01
8.0.210.0070.00016.96
8.0.200.0000.00617.07
8.0.190.0000.00716.92
8.0.180.0040.00417.00
8.0.170.0050.00317.01
8.0.160.0020.00516.96
8.0.150.0070.00016.98
8.0.140.0000.00816.82
8.0.130.0000.00713.42
8.0.120.0020.00616.87
8.0.110.0000.00717.10
8.0.100.0040.00416.86
8.0.90.0000.00816.93
8.0.80.0060.00916.99
8.0.70.0040.00416.97
8.0.60.0000.00817.04
8.0.50.0080.00017.00
8.0.30.0150.00517.07
8.0.20.0110.00917.40
8.0.10.0080.00016.98
8.0.00.0070.01116.96
7.4.330.0030.00315.22
7.4.320.0060.00016.82
7.4.300.0030.00316.76
7.4.290.0000.00716.73
7.4.280.0030.00516.80
7.4.270.0000.00716.79
7.4.260.0070.00016.67
7.4.250.0040.00416.61
7.4.240.0020.00716.81
7.4.230.0040.00316.83
7.4.220.0060.01216.63
7.4.210.0110.00416.75
7.4.200.0000.00716.84
7.4.190.0000.00716.87
7.4.160.0120.00416.31
7.4.150.0070.01117.40
7.4.140.0070.01517.86
7.4.130.0070.01016.70
7.4.120.0090.00916.76
7.4.110.0120.00616.62
7.4.100.0150.00916.75
7.4.90.0100.01316.50
7.4.80.0130.01019.39
7.4.70.0120.00416.51
7.4.60.0100.01316.71
7.4.50.0040.00416.25
7.4.40.0170.00316.75
7.4.30.0060.01216.49
7.4.00.0100.00614.97
7.3.330.0060.00013.27
7.3.320.0000.00513.17
7.3.310.0070.00016.23
7.3.300.0040.00416.29
7.3.290.0100.00316.25
7.3.280.0070.00916.29
7.3.270.0100.01017.40
7.3.260.0080.01316.40
7.3.250.0110.00816.47
7.3.240.0190.00316.54
7.3.230.0080.00816.58
7.3.210.0060.01116.64
7.3.200.0090.01319.39
7.3.190.0110.00616.69
7.3.180.0120.00416.43
7.3.170.0040.01516.60
7.3.160.0110.00716.61
7.3.120.0040.01114.88
7.2.330.0090.00916.66
7.2.320.0060.01216.49
7.2.310.0060.01216.47
7.2.300.0110.01116.63
7.2.290.0000.02216.60
7.2.00.0000.01219.17
7.1.100.0060.01018.25
7.1.70.0050.00317.34
7.1.60.0030.01719.46
7.1.50.0030.01916.98
7.1.00.0100.06322.45
7.0.200.0080.00016.75
7.0.140.0100.06722.18
7.0.60.0100.08020.02
7.0.50.0030.07317.84
7.0.40.0100.07020.06
7.0.30.0130.05020.01
7.0.20.0270.08320.07
7.0.10.0100.04020.32
7.0.00.0070.05320.03
5.6.280.0000.07721.10
5.6.210.0130.07320.46
5.6.200.0100.03318.22
5.6.190.0000.05720.39
5.6.180.0070.07720.37
5.6.170.0330.07020.45
5.6.160.0130.03320.47
5.6.150.0030.05718.09
5.6.140.0000.05018.18
5.6.130.0100.04718.11
5.6.120.0030.04721.12
5.6.110.0170.07720.97
5.6.100.0070.04021.07
5.6.90.0070.08720.99
5.6.80.0130.07320.38
5.5.350.0070.07720.43
5.5.340.0130.03717.95
5.5.330.0070.08020.43
5.5.320.0170.04320.28
5.5.310.0300.04020.23
5.5.300.0000.05017.90
5.5.290.0000.04317.91
5.5.280.0070.05320.86
5.5.270.0100.08020.64
5.5.260.0030.04020.86
5.5.250.0070.08020.57
5.5.240.0030.07020.25
5.4.450.0300.05719.49
5.4.440.0800.05319.45
5.4.430.0700.06019.56
5.4.420.0330.06719.25
5.4.410.0430.06019.44
5.4.400.0270.05319.30
5.4.390.0100.06318.99
5.4.380.0130.05318.41
5.4.370.0170.05018.70
5.4.360.0170.04718.50
5.4.350.0200.04718.68
5.4.340.0130.05318.54
5.4.320.0090.03412.45
5.4.310.0060.03912.45
5.4.300.0130.03812.45
5.4.290.0070.05312.45
5.4.280.0140.07012.34
5.4.270.0090.07212.35
5.4.260.0190.08012.34
5.4.250.0110.09612.35
5.4.240.0170.08512.35
5.4.230.0220.11312.34
5.4.220.0220.11612.34
5.4.210.0140.07412.34
5.4.200.0190.08812.34
5.4.190.0110.07612.34
5.4.180.0210.11912.34
5.4.170.0190.05512.35
5.4.160.0210.05712.34
5.4.150.0160.07312.34
5.4.140.0130.04512.02
5.4.130.0090.04012.01
5.4.120.0110.04611.97
5.4.110.0140.06811.96
5.4.100.0140.05611.96
5.4.90.0100.05311.96
5.4.80.0100.06311.96
5.4.70.0050.05011.96
5.4.60.0060.05911.96
5.4.50.0070.05311.96
5.4.40.0050.06511.95
5.4.30.0150.06011.95
5.4.20.0170.06111.95
5.4.10.0150.07811.94
5.4.00.0110.07711.44
5.3.290.0270.03812.80
5.3.280.0140.08112.71
5.3.270.0150.10212.73
5.3.260.0090.10312.72
5.3.250.0160.09312.72
5.3.240.0110.04912.72
5.3.230.0180.07812.71
5.3.220.0140.06412.68
5.3.210.0230.10812.68
5.3.200.0160.07912.68
5.3.190.0220.09012.67
5.3.180.0320.11812.67
5.3.170.0140.07412.67
5.3.160.0210.08212.67
5.3.150.0170.06712.68
5.3.140.0160.06212.66
5.3.130.0130.07412.66
5.3.120.0120.10212.66
5.3.110.0140.07912.66
5.3.100.0140.09112.12
5.3.90.0150.09212.09
5.3.80.0160.06212.07
5.3.70.0080.04312.07
5.3.60.0180.05712.07
5.3.50.0080.06112.00
5.3.40.0090.06912.00
5.3.30.0200.09911.95
5.3.20.0070.05311.73
5.3.10.0170.10011.70
5.3.00.0160.09811.69
5.2.170.0200.0729.19
5.2.160.0100.0679.19
5.2.150.0150.0589.19
5.2.140.0130.0739.19
5.2.130.0240.0629.14
5.2.120.0190.0779.14
5.2.110.0430.1389.16
5.2.100.0140.0689.15
5.2.90.0100.0439.15
5.2.80.0170.0669.14
5.2.70.0110.0739.14
5.2.60.0080.0419.10
5.2.50.0130.0539.07
5.2.40.0080.0419.05
5.2.30.0060.0469.03
5.2.20.0120.0609.01
5.2.10.0180.0728.92
5.2.00.0090.0588.78
5.1.60.0100.0428.06
5.1.50.0090.0368.05
5.1.40.0070.0418.04
5.1.30.0170.1128.39
5.1.20.0080.0418.41
5.1.10.0130.0788.14
5.1.00.0130.0558.14
5.0.50.0180.0396.62
5.0.40.0120.0406.47
5.0.30.0060.0806.29
5.0.20.0090.0466.26
5.0.10.0050.0296.23
5.0.00.0060.0396.23
4.4.90.0040.0284.78
4.4.80.0050.0184.76
4.4.70.0060.0174.75
4.4.60.0030.0174.76
4.4.50.0040.0334.77
4.4.40.0030.0354.71
4.4.30.0050.0224.76
4.4.20.0050.0384.84
4.4.10.0100.0334.85
4.4.00.0100.0364.76
4.3.110.0160.0934.67
4.3.100.0020.0194.67
4.3.90.0100.0524.64
4.3.80.0020.0644.58
4.3.70.0090.0394.63
4.3.60.0110.0424.63
4.3.50.0390.0994.63
4.3.40.0130.0744.54
4.3.30.0000.0223.28
4.3.20.0170.0733.25
4.3.10.0100.0463.21
4.3.00.0100.0237.27

preferences:
39.99 ms | 401 KiB | 5 Q