3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "meno go you to from"; $regexoo = array('to','go'); $text =str_replace($regexoo, '***', $url); echo $text;

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.0110.00418.31
8.3.50.0110.00418.04
8.3.40.0110.00418.86
8.3.30.0170.00318.91
8.3.20.0040.00420.09
8.3.10.0040.00421.65
8.3.00.0050.00319.25
8.2.180.0140.00718.06
8.2.170.0040.01122.96
8.2.160.0110.00720.44
8.2.150.0000.00724.18
8.2.140.0050.00224.66
8.2.130.0000.00726.16
8.2.120.0040.00419.66
8.2.110.0060.00319.35
8.2.100.0110.00017.63
8.2.90.0040.00418.91
8.2.80.0050.00317.97
8.2.70.0030.00617.38
8.2.60.0050.00317.93
8.2.50.0040.00818.07
8.2.40.0040.00418.34
8.2.30.0070.00018.05
8.2.20.0040.00417.59
8.2.10.0040.00418.11
8.2.00.0000.00717.76
8.1.280.0030.01725.92
8.1.270.0080.00018.83
8.1.260.0070.00026.35
8.1.250.0050.00228.09
8.1.240.0030.00623.86
8.1.230.0090.00317.42
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0060.00317.00
8.1.180.0070.00018.10
8.1.170.0050.00318.59
8.1.160.0000.00721.99
8.1.150.0080.00018.86
8.1.140.0080.00017.23
8.1.130.0050.00317.72
8.1.120.0000.00717.42
8.1.110.0040.00417.35
8.1.100.0040.00417.39
8.1.90.0000.00717.36
8.1.80.0000.00817.27
8.1.70.0000.00717.32
8.1.60.0050.00517.56
8.1.50.0040.00417.46
8.1.40.0040.00417.41
8.1.30.0000.00817.41
8.1.20.0000.00717.42
8.1.10.0000.00717.49
8.1.00.0030.00617.42
8.0.300.0030.00318.77
8.0.290.0070.00016.75
8.0.280.0050.00218.43
8.0.270.0000.00717.27
8.0.260.0000.00617.19
8.0.250.0030.00316.91
8.0.240.0000.00716.80
8.0.230.0030.00316.80
8.0.220.0070.00016.80
8.0.210.0030.00316.78
8.0.200.0070.00016.88
8.0.190.0050.00316.91
8.0.180.0040.00416.84
8.0.170.0000.00716.73
8.0.160.0050.00316.73
8.0.150.0030.00516.76
8.0.140.0070.00016.79
8.0.130.0000.00613.24
8.0.120.0040.00416.79
8.0.110.0040.00416.82
8.0.100.0040.00416.60
8.0.90.0000.00716.80
8.0.80.0100.01116.79
8.0.70.0060.00316.66
8.0.60.0020.00516.84
8.0.50.0000.00716.68
8.0.30.0060.01416.99
8.0.20.0180.00817.40
8.0.10.0070.00016.84
8.0.00.0120.00516.70
7.4.330.0050.00015.03
7.4.320.0060.00016.52
7.4.300.0030.00316.34
7.4.290.0020.00516.43
7.4.280.0000.00716.46
7.4.270.0030.00316.53
7.4.260.0040.00416.54
7.4.250.0080.00016.32
7.4.240.0050.00216.53
7.4.230.0030.00316.50
7.4.220.0130.00316.38
7.4.210.0060.01216.45
7.4.200.0030.00316.50
7.4.160.0100.00616.45
7.4.150.0170.00417.40
7.4.140.0110.00617.86
7.4.130.0150.00516.44
7.4.120.0130.00416.45
7.4.110.0040.01416.34
7.4.100.0070.01016.52
7.4.90.0110.00716.25
7.4.80.0130.00719.39
7.4.70.0130.00316.53
7.4.60.0060.01516.39
7.4.50.0030.00616.36
7.4.40.0060.01516.14
7.4.30.0110.00716.43
7.4.00.0000.01414.75
7.3.330.0020.00212.88
7.3.320.0090.00513.09
7.3.310.0070.00016.06
7.3.300.0000.00716.09
7.3.290.0040.01316.17
7.3.280.0080.01016.18
7.3.270.0100.01417.40
7.3.260.0100.00716.47
7.3.250.0040.01316.39
7.3.240.0080.00816.24
7.3.230.0100.00716.43
7.3.210.0060.01016.27
7.3.200.0090.00919.39
7.3.190.0060.00916.48
7.3.180.0060.01116.21
7.3.170.0180.00316.27
7.3.160.0140.00816.35
7.2.330.0090.01516.23
7.2.320.0100.00716.42
7.2.310.0030.01316.34
7.2.300.0120.00916.43
7.2.290.0060.01216.33
7.2.00.0030.01519.03
7.1.100.0040.00818.16
7.1.70.0030.00617.03
7.1.60.0070.01719.50
7.1.50.0040.01916.40
7.1.00.0000.07722.27
7.0.200.0060.00316.73
7.0.140.0030.07722.18
7.0.60.0030.04020.02
7.0.50.0070.05017.90
7.0.40.0070.09020.30
7.0.30.0300.06320.02
7.0.20.0230.07720.20
7.0.10.0230.05020.16
7.0.00.0000.04720.13
5.6.280.0000.07321.01
5.6.210.0100.07320.73
5.6.200.0070.08018.22
5.6.190.0170.03320.41
5.6.180.0330.06020.39
5.6.170.0200.04320.50
5.6.160.0100.03720.71
5.6.150.0030.04318.18
5.6.140.0070.03718.18
5.6.130.0130.04718.21
5.6.120.0170.07320.99
5.6.110.0070.08720.93
5.6.100.0030.08020.99
5.6.90.0170.07721.07
5.6.80.0170.07320.42
5.6.70.0130.07720.39
5.5.350.0200.07320.42
5.5.340.0000.04317.88
5.5.330.0170.07020.07
5.5.320.0130.06020.21
5.5.310.0400.07020.50
5.5.300.0070.08317.88
5.5.290.0170.07317.98
5.5.280.0100.03320.68
5.5.270.0100.06320.95
5.5.260.0170.08020.75
5.5.250.0100.07720.68
5.5.240.0130.07020.28
5.4.450.0200.05019.02
5.4.440.0500.05719.45
5.4.430.1000.06019.45
5.4.420.0830.05319.57
5.4.410.0070.05718.99
5.4.400.0200.07018.62
5.4.390.0270.05718.65
5.4.380.0230.05318.52
5.4.370.0130.05718.66
5.4.360.0230.06018.69
5.4.350.0130.07718.65
5.4.340.0170.06718.66
5.4.320.0130.06718.56
5.4.310.0130.05718.49
5.4.300.0170.06318.71
5.4.290.0200.06318.65
5.4.280.0300.06018.64
5.4.270.0170.05318.51
5.4.260.0170.06318.73
5.4.250.0170.06318.71
5.4.240.0200.07018.66
5.4.230.0200.07018.73
5.4.220.0200.07318.55
5.4.210.0270.06318.68
5.4.200.0170.06716.38
5.4.190.0130.05718.43
5.4.180.0170.05018.52
5.4.170.0200.05318.70
5.4.160.0200.06018.50
5.4.150.0270.04718.68
5.4.140.0170.05316.32
5.4.130.0170.04716.15
5.4.120.0130.05716.19
5.4.110.0170.06716.18
5.4.100.0170.05716.07
5.4.90.0230.05716.34
5.4.80.0170.06716.14
5.4.70.0200.06016.23
5.4.60.0170.05316.05
5.4.50.0100.06016.03
5.4.40.0230.07016.01
5.4.30.0100.05716.28
5.4.20.0130.05716.12
5.4.10.0100.05716.19
5.4.00.0270.06015.70
5.3.290.0270.07014.71
5.3.280.0130.07014.57
5.3.270.0230.05014.71
5.3.260.0070.07714.65
5.3.250.0200.06314.63
5.3.240.0170.05714.51
5.3.230.0130.05714.55
5.3.220.0100.05714.66
5.3.210.0200.06014.54
5.3.200.0230.04714.47
5.3.190.0170.05314.54
5.3.180.0200.04714.63
5.3.170.0130.05714.45
5.3.160.0130.06314.51
5.3.150.0200.05014.63
5.3.140.0130.05014.48
5.3.130.0200.05314.63
5.3.120.0230.05314.57
5.3.110.0100.06014.45
5.3.100.0100.05714.12
5.3.90.0100.05713.98
5.3.80.0130.05313.92
5.3.70.0200.04714.10
5.3.60.0330.05013.99
5.3.50.0230.05013.86
5.3.40.0100.05713.91
5.3.30.0200.04313.93
5.3.20.0130.05013.72
5.3.10.0270.04713.59
5.3.00.0170.04713.73
5.2.170.0130.04011.29
5.2.160.0100.04311.13
5.2.150.0130.06311.11
5.2.140.0130.04011.09
5.2.130.0030.04711.06
5.2.120.0130.03711.13
5.2.110.0130.04311.16
5.2.100.0170.03711.07
5.2.90.0100.04711.14
5.2.80.0100.06011.16
5.2.70.0130.04311.06
5.2.60.0200.04011.07
5.2.50.0100.04311.15
5.2.40.0100.04010.96
5.2.30.0100.04311.00
5.2.20.0130.04010.93
5.2.10.0100.04010.83
5.2.00.0230.03710.85
5.1.60.0130.03010.07
5.1.50.0130.0379.97
5.1.40.0070.04010.00
5.1.30.0100.03710.43
5.1.20.0030.04310.37
5.1.10.0100.03310.09
5.1.00.0100.04010.13
5.0.50.0070.0308.66
5.0.40.0030.0408.46
5.0.30.0130.0378.24
5.0.20.0130.0278.21
5.0.10.0230.0338.18
5.0.00.0070.0508.17
4.4.90.0170.0135.92
4.4.80.0030.0275.83
4.4.70.0030.0275.86
4.4.60.0070.0235.90
4.4.50.0030.0275.91
4.4.40.0100.0405.91
4.4.30.0100.0205.91
4.4.20.0130.0235.97
4.4.10.0100.0275.87
4.4.00.0100.0405.95
4.3.110.0030.0375.79
4.3.100.0100.0205.82
4.3.90.0000.0275.84
4.3.80.0030.0405.78
4.3.70.0100.0235.87
4.3.60.0030.0305.81
4.3.50.0100.0175.78
4.3.40.0100.0335.78
4.3.30.0100.0174.66
4.3.20.0030.0274.57
4.3.10.0070.0204.48
4.3.00.0000.0236.92

preferences:
61.97 ms | 400 KiB | 5 Q