3v4l.org

run code in 300+ PHP versions simultaneously
<?php $haystack3 = '<span class=\'descr\'>test, test2, test3</span> <span class=\'descr\'>test</span> <span class=\'descr\'>test4 test5</span>'; preg_match_all('#^<span class=\'descr\'>(.*?)</span>$#m', $haystack3, $matches3); var_dump($matches3[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.0000.00818.35
8.3.120.0000.01818.71
8.3.110.0030.00620.94
8.3.100.0090.00024.06
8.3.90.0040.00426.77
8.3.80.0110.00016.73
8.3.70.0090.00916.58
8.3.60.0110.01116.75
8.3.50.0110.00319.90
8.3.40.0120.00918.88
8.3.30.0030.01218.98
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0030.00526.16
8.2.250.0040.00416.94
8.2.240.0070.00719.19
8.2.230.0030.00622.58
8.2.220.0080.00337.54
8.2.210.0040.00426.77
8.2.200.0070.00316.88
8.2.190.0090.00916.63
8.2.180.0170.00325.92
8.2.170.0060.01218.99
8.2.160.0140.00022.96
8.2.150.0000.00825.66
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0080.00021.05
8.2.110.0040.00722.24
8.2.100.0090.00317.84
8.2.90.0000.00719.17
8.2.80.0000.00917.97
8.2.70.0060.00317.75
8.2.60.0060.00317.93
8.2.50.0000.00818.07
8.2.40.0000.00818.34
8.2.30.0040.00417.93
8.2.20.0060.00317.96
8.2.10.0000.00719.21
8.2.00.0050.00319.11
8.1.300.0060.01218.60
8.1.290.0030.00618.88
8.1.280.0040.01125.92
8.1.270.0040.00423.82
8.1.260.0090.00026.35
8.1.250.0000.00728.09
8.1.240.0060.00323.92
8.1.230.0030.00720.26
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.38
8.1.190.0030.00517.22
8.1.180.0040.00418.10
8.1.170.0040.00418.82
8.1.160.0030.00619.05
8.1.150.0000.00718.68
8.1.140.0040.00418.91
8.1.130.0030.00320.30
8.1.120.0000.00817.52
8.1.110.0000.00817.46
8.1.100.0040.00417.41
8.1.90.0040.00417.58
8.1.80.0080.00317.51
8.1.70.0030.00317.50
8.1.60.0000.00817.56
8.1.50.0030.00617.63
8.1.40.0000.00917.61
8.1.30.0000.00817.75
8.1.20.0090.00017.63
8.1.10.0000.00817.73
8.1.00.0030.00617.71
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.61
8.0.270.0030.00318.09
8.0.260.0000.00618.54
8.0.250.0040.00417.05
8.0.240.0050.00317.01
8.0.230.0030.00316.93
8.0.220.0030.00317.03
8.0.210.0030.00316.97
8.0.200.0000.00717.02
8.0.190.0000.00917.03
8.0.180.0000.00717.00
8.0.170.0040.00416.88
8.0.160.0090.00016.95
8.0.150.0000.00716.90
8.0.140.0000.00716.96
8.0.130.0050.00013.34
8.0.120.0050.00316.84
8.0.110.0000.00716.97
8.0.100.0030.00516.96
8.0.90.0030.00516.87
8.0.80.0030.00516.82
8.0.70.0020.00616.97
8.0.60.0030.00516.99
8.0.50.0060.00216.90
8.0.30.0020.00616.93
8.0.20.0030.00416.98
8.0.10.0030.00516.98
8.0.00.0040.00417.15
7.4.330.0000.00515.55
7.4.320.0080.00016.79
7.4.300.0060.00016.58
7.4.290.0080.00016.61
7.4.280.0070.00016.66
7.4.270.0070.00016.64
7.4.260.0040.00413.39
7.4.250.0040.00416.65
7.4.240.0040.00416.71
7.4.230.0050.00216.63
7.4.220.0030.00516.60
7.4.210.0000.00816.77
7.4.200.0050.00216.69
7.4.190.0030.00516.73
7.4.180.0010.00716.63
7.4.160.0060.00116.72
7.4.150.0030.00416.72
7.4.140.0030.00516.80
7.4.130.0050.00216.56
7.4.120.0000.00716.69
7.4.110.0010.00616.58
7.4.100.0050.00216.81
7.4.90.0020.00516.68
7.4.80.0010.00616.58
7.4.70.0010.00616.53
7.4.60.0020.00516.72
7.4.50.0010.00616.51
7.4.40.0040.00416.38
7.4.30.0040.00316.57
7.4.20.0030.00416.41
7.4.10.0010.00616.44
7.4.00.0040.00416.65
7.3.330.0080.00016.40
7.3.320.0030.00313.09
7.3.310.0030.00316.40
7.3.300.0070.00016.30
7.3.290.0020.00516.37
7.3.280.0050.00216.31
7.3.270.0040.00416.27
7.3.260.0030.00416.37
7.3.250.0050.00216.26
7.3.240.0010.00616.28
7.3.230.0050.00216.32
7.3.220.0020.00516.26
7.3.210.0030.00416.25
7.3.200.0030.00516.26
7.3.190.0050.00216.23
7.3.180.0030.00316.31
7.3.170.0020.00516.31
7.3.160.0040.00316.30
7.3.150.0030.00416.29
7.3.140.0040.00416.24
7.3.130.0020.00516.22
7.3.120.0030.00416.25
7.3.110.0050.00216.11
7.3.100.0020.00516.24
7.3.90.0060.00116.61
7.3.80.0030.00416.35
7.3.70.0050.00316.35
7.3.60.0060.00116.42
7.3.50.0040.00316.49
7.3.40.0050.00316.44
7.3.30.0040.00416.44
7.3.20.0020.00616.42
7.3.10.0000.00716.33
7.3.00.0060.00316.39
7.2.340.0110.00416.34
7.2.330.0060.00616.47
7.2.320.0090.00316.32
7.2.310.0140.00016.40
7.2.300.0060.00616.47
7.2.290.0000.01116.47
7.2.280.0040.00816.26
7.2.270.0070.00416.49
7.2.260.0040.00816.52
7.2.250.0040.00816.49
7.2.240.0100.00316.33
7.2.230.0090.00616.54
7.2.220.0130.00316.52
7.2.210.0120.00316.47
7.2.200.0080.00816.46
7.2.190.0060.00516.47
7.2.180.0070.00716.34
7.2.170.0070.00716.59
7.2.160.0100.00016.47
7.2.150.0060.00616.50
7.2.140.0070.01116.66
7.2.130.0090.00616.63
7.2.120.0120.00416.64
7.2.110.0100.00516.50
7.2.100.0100.00516.69
7.2.90.0090.00616.48
7.2.80.0190.00216.61
7.2.70.0130.00316.73
7.2.60.0050.00816.50
7.2.50.0100.00616.68
7.2.40.0080.00616.77
7.2.30.0090.00616.71
7.2.20.0080.00516.53
7.2.10.0090.00616.59
7.2.00.0070.00716.66
7.1.330.0040.01115.69
7.1.320.0130.00015.68
7.1.310.0090.00915.61
7.1.300.0140.00015.74
7.1.290.0160.00315.55
7.1.280.0060.00615.70
7.1.270.0070.00515.61
7.1.260.0130.00015.66
7.1.250.0140.00015.58
7.1.240.0110.00415.41
7.1.230.0040.01115.60
7.1.220.0120.00215.56
7.1.210.0090.00615.64
7.1.200.0090.00615.64
7.1.190.0060.00915.66
7.1.180.0100.00315.48
7.1.170.0100.00315.55
7.1.160.0120.00315.56
7.1.150.0100.00215.64
7.1.140.0060.00615.63
7.1.130.0080.00415.48
7.1.120.0140.00015.70
7.1.110.0030.00815.75
7.1.100.0210.00015.67
7.1.90.0050.00915.59
7.1.80.0160.00015.73
7.1.70.0120.00515.43
7.1.60.0090.00515.75
7.1.50.0120.00015.64
7.1.40.0100.00315.86
7.1.30.0120.00015.73
7.1.20.0090.00415.76
7.1.10.0030.01015.52
7.1.00.0040.00815.67
7.0.330.0080.00515.31
7.0.320.0100.00315.27
7.0.310.0130.00015.36
7.0.300.0120.00215.12
7.0.290.0140.00015.21
7.0.280.0040.00915.26
7.0.270.0020.01215.23
7.0.260.0030.00815.32
7.0.250.0100.00315.36
7.0.240.0110.00015.36
7.0.230.0080.00315.21
7.0.220.0110.00615.14
7.0.210.0070.00215.23
7.0.200.0090.00015.24
7.0.190.0130.00315.19
7.0.180.0170.00015.22
7.0.170.0080.00315.33
7.0.160.0040.00715.17
7.0.150.0080.00315.23
7.0.140.0070.00715.22
7.0.130.0100.00315.18
7.0.120.0060.00615.46
7.0.110.0110.00015.30
7.0.100.0080.00414.99
7.0.90.0090.00315.07
7.0.80.0090.00315.21
7.0.70.0090.00314.98
7.0.60.0130.00015.07
7.0.50.0100.00315.18
7.0.40.0110.00315.06
7.0.30.0090.00515.11
7.0.20.0130.00015.11
7.0.10.0000.01315.15
7.0.00.0170.00015.14
5.6.400.0100.00015.82
5.6.390.0090.00315.88
5.6.380.0030.00815.64
5.6.370.0070.00515.85
5.6.360.0040.00715.64
5.6.350.0040.00615.61
5.6.340.0040.00815.88
5.6.330.0130.00015.62
5.6.320.0070.00415.70
5.6.310.0120.00015.63
5.6.300.0130.00015.77
5.6.290.0060.00615.68
5.6.280.0080.00415.80
5.6.270.0100.00315.69
5.6.260.0080.00415.70
5.6.250.0090.00215.54
5.6.240.0080.00515.63
5.6.230.0120.00015.93
5.6.220.0060.00615.73
5.6.210.0100.00315.77
5.6.200.0040.00615.89
5.6.190.0080.00415.89
5.6.180.0050.00515.71
5.6.170.0050.00715.92
5.6.160.0000.01015.82
5.6.150.0110.00015.83
5.6.140.0100.00215.99
5.6.130.0100.00316.04
5.6.120.0080.00415.73
5.6.110.0070.00415.67
5.6.100.0080.00415.75
5.6.90.0060.00615.61
5.6.80.0060.00615.54
5.6.70.0130.00016.05
5.6.60.0120.00015.96
5.6.50.0120.00015.60
5.6.40.0060.00615.57
5.6.30.0090.00315.63
5.6.20.0060.00615.64
5.6.10.0110.00015.64
5.6.00.0000.01115.73
5.5.380.0100.00315.85
5.5.370.0100.00315.86
5.5.360.0100.00515.69
5.5.350.0110.00315.67
5.5.340.0130.00015.64
5.5.330.0080.00615.37
5.5.320.0120.00015.62
5.5.310.0080.00515.64
5.5.300.0100.00315.74
5.5.290.0130.00015.70
5.5.280.0100.00415.48
5.5.270.0110.00315.42
5.5.260.0130.00015.72
5.5.250.0130.00015.67
5.5.240.0070.00715.85
5.5.230.0070.00715.84
5.5.220.0100.00415.68
5.5.210.0090.00315.61
5.5.200.0090.00515.55
5.5.190.0040.00815.74
5.5.180.0130.00015.48
5.5.170.0130.00015.66
5.5.160.0110.00315.79
5.5.150.0120.00015.62
5.5.140.0130.00015.53
5.5.130.0030.01115.56
5.5.120.0070.00715.56
5.5.110.0140.00015.54
5.5.100.0080.00515.64
5.5.90.0080.00415.66
5.5.80.0100.00315.69
5.5.70.0030.01015.67
5.5.60.0060.00615.71
5.5.50.0090.00315.70
5.5.40.0130.00015.66
5.5.30.0100.00415.88
5.5.20.0060.00615.80
5.5.10.0090.00515.73
5.5.00.0100.00315.45
5.4.450.0110.00012.61
5.4.440.0060.00612.62
5.4.430.0070.00212.47
5.4.420.0060.00512.64
5.4.410.0070.00312.46
5.4.400.0120.00012.38
5.4.390.0050.00512.56
5.4.380.0030.00912.64
5.4.370.0110.00012.46
5.4.360.0050.00612.52
5.4.350.0080.00312.56
5.4.340.0000.01112.69
5.4.330.0080.00312.52
5.4.320.0070.00412.57
5.4.310.0050.00512.62
5.4.300.0120.00012.53
5.4.290.0100.00012.53
5.4.280.0050.00512.63
5.4.270.0070.00012.62
5.4.260.0060.00012.44
5.4.250.0000.00812.37
5.4.240.0000.00612.44
5.4.230.0030.00312.24
5.4.220.0030.00312.27
5.4.210.0030.00312.45
5.4.200.0060.00012.34
5.4.190.0070.00012.32
5.4.180.0040.00412.27
5.4.170.0000.00612.48
5.4.160.0060.00012.45
5.4.150.0060.00012.52
5.4.140.0020.00512.57
5.4.130.0040.00212.48
5.4.120.0060.00012.47
5.4.110.0070.00012.54
5.4.100.0070.00012.51
5.4.90.0030.00312.48
5.4.80.0040.00412.52
5.4.70.0000.00512.52
5.4.60.0030.00312.55
5.4.50.0060.00012.48
5.4.40.0000.00612.43
5.4.30.0030.00312.52
5.4.20.0050.00312.48
5.4.10.0030.00312.63
5.4.00.0060.00012.36
5.3.290.0070.00013.06
5.3.280.0000.00712.97
5.3.270.0030.00613.07
5.3.260.0040.00412.84
5.3.250.0040.00212.92
5.3.240.0000.00812.84
5.3.230.0000.00712.88
5.3.220.0060.00012.91
5.3.210.0030.00612.91
5.3.200.0070.00013.00
5.3.190.0050.00213.02
5.3.180.0000.00712.98
5.3.170.0040.00212.98
5.3.160.0000.00613.08
5.3.150.0000.00613.32
5.3.140.0060.00013.07
5.3.130.0000.00612.95
5.3.120.0070.00012.83
5.3.110.0020.00512.82
5.3.100.0040.00413.01
5.3.90.0040.00312.98
5.3.80.0000.00712.70
5.3.70.0000.00612.93
5.3.60.0000.00713.00
5.3.50.0060.00012.88
5.3.40.0030.00312.87
5.3.30.0050.00312.96
5.3.20.0020.00412.91
5.3.10.0030.00312.63
5.3.00.0060.00012.70
5.2.170.0030.00311.92
5.2.160.0060.00011.90
5.2.150.0000.00512.15
5.2.140.0000.00511.91
5.2.130.0050.00011.79
5.2.120.0000.00511.92
5.2.110.0000.00511.84
5.2.100.0000.00511.92
5.2.90.0000.00511.81
5.2.80.0060.00011.86
5.2.70.0000.00512.02
5.2.60.0030.00311.84
5.2.50.0000.00511.78
5.2.40.0000.00511.97
5.2.30.0000.00511.83
5.2.20.0020.00211.82
5.2.10.0050.00011.51
5.2.00.0020.00211.76
5.1.60.0020.00211.05
5.1.50.0000.00411.20
5.1.40.0030.00311.32
5.1.30.0020.00211.31
5.1.20.0000.00511.21
5.1.10.0040.00011.37
5.1.00.0000.00511.05
5.0.50.0000.00411.05
5.0.40.0050.00011.05
5.0.30.0020.00211.05
5.0.20.0060.00011.05
5.0.10.0000.00411.05
5.0.00.0020.00211.05
4.4.90.0000.00311.05
4.4.80.0030.00011.05
4.4.70.0000.00311.05
4.4.60.0000.00211.05
4.4.50.0020.00011.05
4.4.40.0000.00211.05
4.4.30.0000.00211.05
4.4.20.0000.00311.05
4.4.10.0020.00011.05
4.4.00.0030.00011.05
4.3.110.0030.00011.05
4.3.100.0000.00211.05
4.3.90.0000.00311.05
4.3.80.0020.00011.05
4.3.70.0000.00311.05
4.3.60.0000.00311.05
4.3.50.0000.00311.05
4.3.40.0000.00211.05
4.3.30.0020.00011.05
4.3.20.0000.00311.05
4.3.10.0000.00311.05
4.3.00.0000.00211.05

preferences:
34.05 ms | 403 KiB | 5 Q