3v4l.org

run code in 300+ PHP versions simultaneously
<?php $re = '`<span[^<>]*\bclass="[^"]*(?<class>email_[^\s"]*)[^"]*">\h*(?<mail>[^\s@]+@[^\s@]+)\h*<\/span>`'; $str = '<span class=" xx email_p_14 xx "> labore@et.de </span>'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); print_r(array_filter($matches[0], function ($k) { return !is_numeric($k); }, ARRAY_FILTER_USE_KEY));

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.0080.01016.84
8.5.00.0120.01320.35
8.4.150.0020.00014.05
8.4.140.0170.00517.84
8.4.130.0150.00517.86
8.4.120.0080.00822.50
8.4.110.0100.00720.36
8.4.100.0130.01018.29
8.4.90.0160.00818.71
8.4.80.0150.00418.15
8.4.70.0090.01018.41
8.4.60.0050.00418.75
8.4.50.0130.00719.97
8.4.40.0130.00719.47
8.4.30.0130.00718.76
8.4.20.0120.00820.41
8.4.10.0000.00918.61
8.3.280.0110.00818.66
8.3.270.0060.01416.57
8.3.260.0110.00916.65
8.3.250.0110.00919.04
8.3.240.0110.00816.86
8.3.230.0120.00716.63
8.3.220.0040.00417.37
8.3.210.0040.00316.92
8.3.200.0130.00616.79
8.3.190.0110.00817.11
8.3.180.0040.00416.50
8.3.170.0120.00619.16
8.3.160.0160.00316.75
8.3.150.0090.00920.85
8.3.140.0060.01217.27
8.3.130.0080.00016.80
8.3.120.0030.00618.89
8.3.110.0110.00020.94
8.3.100.0080.00824.06
8.3.90.0080.00826.77
8.3.80.0060.00316.63
8.3.70.0160.00918.29
8.3.60.0040.01116.62
8.3.50.0070.00718.44
8.3.40.0150.00018.95
8.3.30.0060.00918.70
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.290.0130.00820.63
8.2.280.0110.00518.47
8.2.270.0090.00916.96
8.2.260.0000.00818.96
8.2.250.0140.00418.52
8.2.240.0050.00517.28
8.2.230.0030.00722.58
8.2.220.0060.00337.54
8.2.210.0060.00326.77
8.2.200.0090.00016.63
8.2.190.0090.00618.67
8.2.180.0170.00325.92
8.2.170.0150.00319.01
8.2.160.0100.00322.96
8.2.150.0080.00025.66
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0060.00321.23
8.2.100.0100.00317.97
8.2.90.0050.00318.00
8.2.80.0050.00318.91
8.2.70.0000.00917.75
8.2.60.0000.00817.93
8.2.50.0050.00518.07
8.2.40.0040.00418.22
8.2.30.0080.00018.05
8.2.20.0000.00818.18
8.2.10.0040.00419.31
8.2.00.0000.00719.40
8.1.330.0100.00920.09
8.1.320.0110.00916.20
8.1.310.0070.01118.57
8.1.300.0040.00420.40
8.1.290.0070.00330.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00019.53
8.1.230.0070.00417.70
8.1.220.0050.00317.77
8.1.210.0030.00518.77
8.1.200.0060.00317.47
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0060.00318.70
8.1.160.0100.00018.94
8.1.150.0000.00718.73
8.1.140.0040.00418.89
8.1.130.0040.00417.67
8.1.120.0040.00417.67
8.1.110.0050.00317.55
8.1.100.0000.00817.69
8.1.90.0030.00517.51
8.1.80.0000.00917.67
8.1.70.0000.00717.63
8.1.60.0050.00317.61
8.1.50.0030.00517.58
8.1.40.0030.00617.66
8.1.30.0000.00817.84
8.1.20.0050.00317.69
8.1.10.0050.00317.69
8.1.00.0000.00717.68
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.49
8.0.270.0000.00718.05
8.0.260.0000.00717.04
8.0.250.0020.00517.04
8.0.240.0080.00017.08
8.0.230.0030.00517.09
8.0.220.0070.00016.92
8.0.210.0000.00716.94
8.0.200.0030.00317.18
8.0.190.0040.00417.00
8.0.180.0070.00017.09
8.0.170.0030.00617.07
8.0.160.0050.00317.12
8.0.150.0040.00417.04
8.0.140.0000.00717.02
8.0.130.0000.00513.50
8.0.120.0040.00416.89
8.0.110.0000.00716.98
8.0.100.0020.00516.91
8.0.90.0000.01016.91
8.0.80.0030.00617.02
8.0.70.0060.00316.94
8.0.60.0050.00516.91
8.0.50.0050.00516.91
8.0.30.0090.00017.13
8.0.20.0030.00616.93
8.0.10.0070.00317.06
8.0.00.0050.00317.17
7.4.330.0000.00515.55
7.4.320.0040.00416.80
7.4.300.0050.00216.74
7.4.290.0030.00416.68
7.4.280.0000.00716.70
7.4.270.0050.00316.73
7.4.260.0000.00513.54
7.4.250.0070.00016.64
7.4.240.0030.00616.80
7.4.230.0000.00816.81
7.4.220.0040.00516.92
7.4.210.0040.00416.81
7.4.200.0000.00916.87
7.4.190.0040.00416.61
7.4.180.0060.00316.88
7.4.160.0030.00616.82
7.4.150.0040.00416.80
7.4.140.0000.00816.73
7.4.130.0050.00316.67
7.4.120.0060.00316.79
7.4.110.0000.00916.61
7.4.100.0030.00616.92
7.4.90.0000.00816.66
7.4.80.0000.00916.60
7.4.70.0060.00316.46
7.4.60.0040.00516.55
7.4.50.0000.01016.64
7.4.40.0030.00616.77
7.4.30.0090.00016.82
7.4.20.0060.00316.77
7.4.10.0050.00316.45
7.4.00.0040.00416.43
7.3.330.0040.00416.27
7.3.320.0030.00313.42
7.3.310.0070.00016.56
7.3.300.0070.00016.39
7.3.290.0030.00616.26
7.3.280.0000.00916.42
7.3.270.0030.00616.26
7.3.260.0030.00716.39
7.3.250.0030.00616.29
7.3.240.0040.00416.34
7.3.230.0080.00016.39
7.3.220.0060.00316.27
7.3.210.0050.00516.39
7.3.200.0040.00416.26
7.3.190.0030.00516.36
7.3.180.0090.00016.41
7.3.170.0080.00016.44
7.3.160.0000.00816.27
7.3.150.0040.00416.24
7.3.140.0040.00416.36
7.3.130.0000.00816.45
7.3.120.0040.00416.40
7.3.110.0000.00816.36
7.3.100.0030.00316.22
7.3.90.0040.00416.55
7.3.80.0000.00716.29
7.3.70.0000.00716.52
7.3.60.0000.00716.44
7.3.50.0030.00416.44
7.3.40.0080.00016.59
7.3.30.0000.00716.62
7.3.20.0040.00416.64
7.3.10.0070.00416.47
7.3.00.0080.00016.57

preferences:
37.7 ms | 403 KiB | 5 Q