3v4l.org

run code in 300+ PHP versions simultaneously
<?php $buf = "sdsfdsfdsfs"; $buffer = preg_replace('#выав#si', 'dfs$13423', $buf, 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.60.0140.00016.75
8.3.50.0110.00622.14
8.3.40.0120.00318.91
8.3.30.0100.00318.95
8.3.20.0040.00420.16
8.3.10.0040.00423.53
8.3.00.0040.00422.52
8.2.180.0110.00416.63
8.2.170.0030.01022.96
8.2.160.0070.01020.52
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0070.00726.16
8.2.120.0050.00322.21
8.2.110.0100.00021.06
8.2.100.0040.00818.09
8.2.90.0030.00619.27
8.2.80.0000.00817.97
8.2.70.0060.00317.75
8.2.60.0060.00317.80
8.2.50.0040.00418.22
8.2.40.0040.00420.40
8.2.30.0050.00321.05
8.2.20.0000.00817.73
8.2.10.0040.00417.76
8.2.00.0070.00317.73
8.1.280.0120.00325.92
8.1.270.0070.00723.83
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0060.00322.62
8.1.230.0070.00320.39
8.1.220.0000.00917.74
8.1.210.0030.00618.77
8.1.200.0030.00517.35
8.1.190.0040.00817.35
8.1.180.0060.00318.10
8.1.170.0040.00418.71
8.1.160.0080.00018.75
8.1.150.0000.00719.96
8.1.140.0060.00317.45
8.1.130.0070.00017.84
8.1.120.0000.00717.45
8.1.110.0000.00717.41
8.1.100.0040.00417.45
8.1.90.0000.00817.46
8.1.80.0030.00317.51
8.1.70.0030.00317.40
8.1.60.0050.00317.55
8.1.50.0060.00317.63
8.1.40.0000.00817.64
8.1.30.0000.00817.69
8.1.20.0040.00417.80
8.1.10.0070.00017.59
8.1.00.0000.00717.38
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0000.00718.46
8.0.270.0000.00817.11
8.0.260.0030.00316.86
8.0.250.0040.00417.06
8.0.240.0080.00016.94
8.0.230.0000.00817.01
8.0.220.0040.00416.95
8.0.210.0030.00316.96
8.0.200.0090.00017.01
8.0.190.0070.00016.92
8.0.180.0000.00817.02
8.0.170.0000.00917.00
8.0.160.0000.00716.93
8.0.150.0000.00716.80
8.0.140.0080.00016.96
8.0.130.0030.00313.36
8.0.120.0040.00416.84
8.0.110.0000.00716.95
8.0.100.0000.00717.08
8.0.90.0070.00016.96
8.0.80.0060.00916.85
8.0.70.0000.00816.87
8.0.60.0040.00417.04
8.0.50.0070.00016.77
8.0.30.0090.01017.02
8.0.20.0140.00517.40
8.0.10.0040.00416.89
8.0.00.0100.01116.77
7.4.330.0020.00215.04
7.4.320.0030.00316.75
7.4.300.0000.00616.78
7.4.290.0000.00716.78
7.4.280.0030.00316.74
7.4.270.0040.00416.75
7.4.260.0000.00816.72
7.4.250.0000.00816.60
7.4.240.0020.00516.74
7.4.230.0030.00316.45
7.4.220.0190.00616.67
7.4.210.0070.01116.71
7.4.200.0040.00416.66
7.4.190.0040.00416.79
7.4.160.0080.00816.58
7.4.150.0070.01117.40
7.4.140.0120.00617.86
7.4.130.0110.00816.43
7.4.120.0090.00916.83
7.4.110.0100.00616.43
7.4.100.0070.01016.56
7.4.90.0070.01016.50
7.4.80.0230.00019.39
7.4.70.0070.01016.53
7.4.60.0110.00716.45
7.4.50.0000.00416.57
7.4.40.0060.00922.77
7.4.30.0130.00916.50
7.4.00.0030.01014.81
7.3.330.0020.00213.17
7.3.320.0000.00613.20
7.3.310.0030.00316.36
7.3.300.0070.00016.28
7.3.290.0070.01316.28
7.3.280.0050.01316.27
7.3.270.0090.00917.40
7.3.260.0090.00916.54
7.3.250.0110.00816.53
7.3.240.0180.00316.46
7.3.230.0060.01016.39
7.3.210.0090.00916.34
7.3.200.0100.00719.39
7.3.190.0090.00916.25
7.3.180.0090.00616.33
7.3.170.0130.00316.49
7.3.160.0060.01016.55
7.3.120.0030.00714.83
7.2.330.0210.00716.68
7.2.320.0080.00816.55
7.2.310.0100.00716.57
7.2.300.0030.01516.40
7.2.290.0060.01016.59
7.2.00.0030.00719.48
7.1.100.0000.01418.09
7.1.70.0000.01016.99
7.1.60.0060.01919.29
7.1.50.0100.01317.24
7.1.00.0070.07322.42
7.0.200.0120.00416.83
7.0.140.0000.07721.95
7.0.60.0100.08019.93
7.0.50.0170.06717.84
7.0.40.0100.03720.11
7.0.30.0270.04320.19
7.0.20.0230.05720.32
7.0.10.0070.08720.11
7.0.00.0030.04720.10
5.6.280.0070.07020.77
5.6.210.0130.07320.61
5.6.200.0100.07718.19
5.6.190.0030.04720.64
5.6.180.0330.05720.41
5.6.170.0270.04020.71
5.6.160.0030.08720.45
5.6.150.0100.08018.11
5.6.140.0070.07718.21
5.6.130.0070.05018.20
5.6.120.0130.04721.10
5.6.110.0070.08320.88
5.6.100.0100.09020.97
5.6.90.0100.05020.97
5.6.80.0070.03320.37
5.5.350.0070.08320.51
5.5.340.0070.08317.98
5.5.330.0100.07020.45
5.5.320.0030.08020.30
5.5.310.0330.07720.21
5.5.300.0070.06017.98
5.5.290.0030.08717.98
5.5.280.0030.05020.97
5.5.270.0100.08020.77
5.5.260.0070.06720.72
5.5.250.0070.05020.54
5.5.240.0130.04320.25
5.4.450.2200.05019.45
5.4.440.1700.03319.38
5.4.430.1700.03019.41
5.4.420.1370.03719.52
5.4.410.1470.03719.28
5.4.400.1730.03318.78
5.4.390.1170.03319.07
5.4.380.0230.03319.24
5.4.370.0070.03318.91
5.4.360.0070.04719.08
5.4.350.0970.03319.22
5.4.340.0100.03719.09
5.4.320.0030.07319.15
5.4.310.0070.03319.06
5.4.300.1530.02719.21
5.4.290.1700.03718.93
5.4.280.1770.04719.09
5.4.270.1830.03019.06
5.4.260.1770.03318.91
5.4.250.1730.04319.12
5.4.240.1770.02719.09
5.4.230.1900.04319.23
5.4.220.1570.03719.05
5.4.210.1800.04319.24
5.4.200.0000.04318.93
5.4.190.0030.03719.11
5.4.180.0700.04019.08
5.4.170.1900.04019.20
5.4.160.1930.04319.10
5.4.150.1500.04318.89
5.4.140.1670.03716.35
5.4.130.1670.04316.16
5.4.120.1330.03316.27
5.4.110.1700.04016.46
5.4.100.1800.03016.47
5.4.90.1900.03716.42
5.4.80.1600.03316.05
5.4.70.1770.04016.38
5.4.60.1600.03716.28
5.4.50.0070.06716.28
5.4.40.0030.07016.40
5.4.30.1270.04316.40
5.4.20.0030.05016.36
5.4.10.0000.06716.28
5.4.00.0370.03715.68
5.3.290.1570.03714.75
5.3.280.1670.03314.53
5.3.270.0000.04014.54
5.3.260.0000.04014.39
5.3.250.0030.03714.54
5.3.240.1470.04314.46
5.3.230.1800.04314.43
5.3.220.1500.03714.44
5.3.210.1670.04314.39
5.3.200.1700.03714.40
5.3.190.1800.04314.51
5.3.180.1530.03314.40
5.3.170.1830.03714.46
5.3.160.1700.05014.57
5.3.150.1630.03014.65
5.3.140.1930.03314.60
5.3.130.1730.03314.63
5.3.120.1830.03714.38
5.3.110.1600.04014.50
5.3.100.1570.03713.97
5.3.90.1770.05013.88
5.3.80.1630.04313.96
5.3.70.1530.04313.82
5.3.60.1670.04713.99
5.3.50.1530.04013.89
5.3.40.1500.04013.82
5.3.30.1730.04013.75
5.3.20.1630.03013.73
5.3.10.1570.02713.75
5.3.00.1670.04713.41
5.2.170.1300.03310.98
5.2.160.1530.03011.30
5.2.150.1300.03310.98
5.2.140.1300.03311.08
5.2.130.1400.03011.26
5.2.120.1300.03010.96
5.2.110.1470.04010.98
5.2.100.1570.03011.26
5.2.90.1470.02710.99
5.2.80.1300.03010.94
5.2.70.1530.04011.00
5.2.60.1370.03311.06
5.2.50.1670.03310.84
5.2.40.1230.03710.83
5.2.30.1130.04010.81
5.2.20.1200.03710.86
5.2.10.0870.02710.71
5.2.00.1170.02710.61
5.1.60.0930.0239.85
5.1.50.1100.0379.97
5.1.40.1200.0279.98
5.1.30.1000.02310.23
5.1.20.1000.02310.24
5.1.10.1030.02010.04
5.1.00.0970.02710.05
5.0.50.0670.0278.47
5.0.40.0670.0278.34
5.0.30.0500.0278.11
5.0.20.0470.0238.28
5.0.10.0700.0308.09
5.0.00.0600.0338.13
4.4.90.0670.0178.06
4.4.80.0530.0278.06
4.4.70.0630.0208.06
4.4.60.0530.0208.06
4.4.50.0570.0138.06
4.4.40.0530.0238.06
4.4.30.0670.0178.06
4.4.20.0570.0178.06
4.4.10.0570.0178.06
4.4.00.0600.0278.06
4.3.110.0600.0178.06
4.3.100.0670.0278.06
4.3.90.0630.0138.06
4.3.80.0700.0378.06
4.3.70.0730.0208.06
4.3.60.0730.0208.06
4.3.50.0730.0238.06
4.3.40.0500.0238.06
4.3.30.0300.0178.06
4.3.20.0300.0208.06
4.3.10.0330.0178.06
4.3.00.0270.0178.06

preferences:
36.89 ms | 400 KiB | 5 Q