3v4l.org

run code in 300+ PHP versions simultaneously
<?php $sString = ' Bonjour, M.Gombert N°06737401 Récréditation : Demande N°17217851 du 10/12/13 (N° de tel erroné Mail sans réponse) Je vous est prévenu le 15/12/13 M.Gombert '; $sString = str_replace("\n", "", $sString); $sString = str_replace("\t", "", $sString); $sString = str_replace("\v", "", $sString); $sString = str_replace("\r", "", $sString); $sString = preg_replace('/{.*}/', '', $sString); // CSS? $sString = preg_replace('/[^a-zA-ZÀ-ÿ0-9]+/', " ", $sString); $sString = trim($sString); $string = preg_replace('/\s+/', ' ', $sString); echo $string; $aWords = explode(' ', $string); print_r($aWords);

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.0090.00518.40
8.3.50.0130.00321.14
8.3.40.0160.00018.92
8.3.30.0070.01020.29
8.3.20.0000.00820.34
8.3.10.0000.00721.91
8.3.00.0040.00422.52
8.2.180.0070.01116.63
8.2.170.0070.01122.96
8.2.160.0070.00722.34
8.2.150.0060.00324.18
8.2.140.0070.00024.66
8.2.130.0090.00026.16
8.2.120.0000.00720.75
8.2.110.0070.00419.38
8.2.100.0120.00017.84
8.2.90.0050.00319.17
8.2.80.0030.00617.97
8.2.70.0080.00017.75
8.2.60.0050.00317.93
8.2.50.0040.00418.07
8.2.40.0060.00318.04
8.2.30.0040.00419.34
8.2.20.0040.00417.86
8.2.10.0040.00417.81
8.2.00.0060.00317.94
8.1.280.0190.00625.92
8.1.270.0000.00823.99
8.1.260.0040.00426.35
8.1.250.0120.00328.09
8.1.240.0060.00321.30
8.1.230.0040.00817.52
8.1.220.0080.00017.74
8.1.210.0000.00918.77
8.1.200.0030.00717.35
8.1.190.0000.00817.25
8.1.180.0030.00618.10
8.1.170.0040.00418.46
8.1.160.0000.00718.80
8.1.150.0040.00418.64
8.1.140.0000.00817.45
8.1.130.0030.00317.77
8.1.120.0020.00517.46
8.1.110.0000.00817.51
8.1.100.0050.00317.42
8.1.90.0000.00817.53
8.1.80.0040.00417.55
8.1.70.0000.00817.53
8.1.60.0040.00417.64
8.1.50.0040.00417.62
8.1.40.0000.00817.47
8.1.30.0030.00617.61
8.1.20.0040.00417.81
8.1.10.0040.00417.69
8.1.00.0040.00417.46
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0040.00418.39
8.0.270.0000.00717.22
8.0.260.0000.00716.97
8.0.250.0070.00417.00
8.0.240.0040.00416.98
8.0.230.0030.00317.08
8.0.220.0000.00716.96
8.0.210.0030.00516.87
8.0.200.0060.00317.03
8.0.190.0030.00616.95
8.0.180.0040.00416.95
8.0.170.0090.00017.03
8.0.160.0040.00416.92
8.0.150.0060.00316.92
8.0.140.0040.00416.98
8.0.130.0030.00313.37
8.0.120.0030.00616.98
8.0.110.0000.00816.86
8.0.100.0000.00716.99
8.0.90.0040.00416.89
8.0.80.0070.01016.96
8.0.70.0000.00816.87
8.0.60.0070.00016.97
8.0.50.0030.00517.04
8.0.30.0090.01117.01
8.0.20.0080.01117.40
8.0.10.0040.00417.14
8.0.00.0080.01016.91
7.4.330.0000.00514.96
7.4.320.0000.00716.62
7.4.300.0060.00016.74
7.4.290.0080.00016.75
7.4.280.0000.00716.64
7.4.270.0030.00316.78
7.4.260.0060.00013.37
7.4.250.0000.00716.66
7.4.240.0040.00316.71
7.4.230.0030.00316.52
7.4.220.0110.00716.63
7.4.210.0070.01016.67
7.4.200.0000.00716.50
7.4.190.0070.00016.91
7.4.160.0040.01116.67
7.4.150.0150.00317.40
7.4.140.0120.00517.86
7.4.130.0060.01216.73
7.4.120.0070.01016.67
7.4.110.0140.01016.55
7.4.100.0060.01616.62
7.4.90.0150.00916.71
7.4.80.0050.01819.39
7.4.70.0070.01116.81
7.4.60.0070.01016.49
7.4.50.0040.00416.48
7.4.40.0070.01122.77
7.4.30.0100.01016.73
7.4.00.0090.00714.96
7.3.330.0050.00013.06
7.3.320.0060.00013.27
7.3.310.0070.00016.31
7.3.300.0000.00716.13
7.3.290.0060.01316.29
7.3.280.0050.01116.37
7.3.270.0120.00617.40
7.3.260.0110.01216.40
7.3.250.0090.01116.35
7.3.240.0170.00016.36
7.3.230.0140.00416.53
7.3.210.0000.01516.63
7.3.200.0060.00919.39
7.3.190.0070.01016.41
7.3.180.0100.00616.78
7.3.170.0080.00816.41
7.3.160.0030.01916.32
7.3.120.0120.00514.95
7.3.110.0070.01015.10
7.3.100.0070.01014.95
7.3.90.0030.01615.14
7.3.80.0070.00414.59
7.3.70.0030.00714.96
7.3.60.0040.01114.86
7.3.50.0090.00614.93
7.3.40.0040.00715.00
7.3.30.0060.00615.04
7.3.20.0030.01016.57
7.3.10.0020.01016.89
7.3.00.0080.00516.64
7.2.330.0160.00316.75
7.2.320.0080.00816.68
7.2.310.0100.00716.69
7.2.300.0120.00416.77
7.2.290.0130.00816.76
7.2.250.0100.01015.21
7.2.240.0060.00915.34
7.2.230.0100.01015.16
7.2.220.0070.01015.32
7.2.210.0080.00515.12
7.2.200.0060.00615.14
7.2.190.0040.01115.11
7.2.180.0080.01114.89
7.2.170.0030.00915.29
7.2.130.0080.00816.66
7.2.120.0030.00616.76
7.2.110.0080.00416.92
7.2.100.0100.00317.07
7.2.90.0040.00916.86
7.2.80.0090.00317.00
7.2.70.0030.01116.87
7.2.60.0030.01116.98
7.2.50.0070.00717.21
7.2.40.0070.00717.01
7.2.30.0090.00316.94
7.2.20.0090.00917.05
7.2.10.0060.00616.97
7.2.00.0110.00318.02
7.1.330.0110.00415.85
7.1.320.0120.00615.84
7.1.310.0080.00415.94
7.1.300.0090.00916.00
7.1.290.0030.01015.95
7.1.280.0060.00616.01
7.1.270.0040.00716.10
7.1.260.0070.00415.93
7.1.250.0040.01116.04
7.1.100.0000.01018.48
7.1.70.0000.00917.23
7.1.60.0000.01019.21
7.1.50.0060.01917.22
7.1.00.0070.05722.46
7.0.200.0040.00416.83
7.0.140.0100.07022.12
7.0.100.0100.07720.18
7.0.90.0300.06719.89
7.0.80.0270.04019.90
7.0.70.0030.08319.89
7.0.60.0130.07719.96
7.0.50.0030.03720.32
7.0.40.0130.06720.18
7.0.30.0170.06720.20
7.0.20.0030.04020.14
7.0.10.0200.06720.04
7.0.00.0030.08320.02
5.6.280.0100.07020.82
5.6.250.0070.05020.75
5.6.240.0100.07720.67
5.6.230.0000.05320.59
5.6.220.0070.05320.57
5.6.210.0070.07720.64
5.6.200.0100.08021.10
5.6.190.0030.05020.95
5.6.180.0030.04021.02
5.6.170.0030.08720.93
5.6.160.0100.08021.13
5.6.150.0170.06721.03
5.6.140.0070.09021.07
5.6.130.0100.07320.88
5.6.120.0170.07321.01
5.6.110.0100.08021.09
5.6.100.0170.07020.99
5.6.90.0070.09021.04
5.6.80.0100.07320.46
5.6.70.0070.07720.54
5.6.60.0130.07320.32
5.6.50.0000.08020.39
5.6.40.0100.08020.52
5.6.30.0070.07720.40
5.6.20.0000.08720.38
5.6.10.0000.08320.46
5.6.00.0070.08020.47
5.5.380.0070.06320.39
5.5.370.0130.07020.57
5.5.360.0030.08720.35
5.5.350.0030.09020.40
5.5.340.0000.04720.87
5.5.330.0170.09020.86
5.5.320.0030.05320.77
5.5.310.0170.02720.64
5.5.300.0030.05020.88
5.5.290.0170.08020.88
5.5.280.0100.07720.89
5.5.270.0100.08320.79
5.5.260.0130.05720.88
5.5.250.0030.08720.69
5.5.240.0030.08720.24
5.5.230.0200.07020.10
5.5.220.0130.07320.16
5.5.210.0100.06320.29
5.5.200.0000.04320.09
5.5.190.0100.07719.99
5.5.180.0030.07020.11
5.5.160.0030.07720.24
5.5.150.0000.04320.18
5.5.140.0130.04020.21
5.5.130.0100.04020.18
5.5.120.0100.06320.22
5.5.110.0070.04720.21
5.5.100.0100.05020.13
5.5.90.0170.06320.15
5.5.80.0030.08020.09
5.5.70.0070.03720.10
5.5.60.0030.05720.08
5.5.50.0070.08720.13
5.5.40.0070.06720.05
5.5.30.0070.07719.96
5.5.20.0070.07720.13
5.5.10.0200.06320.07
5.5.00.0030.07019.96
5.4.450.0030.09019.35
5.4.440.0100.06319.45
5.4.430.0070.08319.44
5.4.420.0100.06319.44
5.4.410.0100.06719.09
5.4.400.0100.07319.13
5.4.390.0070.07719.04
5.4.380.0100.04019.12
5.4.370.0000.04319.05
5.4.360.0070.03719.03
5.4.350.0000.08019.16
5.4.340.0000.05019.04
5.4.320.0000.06319.18
5.4.310.0000.06319.18
5.4.300.0030.06319.20
5.4.290.0030.04719.10
5.4.280.0170.07319.12
5.4.270.0100.06319.20
5.4.260.0030.04319.08
5.4.250.0100.07318.90
5.4.240.0070.08019.09
5.4.230.0100.04719.11
5.4.220.0100.06318.95
5.4.210.0100.06719.04
5.4.200.0100.05718.93
5.4.190.0070.07319.07
5.4.180.0130.06719.13
5.4.170.0100.06019.03
5.4.160.0100.07319.16
5.4.150.0070.07319.16
5.4.140.0000.03716.25
5.4.130.0030.07316.46
5.4.120.0030.04316.46
5.4.110.0070.07716.48
5.4.100.0200.05316.55
5.4.90.0070.06016.47
5.4.80.0130.04716.45
5.4.70.0030.03716.53
5.4.60.0100.03316.25
5.4.50.0000.04016.41
5.4.40.0000.04016.46
5.4.30.0000.04016.43
5.4.20.0000.04716.47
5.4.10.0030.03716.43
5.4.00.0100.03015.89
5.3.290.0070.07014.59
5.3.280.0100.08014.62
5.3.270.0000.04014.58
5.3.260.0070.03714.59
5.3.250.0030.08314.54
5.3.240.0130.07014.71
5.3.230.0030.07714.66
5.3.220.0030.07714.61
5.3.210.0070.06714.70
5.3.200.0170.02714.55
5.3.190.0100.05714.59
5.3.180.0070.05014.59
5.3.170.0030.04014.68
5.3.160.0070.03314.62
5.3.150.0070.04314.58
5.3.140.0000.04014.63
5.3.130.0030.04014.55
5.3.120.0030.04014.66
5.3.110.0030.03714.49
5.3.100.0000.04014.09
5.3.90.0070.03714.10
5.3.80.0030.03313.91
5.3.70.0070.03714.12
5.3.60.0030.03013.97
5.3.50.0100.02713.87
5.3.40.0030.03314.06
5.3.30.0070.03314.05
5.3.20.0030.03013.62
5.3.10.0070.02713.63
5.3.00.0070.03713.66
5.2.170.0030.02311.61
5.2.160.0070.03311.61
5.2.150.0030.03011.61
5.2.140.0030.03011.61
5.2.130.0030.02711.61
5.2.120.0000.03011.61
5.2.110.0000.03011.61
5.2.100.0030.03011.61
5.2.90.0070.02011.61
5.2.80.0000.03311.61
5.2.70.0070.02711.61
5.2.60.0030.03011.61
5.2.50.0000.03011.61
5.2.40.0000.03011.61
5.2.30.0030.02711.61
5.2.20.0000.03011.61
5.2.10.0000.03311.61
5.2.00.0070.02311.61
5.1.60.0030.02311.61
5.1.50.0000.02711.61
5.1.40.0000.02711.61
5.1.30.0000.02711.61
5.1.20.0030.02311.61
5.1.10.0000.02711.61
5.1.00.0000.02711.61
5.0.50.0000.01711.61
5.0.40.0030.01711.61
5.0.30.0000.03311.61
5.0.20.0030.02011.61
5.0.10.0000.02011.61
5.0.00.0000.03311.61
4.4.90.0000.01711.61
4.4.80.0000.01311.61
4.4.70.0030.01311.61
4.4.60.0030.02011.61
4.4.50.0000.01711.61
4.4.40.0000.02011.61
4.4.30.0000.01311.61
4.4.20.0000.01311.61
4.4.10.0000.01711.61
4.4.00.0000.02711.61
4.3.110.0000.01711.61
4.3.100.0070.00711.61
4.3.90.0030.01311.61
4.3.80.0030.02311.61
4.3.70.0000.02311.61
4.3.60.0000.01311.61
4.3.50.0000.01311.61
4.3.40.0070.03311.61
4.3.30.0000.01711.61
4.3.20.0000.01711.61
4.3.10.0000.01311.61
4.3.00.0000.01711.61

preferences:
56.19 ms | 401 KiB | 5 Q