3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_regex_encoding("UTF-8"); mb_ereg_search_init('(ab(cd)ef)'); $r = mb_ereg_search('\(.+\)', 'b'); $r = mb_ereg_search_getregs(); if($r) { $r = mb_ereg_search_getregs(); //get first result do{ $e[] = mb_ereg_search_regs(); }while($r); }

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.0160.00318.43
8.3.50.0050.01222.05
8.3.40.0040.01118.71
8.3.30.0130.00020.34
8.3.20.0070.00020.43
8.3.10.0050.00222.09
8.3.00.0040.00422.65
8.2.180.0100.01018.25
8.2.170.0100.00722.96
8.2.160.0100.00320.57
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0030.00626.16
8.2.120.0000.00819.54
8.2.110.0040.00719.41
8.2.100.0040.00717.84
8.2.90.0050.00319.27
8.2.80.0030.00517.97
8.2.70.0100.00017.63
8.2.60.0000.00917.89
8.2.50.0090.00018.10
8.2.40.0030.00620.72
8.2.30.0070.00018.13
8.2.20.0040.00417.71
8.2.10.0000.00717.59
8.2.00.0040.00417.75
8.1.280.0120.00625.92
8.1.270.0030.00624.66
8.1.260.0080.00026.35
8.1.250.0080.00028.09
8.1.240.0030.00621.16
8.1.230.0080.00319.13
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0030.00617.10
8.1.180.0000.00918.10
8.1.170.0000.00818.62
8.1.160.0040.00422.20
8.1.150.0040.00418.61
8.1.140.0040.00417.50
8.1.130.0000.00717.42
8.1.120.0090.00017.46
8.1.110.0040.00417.51
8.1.100.0040.00417.47
8.1.90.0000.00817.54
8.1.80.0040.00417.57
8.1.70.0030.00317.46
8.1.60.0040.00417.59
8.1.50.0000.00817.59
8.1.40.0040.00417.48
8.1.30.0000.00717.65
8.1.20.0080.00017.66
8.1.10.0030.00517.52
8.1.00.0040.00417.57
8.0.300.0080.00018.77
8.0.290.0030.00616.75
8.0.280.0000.00718.41
8.0.270.0030.00317.31
8.0.260.0000.00816.88
8.0.250.0000.00717.01
8.0.240.0040.00416.99
8.0.230.0070.00016.91
8.0.220.0000.00916.93
8.0.210.0030.00316.94
8.0.200.0030.00616.90
8.0.190.0000.00717.05
8.0.180.0040.00417.03
8.0.170.0030.00317.02
8.0.160.0000.00716.93
8.0.150.0000.00716.95
8.0.140.0050.00216.85
8.0.130.0030.00313.34
8.0.120.0040.00416.86
8.0.110.0040.00416.98
8.0.100.0080.00016.77
8.0.90.0000.00716.82
8.0.80.0070.00716.94
8.0.70.0000.00816.79
8.0.60.0070.00016.92
8.0.50.0040.00416.99
8.0.30.0060.01217.08
8.0.20.0100.00817.40
8.0.10.0000.00716.89
8.0.00.0070.01116.73
7.4.330.0050.00015.00
7.4.320.0000.00616.53
7.4.300.0000.00716.46
7.4.290.0030.00316.67
7.4.280.0000.00716.55
7.4.270.0070.00016.63
7.4.260.0030.00316.52
7.4.250.0000.00816.52
7.4.240.0020.00516.66
7.4.230.0000.00716.55
7.4.220.0120.00916.44
7.4.210.0080.00716.61
7.4.200.0030.00316.55
7.4.190.0040.00416.44
7.4.160.0090.01216.56
7.4.150.0100.00717.40
7.4.140.0120.00917.86
7.4.130.0120.00916.39
7.4.120.0110.01316.41
7.4.110.0100.00716.46
7.4.100.0120.00916.29
7.4.90.0100.00716.49
7.4.80.0100.00719.39
7.4.70.0590.18749.38
7.4.60.0730.17349.45
7.4.50.0100.08749.38
7.4.40.0270.17149.45
7.4.30.0590.20349.41
7.4.00.0280.29748.04
7.3.330.0330.30078.01
7.3.320.0470.27378.06
7.3.310.0300.13348.97
7.3.300.0200.13949.26
7.3.290.0580.20849.21
7.3.280.0550.24549.12
7.3.270.0510.23349.34
7.3.260.0700.21449.22
7.3.250.0620.23649.26
7.3.240.0800.36949.27
7.3.230.0770.23449.27
7.3.210.0690.22049.37
7.3.200.0820.36349.26
7.3.190.0850.21149.19
7.3.180.0490.22849.38
7.3.170.0470.22149.28
7.3.160.0660.21649.52
7.3.120.0320.29247.70
7.3.110.0330.42447.33
7.3.100.0270.41247.54
7.3.90.0230.29547.44
7.3.80.0270.37348.04
7.3.70.0330.35447.73
7.3.60.0370.29347.69
7.3.50.0200.30947.93
7.3.40.0360.23947.65
7.3.30.0300.31047.75
7.3.20.0270.23250.37
7.3.10.0970.23250.31
7.3.00.1230.24649.86
7.2.330.0620.18249.34
7.2.320.0950.17749.39
7.2.310.0560.19149.68
7.2.300.0840.15949.56
7.2.290.0720.17749.48
7.2.250.0400.37447.96
7.2.240.0490.36347.97
7.2.230.0400.23347.83
7.2.220.0300.35248.20
7.2.210.0260.21548.01
7.2.200.0300.23648.00
7.2.190.0330.35848.06
7.2.180.0200.27747.95
7.2.170.0300.32548.03
7.2.130.0630.23250.72
7.2.120.0720.24450.66
7.2.110.0670.23650.84
7.2.100.0640.24050.71
7.2.90.0610.22950.75
7.2.80.0720.26150.64
7.2.70.0650.23850.67
7.2.60.1330.22350.71
7.2.50.0620.23350.75
7.2.40.0740.24050.71
7.2.30.0640.23250.87
7.2.20.0680.23250.55
7.2.10.0660.22350.48
7.2.00.0500.23251.45
7.1.330.0530.36949.81
7.1.320.0370.38149.82
7.1.310.0230.36049.87
7.1.300.0330.28649.69
7.1.290.0400.33749.42
7.1.280.0300.31349.82
7.1.270.0270.25949.76
7.1.260.0170.29849.54
7.1.250.0550.28249.62
7.1.240.0630.29949.77
7.1.230.0500.31549.80
7.1.220.0670.29649.57
7.1.210.0890.26449.57
7.1.200.0840.22649.47
7.1.190.0860.30449.71
7.1.180.0470.29949.26
7.1.170.0560.28749.57
7.1.160.0790.28849.30
7.1.150.0590.30049.90
7.1.140.0790.29049.47
7.1.130.0560.26449.74
7.1.120.0540.26849.50
7.1.110.0370.30249.44
7.1.100.0440.22450.74
7.1.90.0940.26949.66
7.1.80.0770.30549.72
7.1.70.0430.25650.12
7.1.60.0450.26150.40
7.1.50.0650.24550.38
7.1.40.0710.29149.62
7.1.30.0960.30749.67
7.1.20.1080.25549.81
7.1.10.0870.30049.73
7.1.00.0570.24652.91
7.0.330.0600.31449.44
7.0.320.0950.28849.19
7.0.310.0880.32649.29
7.0.300.0770.27349.08
7.0.290.0750.28949.32
7.0.280.0900.26649.41
7.0.270.0600.29549.07
7.0.260.0770.29749.53
7.0.250.0860.32049.28
7.0.240.0660.27949.61
7.0.230.0820.27949.59
7.0.220.0750.27749.30
7.0.210.0850.27749.26
7.0.200.2220.21348.54
7.0.190.0510.31249.24
7.0.180.0810.29349.15
7.0.170.0700.31549.14
7.0.160.0850.26149.16
7.0.150.0730.30049.20
7.0.140.0510.26452.77
7.0.130.1520.26849.37
7.0.120.1020.28649.35
7.0.110.1120.29449.04
7.0.100.1020.27349.57
7.0.90.1410.27949.54
7.0.80.0950.30349.43
7.0.70.1290.30849.35
7.0.60.0910.23251.05
7.0.50.0620.25350.21
7.0.40.0580.23049.75
7.0.30.0970.26549.61
7.0.20.1120.26849.69
7.0.10.0610.26249.65
7.0.00.0500.26149.61
5.6.380.0400.17779.06
5.6.370.0430.17578.83
5.6.360.0240.19878.94
5.6.350.0440.19279.00
5.6.340.0370.21078.67
5.6.330.0390.23079.06
5.6.320.0500.18679.04
5.6.310.0420.18378.94
5.6.300.0500.18078.87
5.6.290.0400.20778.63
5.6.280.0350.21981.97
5.6.270.0360.19378.63
5.6.260.0480.18779.22
5.6.250.0450.21778.97
5.6.240.0340.23579.36
5.6.230.0280.20179.02
5.6.220.0640.19078.78
5.6.210.0280.17482.10
5.6.200.0420.19680.94
5.6.190.0360.19181.94
5.6.180.0600.17782.01
5.6.170.0440.18082.01
5.6.160.0380.21781.97
5.6.150.0340.22180.90
5.6.140.0220.24580.83
5.6.130.0450.19781.02
5.6.120.0370.18382.22
5.6.110.0490.18582.31
5.6.100.0300.18282.44
5.6.90.0260.17982.28
5.6.80.0370.17182.09
5.6.70.0290.20878.85
5.6.60.0340.19979.00
5.6.50.0400.18179.18
5.6.40.0460.17779.00
5.6.30.0440.17878.93
5.6.20.0420.20078.88
5.6.10.0600.18679.13
5.6.00.0410.18379.07
5.5.380.0490.18475.65
5.5.370.0580.16275.56
5.5.360.0380.21975.64
5.5.350.1610.18080.38
5.5.340.0320.17679.17
5.5.330.0350.21680.14
5.5.320.0320.18780.16
5.5.310.0520.19680.32
5.5.300.0460.20279.16
5.5.290.0270.20279.05
5.5.280.0370.20480.46
5.5.270.0530.17580.54
5.5.260.0460.17780.34
5.5.250.0380.18980.38
5.5.240.0350.19880.29
5.5.230.0500.20675.73
5.5.220.0360.19875.56
5.5.210.0290.18975.46
5.5.200.0460.18075.70
5.5.190.0400.18575.34
5.5.180.0390.19675.58
5.5.170.0510.20675.55
5.5.160.0310.18775.36
5.5.150.0430.20875.42
5.5.140.0350.20375.77
5.5.130.0510.17675.68
5.5.120.0400.17975.41
5.5.110.0270.18675.51
5.5.100.0370.17575.55
5.5.90.0230.19675.61
5.5.80.0230.19875.35
5.5.70.0230.20275.51
5.5.60.0290.20175.50
5.5.50.0260.19375.71
5.5.40.0430.19975.52
5.5.30.0530.19375.54
5.5.20.0160.19575.52
5.5.10.0230.19075.52
5.5.00.0370.21075.46
5.4.450.0700.21179.75
5.4.440.0470.17079.64
5.4.430.0530.18879.71
5.4.420.0580.20379.79
5.4.410.0580.19379.77
5.4.400.0580.17779.60
5.4.390.0690.19879.59
5.4.380.0600.21479.36
5.4.370.0570.22179.36
5.4.360.0900.26479.38
5.4.350.0600.25979.41
5.4.340.0710.22679.39
5.4.330.0410.20575.25
5.4.320.0290.18976.40
5.4.310.0310.19176.34
5.4.300.0390.19076.29
5.4.290.0290.18776.12
5.4.280.0340.18976.32
5.4.270.0370.17576.34
5.4.260.0230.17676.20
5.4.250.0380.19979.46
5.4.240.0480.20379.22
5.4.230.0380.20579.54
5.4.220.0470.22079.37
5.4.210.0250.23079.53
5.4.200.0390.21879.51
5.4.190.0450.23879.51
5.4.180.0450.21479.40
5.4.170.0540.20379.48
5.4.160.0400.20579.42
5.4.150.0380.23579.38
5.4.140.0500.26178.14
5.4.130.0400.27678.33
5.4.120.0470.22678.27
5.4.110.0330.21378.37
5.4.100.0480.22978.42
5.4.90.0460.24678.28
5.4.80.0330.20878.25
5.4.70.0490.20778.33
5.4.60.0410.20078.20
5.4.50.0300.21478.21
5.4.40.0280.22178.24
5.4.30.0610.22878.23
5.4.20.0330.23078.22
5.4.10.0480.19678.22
5.4.00.0370.21577.89
5.3.290.0360.20174.88
5.3.280.0500.21075.71
5.3.270.0430.28675.68
5.3.260.0430.23375.60
5.3.250.0410.28675.63
5.3.240.0300.23675.63
5.3.230.0470.23775.81
5.3.220.0450.28775.64
5.3.210.0370.24775.68
5.3.200.0310.22675.65
5.3.190.0350.23975.80
5.3.180.0410.22775.74
5.3.170.0380.21775.79
5.3.160.0550.21175.79
5.3.150.0330.22375.59
5.3.140.0380.21575.73
5.3.130.0330.24275.76
5.3.120.0340.23475.63
5.3.110.0430.24975.71
5.3.100.0300.24375.39
5.3.90.0310.25475.30
5.3.80.0500.22175.35
5.3.70.0460.22075.23
5.3.60.0610.27975.77
5.3.50.0450.25075.14
5.3.40.0400.24375.07
5.3.30.0520.26275.30
5.3.20.0230.24675.38
5.3.10.0400.21374.95
5.3.00.0440.21475.03
5.2.170.0340.25973.87
5.2.160.0420.24373.85
5.2.150.0470.22074.08
5.2.140.0340.24573.82
5.2.130.0320.23673.92
5.2.120.0380.22673.87
5.2.110.0390.23073.99
5.2.100.0380.25473.89
5.2.90.0320.24573.83
5.2.80.0270.24773.70
5.2.70.0300.22473.88
5.2.60.0320.24173.98
5.2.50.0300.26173.90
5.2.40.0460.26073.91
5.2.30.0370.26473.84
5.2.20.0420.28073.83
5.2.10.0380.22773.77
5.2.00.2481.443442.12
5.1.60.2531.316522.88
5.1.50.2931.307562.14
5.1.40.2331.369560.24
5.1.30.3301.243545.68
5.1.20.2921.288544.64
5.1.10.2741.325542.92
5.1.00.2671.337520.10
5.0.50.2601.448472.92
5.0.40.2431.482457.75
5.0.30.2901.447459.45
5.0.20.2821.429466.42
5.0.10.2401.508424.12
5.0.00.2421.476448.28
4.4.90.2821.344544.71
4.4.80.2861.354577.96
4.4.70.2881.359540.71
4.4.60.3081.326527.59
4.4.50.2961.323523.07
4.4.40.2931.340562.10
4.4.30.2711.346555.36
4.4.20.2781.363518.64
4.4.10.3281.362537.28
4.4.00.2781.361557.82
4.3.110.3081.360548.97
4.3.100.2901.350483.01
4.3.90.2881.304516.97
4.3.80.3031.389516.86
4.3.70.2861.352516.89
4.3.60.2931.334516.88
4.3.50.3331.323516.94
4.3.40.2701.336520.05
4.3.30.0040.0119.22
4.3.20.0020.0129.22
4.3.10.0020.0129.22
4.3.00.0060.00512.69

preferences:
46.32 ms | 401 KiB | 5 Q