3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = 'Título ú Nota ó ! ! '; $text = preg_replace('/[^a-zA-Z0-9áéíóúñ\', ]/i','',$text); 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.0120.00318.43
8.3.50.0140.00822.05
8.3.40.0070.01018.84
8.3.30.0110.00418.94
8.3.20.0040.00420.21
8.3.10.0050.00321.96
8.3.00.0000.00722.35
8.2.180.0110.00418.39
8.2.170.0140.00022.96
8.2.160.0070.00720.97
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0150.00326.16
8.2.120.0040.00419.79
8.2.110.0040.00420.38
8.2.100.0000.01217.83
8.2.90.0030.00619.05
8.2.80.0080.00017.97
8.2.70.0050.00317.50
8.2.60.0050.00317.90
8.2.50.0060.00318.07
8.2.40.0040.00418.34
8.2.30.0020.00518.05
8.2.20.0040.00417.80
8.2.10.0000.00819.67
8.2.00.0040.00417.93
8.1.280.0170.00025.92
8.1.270.0000.00821.88
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0050.00522.59
8.1.230.0040.00821.00
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0040.00717.48
8.1.190.0040.00417.39
8.1.180.0000.00818.49
8.1.170.0000.00818.66
8.1.160.0040.00422.02
8.1.150.0040.00418.78
8.1.140.0040.00417.45
8.1.130.0040.00417.67
8.1.120.0000.00717.46
8.1.110.0040.00417.44
8.1.100.0000.00717.54
8.1.90.0040.00417.59
8.1.80.0000.00817.58
8.1.70.0030.00317.56
8.1.60.0050.00517.68
8.1.50.0000.00717.51
8.1.40.0040.00417.57
8.1.30.0000.00717.61
8.1.20.0040.00417.69
8.1.10.0050.00317.60
8.1.00.0000.00817.61
8.0.300.0040.00418.77
8.0.290.0030.00617.13
8.0.280.0000.00718.46
8.0.270.0070.00017.18
8.0.260.0000.00616.88
8.0.250.0000.00717.08
8.0.240.0000.00717.11
8.0.230.0070.00017.05
8.0.220.0070.00016.88
8.0.210.0000.00716.87
8.0.200.0030.00317.05
8.0.190.0050.00317.04
8.0.180.0000.00716.99
8.0.170.0030.00516.96
8.0.160.0000.00816.88
8.0.150.0040.00416.97
8.0.140.0000.00716.96
8.0.130.0000.00513.42
8.0.120.0000.00816.90
8.0.110.0000.00816.88
8.0.100.0030.00316.84
8.0.90.0030.00416.86
8.0.80.0100.01316.95
8.0.70.0040.00417.00
8.0.60.0040.00416.95
8.0.50.0030.00516.86
8.0.30.0150.00817.16
8.0.20.0150.01117.44
8.0.10.0000.00816.96
8.0.00.0080.01216.96
7.4.330.0030.00315.00
7.4.320.0030.00316.55
7.4.300.0070.00016.77
7.4.290.0000.00716.79
7.4.280.0030.00316.64
7.4.270.0060.00016.65
7.4.260.0030.00616.69
7.4.250.0000.00716.72
7.4.240.0030.00416.72
7.4.230.0000.00816.75
7.4.220.0150.00316.75
7.4.210.0080.00816.70
7.4.200.0030.00616.64
7.4.190.0000.00716.92
7.4.160.0060.01416.66
7.4.150.0110.00717.40
7.4.140.0090.00917.86
7.4.130.0050.01216.62
7.4.120.0100.00616.76
7.4.110.0100.00616.72
7.4.100.0090.00916.74
7.4.90.0100.00716.74
7.4.80.0030.01419.39
7.4.70.0090.01216.86
7.4.60.0130.00316.72
7.4.50.0040.00416.36
7.4.40.0090.00622.77
7.4.30.0070.01016.48
7.4.00.0070.01015.00
7.3.330.0050.00013.02
7.3.320.0050.00013.06
7.3.310.0030.00316.43
7.3.300.0030.00316.34
7.3.290.0060.01316.41
7.3.280.0060.00916.31
7.3.270.0070.01717.40
7.3.260.0150.00816.66
7.3.250.0130.00816.53
7.3.240.0140.00716.75
7.3.230.0060.01016.39
7.3.210.0030.01416.59
7.3.200.0180.00019.39
7.3.190.0090.00916.30
7.3.180.0120.00916.32
7.3.170.0100.00716.28
7.3.160.0160.00016.63
7.3.120.0070.01014.86
7.2.330.0020.01516.62
7.2.320.0100.00716.58
7.2.310.0130.01016.70
7.2.300.0080.00816.74
7.2.290.0050.01116.65
7.2.60.0080.00516.89
7.1.200.0040.00415.93
7.1.70.0030.01417.43
7.1.60.0130.01319.82
7.1.50.0140.00717.20
7.1.00.0030.07322.55
7.0.200.0030.00716.75
7.0.140.0030.07322.00
7.0.60.0100.07719.85
7.0.50.0130.03317.89
7.0.40.0170.08020.20
7.0.30.0300.05720.11
7.0.20.0300.08020.02
7.0.10.0270.08320.01
7.0.00.0070.04320.17
5.6.280.0030.07321.03
5.6.210.0130.04720.50
5.6.200.0070.08718.21
5.6.190.0100.06020.64
5.6.180.3600.04720.64
5.6.170.0370.06720.47
5.6.160.0130.07720.33
5.6.150.0130.03718.19
5.6.140.0070.08018.11
5.6.130.0030.05318.14
5.6.120.0230.07021.04
5.6.110.0030.07721.04
5.6.100.0030.07320.99
5.6.90.0130.07020.94
5.6.80.0030.08020.39
5.6.70.0430.06020.33
5.5.350.0030.03020.37
5.5.340.0130.04718.03
5.5.330.0000.04720.25
5.5.320.0270.08320.34
5.5.310.0130.04020.21
5.5.300.0000.07717.95
5.5.290.0070.08317.92
5.5.280.0170.07320.86
5.5.270.0130.06720.75
5.5.260.0100.05320.80
5.5.250.0070.08020.67
5.5.240.0100.07720.36
5.4.450.0030.05319.46
5.4.440.0070.07319.54
5.4.430.0000.08019.20
5.4.420.0030.05019.13
5.4.410.0070.05319.08
5.4.400.0100.06318.80
5.4.390.0070.07019.08
5.4.380.0030.06319.22
5.4.370.0070.04718.81
5.4.360.0070.06719.27
5.4.350.0030.07719.16
5.4.340.0030.08719.09
5.4.320.0100.07319.08
5.4.310.0130.06719.06
5.4.300.0000.05719.13
5.4.290.0070.07019.12
5.4.280.0070.05319.24
5.4.270.0030.05719.24
5.4.260.0000.08019.08
5.4.250.0000.06719.09
5.4.240.0000.05018.88
5.4.230.0100.06018.92
5.4.220.0000.06319.06
5.4.210.0100.05019.13
5.4.200.0030.04719.12
5.4.190.0030.06018.92
5.4.180.0000.08018.84
5.4.170.0100.04318.87
5.4.160.0000.06718.77
5.4.150.0070.06319.23
5.4.140.0100.06716.23
5.4.130.0070.06716.31
5.4.120.0030.06316.44
5.4.110.0000.06316.06
5.4.100.0000.04716.44
5.4.90.0030.04716.21
5.4.80.0070.03016.48
5.4.70.0000.03716.32
5.4.60.0030.03316.34
5.4.50.0030.03316.41
5.4.40.0030.04716.32
5.4.30.0000.04716.19
5.4.20.0030.04316.46
5.4.10.0070.03716.41
5.4.00.0070.06715.72
5.3.290.0000.08314.60
5.3.280.0030.07714.44
5.3.270.0000.07014.43
5.3.260.0000.06314.55
5.3.250.0070.06014.55
5.3.240.0030.07714.44
5.3.230.0030.06014.54
5.3.220.0030.07314.41
5.3.210.0000.05314.54
5.3.200.0030.08314.65
5.3.190.0030.03314.41
5.3.180.0070.04014.65
5.3.170.0000.03714.58
5.3.160.0000.04314.41
5.3.150.0000.08014.39
5.3.140.0030.06014.38
5.3.130.0000.05314.40
5.3.120.0030.08014.50
5.3.110.0100.04014.40
5.3.100.0030.08013.90
5.3.90.0000.09013.97
5.3.80.0030.07713.89
5.3.70.0070.04013.85
5.3.60.0030.06013.85
5.3.50.0000.05013.98
5.3.40.0000.07313.77
5.3.30.0070.06313.84
5.3.20.0070.03713.54
5.3.10.0030.06713.58
5.3.00.0000.05013.48
5.2.170.0070.03312.13
5.2.160.0000.06312.13
5.2.150.0030.04312.13
5.2.140.0070.05712.13
5.2.130.0030.06012.13
5.2.120.0030.03312.13
5.2.110.0000.03712.13
5.2.100.0000.03012.13
5.2.90.0070.05712.13
5.2.80.0030.04312.13
5.2.70.0000.06712.13
5.2.60.0100.04712.13
5.2.50.0030.06012.13
5.2.40.0030.03312.13
5.2.30.0030.06012.13
5.2.20.0000.04712.13
5.2.10.0070.04312.13
5.2.00.0070.05312.13
5.1.60.0030.05312.13
5.1.50.0070.04312.13
5.1.40.0030.05012.13
5.1.30.0000.04012.13
5.1.20.0030.05712.13
5.1.10.0230.03712.13
5.1.00.0100.05312.13
5.0.50.0070.02712.13
5.0.40.0030.04312.13
5.0.30.0030.05312.13
5.0.20.0000.02712.13
5.0.10.0000.04012.13
5.0.00.0000.05012.13
4.4.90.0030.03312.13
4.4.80.0000.03312.13
4.4.70.0000.04012.13
4.4.60.0030.03312.13
4.4.50.0070.02312.13
4.4.40.0000.04712.13
4.4.30.0030.03312.13
4.4.20.0070.03012.13
4.4.10.0000.04012.13
4.4.00.0070.05312.13
4.3.110.0000.02712.13
4.3.100.0070.02712.13
4.3.90.0000.03312.13
4.3.80.0000.04012.13
4.3.70.0000.02012.13
4.3.60.0000.03312.13
4.3.50.0070.02312.13
4.3.40.0000.03712.13
4.3.30.0000.03312.13
4.3.20.0030.02012.13
4.3.10.0030.02312.13
4.3.00.0000.02312.13

preferences:
46.24 ms | 401 KiB | 5 Q