3v4l.org

run code in 300+ PHP versions simultaneously
<?php $txt = 'Frequentiéregelaar 0.37 Kw. 240V ingang - IP:20 - Bouwgrootte : 1 '; $txt = preg_replace('/\p{M}/u', '', $txt); $txt = preg_replace("/[^A-Za-z0-9]/", '-', trim($txt)); $txt = preg_replace('!\--+!', '-', $txt); echo $txt; echo '<br />'; $test = "élloo"; echo urlencode ($test);

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.70.0070.01416.88
8.3.60.0100.00716.75
8.3.50.0070.01222.19
8.3.40.0150.00018.90
8.3.30.0070.00719.27
8.3.20.0070.00020.34
8.3.10.0070.00023.52
8.3.00.0050.00322.37
8.2.190.0090.00917.05
8.2.180.0120.00316.38
8.2.170.0140.00722.96
8.2.160.0140.00020.31
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0110.00426.16
8.2.120.0070.00022.43
8.2.110.0000.00922.21
8.2.100.0090.00318.09
8.2.90.0050.00319.35
8.2.80.0000.00918.04
8.2.70.0050.00517.75
8.2.60.0040.00717.92
8.2.50.0080.00018.07
8.2.40.0030.00519.41
8.2.30.0040.00418.03
8.2.20.0000.00817.99
8.2.10.0080.00018.00
8.2.00.0000.00717.93
8.1.280.0070.01025.92
8.1.270.0040.00424.02
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0060.00323.96
8.1.230.0070.00419.07
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0060.00317.35
8.1.190.0000.00817.53
8.1.180.0000.00818.10
8.1.170.0030.00618.59
8.1.160.0070.00021.98
8.1.150.0000.01018.79
8.1.140.0050.00217.64
8.1.130.0040.00417.97
8.1.120.0030.00317.47
8.1.110.0000.00817.44
8.1.100.0000.00717.45
8.1.90.0000.00717.43
8.1.80.0030.00317.44
8.1.70.0000.00717.47
8.1.60.0050.00317.57
8.1.50.0040.00417.61
8.1.40.0030.00617.57
8.1.30.0030.00517.74
8.1.20.0000.00817.64
8.1.10.0080.00017.66
8.1.00.0000.00717.60
8.0.300.0000.00718.77
8.0.290.0030.00617.05
8.0.280.0040.00418.39
8.0.270.0060.00317.39
8.0.260.0040.00416.96
8.0.250.0030.00317.16
8.0.240.0070.00017.06
8.0.230.0050.00217.13
8.0.220.0030.00317.00
8.0.210.0000.00716.98
8.0.200.0030.00317.09
8.0.190.0040.00417.17
8.0.180.0040.00416.96
8.0.170.0040.00416.97
8.0.160.0040.00416.99
8.0.150.0040.00417.09
8.0.140.0000.00817.02
8.0.130.0030.00313.48
8.0.120.0000.00817.02
8.0.110.0040.00417.09
8.0.100.0030.00617.02
8.0.90.0000.00716.93
8.0.80.0080.01117.02
8.0.70.0040.00416.94
8.0.60.0000.00717.09
8.0.50.0040.00417.14
8.0.30.0110.00917.27
8.0.20.0110.00817.40
8.0.10.0000.00717.10
8.0.00.0130.00716.91
7.4.330.0000.00515.02
7.4.320.0060.00016.73
7.4.300.0000.00616.63
7.4.290.0030.00516.71
7.4.280.0040.00416.80
7.4.270.0000.00616.86
7.4.260.0000.00816.81
7.4.250.0070.00016.77
7.4.240.0050.00216.66
7.4.230.0000.00716.80
7.4.220.0070.01116.76
7.4.210.0080.00616.83
7.4.200.0030.00316.56
7.4.190.0000.00816.63
7.4.160.0080.00816.62
7.4.150.0050.01517.40
7.4.140.0080.01117.86
7.4.130.0170.00316.62
7.4.120.0080.01116.76
7.4.110.0100.01316.58
7.4.100.0110.01016.82
7.4.90.0060.01016.50
7.4.80.0130.00319.39
7.4.70.0070.01016.50
7.4.60.0140.00516.78
7.4.50.0040.00416.69
7.4.40.0070.01022.77
7.4.30.0060.01016.78
7.4.00.0100.00415.26
7.3.330.0000.00513.33
7.3.320.0050.00013.34
7.3.310.0030.00316.47
7.3.300.0040.00416.43
7.3.290.0070.00816.43
7.3.280.0130.00716.43
7.3.270.0080.00917.40
7.3.260.0120.00616.79
7.3.250.0100.00816.65
7.3.240.0160.00016.47
7.3.230.0080.00816.48
7.3.210.0070.01016.59
7.3.200.0060.01219.39
7.3.190.0120.00616.41
7.3.180.0130.00316.55
7.3.170.0090.00616.62
7.3.160.0030.01716.55
7.3.120.0000.01714.88
7.2.330.0120.00916.77
7.2.320.0060.01116.75
7.2.310.0070.01016.88
7.2.300.0130.00316.70
7.2.290.0030.01316.77
7.2.00.0150.01119.40
7.1.200.0000.01515.75
7.1.100.0070.00718.41
7.1.70.0080.00317.33
7.1.60.0070.01719.29
7.1.50.0030.01417.05
7.1.00.0000.08022.45
7.0.200.0040.00416.66
7.0.140.0070.07022.11
7.0.60.0070.05719.86
7.0.50.0100.07717.90
7.0.40.0170.07320.09
7.0.30.0200.05320.21
7.0.20.0330.04320.10
7.0.10.0000.08320.02
7.0.00.0000.04720.01
5.6.280.0070.07021.09
5.6.210.0130.07320.64
5.6.200.0000.04318.12
5.6.190.0130.07020.27
5.6.180.0200.04020.39
5.6.170.0200.04020.71
5.6.160.0100.07720.51
5.6.150.0100.07318.08
5.6.140.0170.07018.16
5.6.130.0100.03718.07
5.6.120.0100.04321.04
5.6.110.0230.05321.11
5.6.100.0130.07321.07
5.6.90.0130.08020.96
5.6.80.0100.08020.52
5.6.70.4370.04320.27
5.5.350.0130.06720.38
5.5.340.0070.06717.92
5.5.330.0100.08720.21
5.5.320.0070.04720.21
5.5.310.0370.05020.30
5.5.300.0030.05018.00
5.5.290.0100.04017.93
5.5.280.0070.03720.66
5.5.270.0030.08320.95
5.5.260.0070.06320.67
5.5.250.0030.06720.68
5.5.240.0200.08320.25
5.4.450.0130.06019.24
5.4.440.1000.06719.55
5.4.430.0200.05719.40
5.4.420.0830.00019.47
5.4.410.0200.04718.88
5.4.400.0230.05018.80
5.4.390.0130.07718.59
5.4.380.0300.05318.63
5.4.370.0070.05318.63
5.4.360.0130.04718.69
5.4.350.0060.03411.97
5.4.340.0050.03611.96
5.4.320.0070.04212.45
5.4.310.0060.04812.45
5.4.300.0090.03712.45
5.4.290.0060.04412.45
5.4.280.0050.03612.34
5.4.270.0060.04412.34
5.4.260.0090.04212.35
5.4.250.0090.05012.34
5.4.240.0200.04612.34
5.4.230.0160.04812.32
5.4.220.0160.04212.32
5.4.210.0130.04612.33
5.4.200.0190.04512.32
5.4.190.0180.04312.32
5.4.180.0190.04212.32
5.4.170.0180.04312.33
5.4.160.0190.04812.33
5.4.150.0150.05112.32
5.4.140.0190.04312.00
5.4.130.0210.03811.99
5.4.120.0180.04511.95
5.4.110.0170.04111.95
5.4.100.0160.05011.95
5.4.90.0130.04911.95
5.4.80.0160.04211.95
5.4.70.0140.04411.95
5.4.60.0170.04311.94
5.4.50.0150.04511.95
5.4.40.0180.04211.93
5.4.30.0190.05111.93
5.4.20.0160.04511.93
5.4.10.0340.05611.93
5.4.00.0150.04611.42
5.3.290.0080.04212.80
5.3.280.0260.04412.70
5.3.270.0170.05612.72
5.3.260.0140.05512.71
5.3.250.0280.06512.71
5.3.240.0150.05012.72
5.3.230.0150.05312.71
5.3.220.0250.05212.68
5.3.210.0170.05012.68
5.3.200.0240.04712.68
5.3.190.0200.05212.67
5.3.180.0160.04912.68
5.3.170.0250.04012.67
5.3.160.0260.05312.68
5.3.150.0210.04712.67
5.3.140.0230.05412.66
5.3.130.0260.04812.66
5.3.120.0180.05912.66
5.3.110.0230.05112.66
5.3.100.0220.04912.12
5.3.90.0270.04512.09
5.3.80.0750.08912.08
5.3.70.0220.05412.08
5.3.60.0440.12012.06
5.3.50.0230.05512.00
5.3.40.0160.05812.00
5.3.30.0240.04911.93
5.3.20.0280.06911.70
5.3.10.0170.04711.67
5.3.00.0210.04211.66
5.2.170.0230.0329.16
5.2.160.0170.0389.16
5.2.150.0160.0439.16
5.2.140.0190.0459.16
5.2.130.0490.1029.12
5.2.120.0220.0319.12
5.2.110.0110.0459.12
5.2.100.0200.0389.13
5.2.90.0250.0289.12
5.2.80.0120.0399.11
5.2.70.0180.0379.11
5.2.60.0170.0329.07
5.2.50.0130.0409.04
5.2.40.0200.0349.02
5.2.30.0150.0408.99
5.2.20.0150.0409.00
5.2.10.0180.0328.89
5.2.00.0130.0378.74
5.1.60.0150.0298.04
5.1.50.0100.0388.03
5.1.40.0190.0348.01
5.1.30.0170.0288.36
5.1.20.0140.0388.39
5.1.10.0160.0338.11
5.1.00.0140.0308.11
5.0.50.0110.0306.59
5.0.40.0130.0276.44
5.0.30.0140.0396.26
5.0.20.0110.0256.22
5.0.10.0110.0256.21
5.0.00.0110.0366.20
4.4.90.0090.0204.78
4.4.80.0050.0224.76
4.4.70.0070.0214.75
4.4.60.0090.0214.76
4.4.50.0100.0194.77
4.4.40.0130.0514.71
4.4.30.0080.0204.76
4.4.20.0060.0204.84
4.4.10.0050.0244.85
4.4.00.0120.0254.76
4.3.110.0070.0204.67
4.3.100.0090.0184.67
4.3.90.0060.0194.63
4.3.80.0070.0284.58
4.3.70.0080.0174.63
4.3.60.0070.0194.63
4.3.50.0070.0224.63
4.3.40.0060.0304.53
4.3.30.0060.0193.28
4.3.20.0070.0203.25
4.3.10.0060.0193.21
4.3.00.0170.0176.58

preferences:
50.08 ms | 401 KiB | 5 Q