3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_regex_encoding("UTF-8"); mb_ereg_search_init('(ab(cd)ef)'); $a = mb_ereg_search_regs('\(.+\)', 'd'); $r = mb_ereg_search_getregs(); var_dump($r, $a);

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.40.0070.01018.46
8.3.30.0040.01120.43
8.3.20.0070.00020.34
8.3.10.0050.00322.18
8.3.00.0050.00322.39
8.2.170.0040.01122.96
8.2.160.0100.00320.39
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0130.00626.16
8.2.120.0060.00319.65
8.2.110.0030.00622.32
8.2.100.0120.00017.50
8.2.90.0080.00019.08
8.2.80.0000.00917.97
8.2.70.0030.00617.63
8.2.60.0030.00717.80
8.2.50.0040.00418.07
8.2.40.0080.00019.88
8.2.30.0070.00018.11
8.2.20.0040.00417.53
8.2.10.0040.00417.63
8.2.00.0080.00017.61
8.1.270.0080.00024.66
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00323.95
8.1.230.0070.00719.13
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0100.00317.25
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0000.00820.40
8.1.160.0000.00722.09
8.1.150.0000.00818.69
8.1.140.0070.00017.45
8.1.130.0030.00317.85
8.1.120.0040.00417.49
8.1.110.0000.00717.38
8.1.100.0050.00217.42
8.1.90.0070.00017.58
8.1.80.0000.00717.49
8.1.70.0030.00317.41
8.1.60.0070.00017.49
8.1.50.0080.00017.63
8.1.40.0040.00417.57
8.1.30.0040.00417.75
8.1.20.0090.00017.72
8.1.10.0060.00317.55
8.1.00.0070.00017.39
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0040.00418.41
8.0.270.0030.00317.33
8.0.260.0030.00316.93
8.0.250.0030.00317.03
8.0.240.0030.00516.98
8.0.230.0000.00716.98
8.0.220.0030.00317.00
8.0.210.0030.00316.94
8.0.200.0000.00717.02
8.0.190.0050.00216.98
8.0.180.0040.00417.02
8.0.170.0000.00716.86
8.0.160.0030.00316.90
8.0.150.0030.00316.80
8.0.140.0040.00416.88
8.0.130.0030.00313.36
8.0.120.0070.00016.92
8.0.110.0000.00716.84
8.0.100.0000.00816.83
8.0.90.0080.00016.84
8.0.80.0080.00816.97
8.0.70.0000.00716.82
8.0.60.0030.00416.95
8.0.50.0000.00716.83
8.0.30.0100.01016.98
8.0.20.0100.01017.40
8.0.10.0030.00416.96
8.0.00.0120.00616.72
7.4.330.0030.00315.00
7.4.320.0030.00316.47
7.4.300.0070.00016.58
7.4.290.0000.00716.55
7.4.280.0000.00816.51
7.4.270.0030.00316.66
7.4.260.0040.00416.64
7.4.250.0060.00316.68
7.4.240.0030.00316.68
7.4.230.0000.00716.37
7.4.220.0130.01316.46
7.4.210.0060.01016.69
7.4.200.0000.00716.48
7.4.190.0050.00216.69
7.4.160.0110.01116.43
7.4.150.0130.01317.40
7.4.140.0120.01017.86
7.4.130.0090.00916.40
7.4.120.0080.00916.47
7.4.110.0120.00616.53
7.4.100.0180.00616.69
7.4.90.0120.00616.46
7.4.80.0150.00419.39
7.4.70.0120.00916.47
7.4.60.0070.01116.47
7.4.50.0060.00316.47
7.4.40.0060.00922.77
7.4.30.0000.01616.45
7.4.00.0000.01415.08
7.3.330.0020.00213.04
7.3.320.0000.00613.00
7.3.310.0040.00416.06
7.3.300.0040.00416.10
7.3.290.0070.00716.23
7.3.280.0080.00916.22
7.3.270.0120.00617.40
7.3.260.0120.01216.51
7.3.250.0110.00916.31
7.3.240.0090.01416.11
7.3.230.0110.00616.39
7.3.210.0070.01016.29
7.3.200.0120.00919.39
7.3.190.0070.01116.36
7.3.180.0090.00616.48
7.3.170.0060.01116.41
7.3.160.0030.01316.51
7.3.120.0040.00414.74
7.2.330.0170.00016.49
7.2.320.0040.01816.38
7.2.310.0100.00716.59
7.2.300.0000.01616.54
7.2.290.0100.00616.53
7.2.00.0060.01019.48
7.1.100.0040.00418.02
7.1.70.0100.00317.14
7.1.60.0000.02519.21
7.1.50.0120.00917.06
7.1.00.0000.05722.36
7.0.200.0030.01014.58
7.0.140.0030.07321.93
7.0.110.0000.04720.07
7.0.100.0030.04020.08
7.0.90.0070.03720.05
7.0.80.0070.07720.03
7.0.70.0000.07720.03
7.0.60.0030.06720.04
7.0.50.0030.06719.93
7.0.40.0000.04319.65
7.0.30.0030.03719.72
7.0.20.0030.04319.70
7.0.10.0030.03719.66
7.0.00.0030.04019.77
5.6.280.0070.07021.13
5.6.260.0130.03320.59
5.6.250.0000.04720.59
5.6.240.0070.04020.85
5.6.230.0000.04020.46
5.6.220.0070.08020.67
5.6.210.0000.04020.68
5.6.200.0000.04320.70
5.6.190.0030.04320.85
5.6.180.0030.03320.85
5.6.170.0030.04020.59
5.6.160.0030.04020.53
5.6.150.0100.06020.60
5.6.140.0070.04020.63
5.6.130.0030.04020.61
5.6.120.0100.04020.70
5.6.110.0030.03720.62
5.6.100.0030.04320.62
5.6.90.0030.04020.63
5.6.80.0030.04020.04
5.6.70.0000.04320.02
5.6.60.0070.03719.91
5.6.50.0000.03719.99
5.6.40.0030.04020.03
5.6.30.0070.07719.90
5.6.20.0070.07319.97
5.6.10.0170.04319.90
5.6.00.0030.04719.91
5.5.380.0030.04017.62
5.5.370.0130.07017.46
5.5.360.0000.03717.60
5.5.350.0030.08017.42
5.5.340.0130.03017.87
5.5.330.0070.03717.91
5.5.320.0000.03718.01
5.5.310.0030.03318.12
5.5.300.0000.04317.86
5.5.290.0100.05317.77
5.5.280.0070.04017.84
5.5.270.0030.03718.00
5.5.260.0030.04018.12
5.5.250.0000.04317.97
5.5.240.0070.04717.48
5.5.230.0130.03017.47
5.5.220.0130.02317.63
5.5.210.0070.03717.50
5.5.200.0030.04017.38
5.5.190.0100.06017.36
5.5.180.0100.07317.50
5.5.160.0070.07017.45
5.5.150.0070.05317.21
5.5.140.0070.08017.21
5.5.130.0100.04717.44
5.5.120.0030.08017.51
5.5.110.0000.04717.11
5.5.100.0000.06017.44
5.5.90.0030.04317.11
5.5.80.0070.03317.41
5.5.70.0030.08017.34
5.5.60.0030.06017.40
5.5.50.0000.06017.25
5.5.40.0030.07017.10
5.5.30.0030.07017.11
5.5.20.0100.07017.33
5.5.10.0100.06017.22
5.5.00.0000.07317.22
5.4.450.0000.03719.57
5.4.440.0030.04019.30
5.4.430.0030.03319.35
5.4.420.0030.04019.31
5.4.410.0030.03319.22
5.4.400.0030.03719.05
5.4.390.0030.04319.18
5.4.380.0000.04019.00
5.4.370.0000.04019.11
5.4.360.0030.04019.25
5.4.350.0030.03719.10
5.4.340.0130.07019.00
5.4.320.0170.07319.11
5.4.310.0030.08319.02
5.4.300.0130.05719.16
5.4.290.0030.08019.10
5.4.280.0070.05019.02
5.4.270.0070.05319.17
5.4.260.0030.05319.02
5.4.250.0030.05319.00
5.4.240.0030.04319.24
5.4.230.0070.03719.00
5.4.220.0030.06019.03
5.4.210.0100.04018.95
5.4.200.0000.07019.21
5.4.190.0030.06318.99
5.4.180.0100.08019.25
5.4.170.0030.06719.24
5.4.160.0070.07719.01
5.4.150.0070.05018.90
5.4.140.0070.06316.52
5.4.130.0030.04016.57
5.4.120.0070.07316.23
5.4.110.0070.08316.42
5.4.100.0030.07016.55
5.4.90.0130.03316.33
5.4.80.0000.06716.27
5.4.70.0070.03316.27
5.4.60.0100.07016.21
5.4.50.0130.06016.36
5.4.40.0070.07716.55
5.4.30.0100.06716.10
5.4.20.0000.08016.16
5.4.10.0000.08016.32
5.4.00.0070.06715.81
5.3.290.0030.07014.66
5.3.280.0030.05014.46
5.3.270.0130.06714.54
5.3.260.0100.07014.39
5.3.250.0100.07314.54
5.3.240.0000.05314.66
5.3.230.0100.06714.38
5.3.220.0030.08014.44
5.3.210.0170.06714.43
5.3.200.0130.06714.63
5.3.190.0130.06314.64
5.3.180.0070.07014.63
5.3.170.0130.06014.63
5.3.160.0070.07314.48
5.3.150.0030.06014.58
5.3.140.0100.07014.47
5.3.130.0100.04714.50
5.3.120.0100.06014.33
5.3.110.0030.05014.37
5.3.100.0030.07314.11
5.3.90.0030.07713.91
5.3.80.0100.06013.80
5.3.70.0030.07314.03
5.3.60.0030.07714.00
5.3.50.0170.06313.96
5.3.40.0030.08714.00
5.3.30.0130.06713.75
5.3.20.0100.05013.57
5.3.10.0070.05313.55
5.3.00.0100.07313.70
5.2.170.0070.06011.96
5.2.160.0030.05711.96
5.2.150.0130.02711.96
5.2.140.0070.03711.96
5.2.130.0070.06011.96
5.2.120.0070.03011.96
5.2.110.0070.06011.96
5.2.100.0070.04311.96
5.2.90.0070.06011.96
5.2.80.0030.05711.96
5.2.70.0070.04011.96
5.2.60.0070.04711.96
5.2.50.0000.04011.96
5.2.40.0100.02711.96
5.2.30.0070.06311.96
5.2.20.0030.06311.96
5.2.10.0030.06011.96
5.2.00.0000.05711.96
5.1.60.0030.05711.96
5.1.50.0030.04311.96
5.1.40.0070.04311.96
5.1.30.0000.03711.96
5.1.20.0100.02311.96
5.1.10.0030.05711.96
5.1.00.0000.04011.96
5.0.50.0070.01711.96
5.0.40.0000.03711.96
5.0.30.0070.04711.96
5.0.20.0000.01711.96
5.0.10.0000.04711.96
5.0.00.0030.03311.96
4.4.90.0030.03011.96
4.4.80.0030.02011.96
4.4.70.0000.03311.96
4.4.60.0000.03711.96
4.4.50.0030.02311.96
4.4.40.0070.05011.96
4.4.30.0100.02311.96
4.4.20.0000.03711.96
4.4.10.0000.02311.96
4.4.00.0000.02711.96
4.3.110.0000.01311.96
4.3.100.0100.02711.96
4.3.90.0030.03311.96
4.3.80.0030.04311.96
4.3.70.0000.02311.96
4.3.60.0070.03011.96
4.3.50.0030.01311.96
4.3.40.0030.03311.96
4.3.30.0000.02311.96
4.3.20.0000.03711.96
4.3.10.0030.03011.96
4.3.00.0030.01711.96

preferences:
36.91 ms | 400 KiB | 5 Q