3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = "meno go you to from"; $regexoo = array('to','go'); str_replace($regexoo, '***', $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.0000.01518.18
8.3.50.0130.00522.04
8.3.40.0070.00718.89
8.3.30.0090.00618.82
8.3.20.0040.00420.16
8.3.10.0000.00821.95
8.3.00.0040.00419.22
8.2.180.0070.01118.29
8.2.170.0060.01222.96
8.2.160.0100.00320.29
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00319.54
8.2.110.0040.00421.00
8.2.100.0040.01017.43
8.2.90.0000.00817.90
8.2.80.0030.00517.97
8.2.70.0050.00317.50
8.2.60.0050.00317.93
8.2.50.0090.00318.07
8.2.40.0040.00418.16
8.2.30.0040.00417.99
8.2.20.0050.00217.59
8.2.10.0000.00817.96
8.2.00.0000.00717.73
8.1.280.0140.00725.92
8.1.270.0080.00018.71
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.66
8.1.230.0070.00320.97
8.1.220.0000.00817.74
8.1.210.0040.00418.82
8.1.200.0060.00317.36
8.1.190.0030.00617.13
8.1.180.0040.00418.10
8.1.170.0030.00618.50
8.1.160.0040.00421.94
8.1.150.0040.00418.82
8.1.140.0000.00817.39
8.1.130.0070.00017.82
8.1.120.0040.00417.42
8.1.110.0030.00417.32
8.1.100.0040.00417.45
8.1.90.0000.00717.31
8.1.80.0040.00417.43
8.1.70.0040.00417.38
8.1.60.0060.00317.54
8.1.50.0000.00817.46
8.1.40.0040.00417.45
8.1.30.0040.00417.52
8.1.20.0040.00417.65
8.1.10.0060.00317.39
8.1.00.0040.00417.41
8.0.300.0030.00619.82
8.0.290.0070.00016.75
8.0.280.0000.00818.36
8.0.270.0030.00317.18
8.0.260.0000.00717.20
8.0.250.0000.00716.87
8.0.240.0030.00316.93
8.0.230.0070.00016.91
8.0.220.0030.00616.82
8.0.210.0000.00816.87
8.0.200.0000.00616.94
8.0.190.0080.00016.78
8.0.180.0000.00716.84
8.0.170.0070.00016.94
8.0.160.0000.00816.93
8.0.150.0000.00816.80
8.0.140.0070.00016.83
8.0.130.0000.00513.32
8.0.120.0040.00416.83
8.0.110.0070.00016.71
8.0.100.0020.00516.95
8.0.90.0040.00416.69
8.0.80.0120.00316.77
8.0.70.0030.00616.69
8.0.60.0040.00417.00
8.0.50.0070.00016.93
8.0.30.0120.01017.05
8.0.20.0130.00817.40
8.0.10.0000.00716.83
8.0.00.0050.01116.65
7.4.330.0000.00515.03
7.4.320.0000.00716.44
7.4.300.0000.00616.56
7.4.290.0000.00716.51
7.4.280.0070.00016.45
7.4.270.0030.00316.59
7.4.260.0030.00616.42
7.4.250.0050.00316.49
7.4.240.0030.00416.41
7.4.230.0070.00016.54
7.4.220.0140.00316.58
7.4.210.0030.01616.57
7.4.200.0030.00316.35
7.4.160.0110.00616.27
7.4.150.0080.01217.40
7.4.140.0100.01017.86
7.4.130.0120.01016.45
7.4.120.0070.01116.42
7.4.110.0000.02016.39
7.4.100.0030.01316.52
7.4.90.0070.01716.39
7.4.80.0100.01019.39
7.4.70.0100.00716.55
7.4.60.0060.01016.42
7.4.50.0050.00316.48
7.4.40.0100.01016.64
7.4.30.0160.00416.55
7.4.00.0070.00714.83
7.3.330.0000.00513.11
7.3.320.0120.00612.95
7.3.310.0040.00416.13
7.3.300.0030.00316.25
7.3.290.0120.00516.19
7.3.280.0050.01116.19
7.3.270.0090.00917.40
7.3.260.0140.01116.24
7.3.250.0130.00716.28
7.3.240.0040.01716.14
7.3.230.0140.00316.39
7.3.210.0130.00516.48
7.3.200.0080.01119.39
7.3.190.0090.00616.23
7.3.180.0080.00816.16
7.3.170.0130.00516.27
7.3.160.0100.00616.18
7.3.120.0070.00714.70
7.3.110.0070.00714.66
7.3.100.0100.00714.62
7.3.90.0000.01314.49
7.3.80.0130.00314.60
7.3.70.0070.00314.71
7.3.60.0110.00414.56
7.3.50.0000.00914.64
7.3.40.0100.00314.58
7.3.30.0070.00714.56
7.3.20.0120.00316.46
7.3.10.0060.00316.76
7.3.00.0120.00416.69
7.2.330.0100.01316.43
7.2.320.0070.01016.53
7.2.310.0070.01116.37
7.2.300.0040.01216.54
7.2.290.0030.01816.56
7.2.250.0080.00815.07
7.2.240.0060.01314.89
7.2.230.0130.00314.78
7.2.220.0130.00615.03
7.2.210.0070.00715.01
7.2.200.0060.00614.77
7.2.190.0090.00614.43
7.2.180.0070.00714.51
7.2.170.0120.00414.91
7.2.110.0320.00416.30
7.2.80.0100.00716.32
7.2.60.0030.00816.58
7.2.00.0090.00618.97
7.1.330.0100.00715.70
7.1.320.0070.00715.61
7.1.310.0030.01015.79
7.1.300.0000.01415.73
7.1.290.0100.00415.65
7.1.280.0110.00415.68
7.1.270.0070.00715.83
7.1.260.0100.00315.73
7.1.200.0080.00415.67
7.1.100.0090.00318.07
7.1.70.0030.00316.89
7.1.60.0100.01319.50
7.1.50.0000.01416.63
7.1.00.0030.07722.51
7.0.200.0000.00716.85
7.0.140.0070.07322.02
7.0.60.0100.08019.89
7.0.50.0100.05717.89
7.0.40.0070.09020.26
7.0.30.0230.03720.09
7.0.20.0300.06320.21
7.0.10.0330.08720.17
7.0.00.0100.05020.29
5.6.280.0000.07721.07
5.6.210.0200.06320.53
5.6.200.0100.07718.13
5.6.190.0030.09020.63
5.6.180.0330.06720.56
5.6.170.0270.07320.50
5.6.160.0070.04020.70
5.6.150.0100.05718.18
5.6.140.0130.05018.21
5.6.130.0030.09018.07
5.6.120.0170.07721.09
5.6.110.0100.06320.97
5.6.100.0200.06721.10
5.6.90.0030.09020.97
5.6.80.0130.07020.53
5.5.350.0100.03320.40
5.5.340.0070.03718.02
5.5.330.0000.05720.15
5.5.320.0130.03720.41
5.5.310.0300.07020.17
5.5.300.0070.08017.92
5.5.290.0130.04017.91
5.5.280.0030.04320.76
5.5.270.0100.07320.79
5.5.260.0170.05320.78
5.5.250.0100.04020.68
5.5.240.0030.08320.18
5.4.450.0130.05719.20
5.4.440.0970.06019.62
5.4.430.0930.05019.48
5.4.420.1000.06019.58
5.4.410.0130.04719.49
5.4.400.0170.06018.78
5.4.390.0170.06718.53
5.4.380.0100.06018.46
5.4.370.0100.06318.55
5.4.360.0200.05318.57
5.4.350.0200.06018.46
5.4.340.0170.05318.58
5.4.320.0200.05018.55
5.4.310.0130.07318.46
5.4.300.0130.05318.70
5.4.290.0100.06018.64
5.4.280.0270.06018.74
5.4.270.0100.06018.68
5.4.260.0230.06718.45
5.4.250.0130.06718.57
5.4.240.0130.07718.60
5.4.230.0230.05018.59
5.4.220.0230.06718.55
5.4.210.0130.06018.44
5.4.200.0230.04716.73
5.4.190.0170.05318.61
5.4.180.0070.06318.56
5.4.170.0230.06018.64
5.4.160.0130.07718.67
5.4.150.0130.06018.62
5.4.140.0170.06016.09
5.4.130.0130.05316.15
5.4.120.0270.04716.24
5.4.110.0170.06716.19
5.4.100.0200.06016.06
5.4.90.0170.07016.30
5.4.80.0130.05716.13
5.4.70.0230.05016.20
5.4.60.0200.05316.22
5.4.50.0200.05016.28
5.4.40.0330.04316.28
5.4.30.0170.05316.18
5.4.20.0130.06016.09
5.4.10.0170.06716.24
5.4.00.0130.05315.61
5.3.290.0200.05314.64
5.3.280.0300.05714.68
5.3.270.0230.07014.55
5.3.260.0230.06014.47
5.3.250.0230.05714.59
5.3.240.0230.06014.61
5.3.230.0230.07314.68
5.3.220.0200.05314.61
5.3.210.0130.06314.54
5.3.200.0170.07314.66
5.3.190.0070.08014.55
5.3.180.0200.06714.65
5.3.170.0230.04714.55
5.3.160.0170.05714.54
5.3.150.0170.05314.47
5.3.140.0170.07014.62
5.3.130.0270.05714.56
5.3.120.0230.07014.47
5.3.110.0170.07314.55
5.3.100.0230.06013.94
5.3.90.0330.04013.93
5.3.80.0170.05314.04
5.3.70.0170.05313.99
5.3.60.0230.04713.95
5.3.50.0230.06314.02
5.3.40.0230.06314.04
5.3.30.0170.05313.88
5.3.20.0100.05313.62
5.3.10.0330.05013.57
5.3.00.0270.05013.55
5.2.170.0200.03711.29
5.2.160.0200.03711.06
5.2.150.0030.05311.11
5.2.140.0230.03711.10
5.2.130.0130.04711.09
5.2.120.0200.04011.08
5.2.110.0100.04311.05
5.2.100.0330.03711.14
5.2.90.0170.05311.24
5.2.80.0170.04311.25
5.2.70.0070.05711.15
5.2.60.0230.05311.18
5.2.50.0100.04710.97
5.2.40.0100.04710.94
5.2.30.0170.04310.89
5.2.20.0170.03711.09
5.2.10.0130.04310.98
5.2.00.0030.05010.73
5.1.60.0100.03310.06
5.1.50.0030.04010.00
5.1.40.0130.03710.01
5.1.30.0100.03710.38
5.1.20.0100.04310.42
5.1.10.0130.04310.14
5.1.00.0100.04010.13
5.0.50.0070.0308.60
5.0.40.0070.0308.39
5.0.30.0100.0538.32
5.0.20.1030.0378.34
5.0.10.0200.0238.18
5.0.00.0100.0438.34
4.4.90.0100.0235.86
4.4.80.0070.0305.88
4.4.70.0130.0235.81
4.4.60.0170.0205.89
4.4.50.0700.0275.89
4.4.40.0030.0475.85
4.4.30.0100.0235.88
4.4.20.0070.0235.98
4.4.10.0130.0175.93
4.4.00.0100.0405.95
4.3.110.0070.0305.80
4.3.100.0130.0175.82
4.3.90.0130.0175.82
4.3.80.0030.0435.80
4.3.70.1030.0275.80
4.3.60.0030.0235.78
4.3.50.0100.0275.77
4.3.40.0030.0375.73
4.3.30.0030.0234.55
4.3.20.0570.0274.57
4.3.10.0000.0304.61
4.3.00.0000.0236.92

preferences:
52.93 ms | 401 KiB | 5 Q