3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search=array( '/\bfr\b/u', '/\bs\.a\./u', '/\bs\.a\.r\.l\./u'); $replace=array(''); $nom="fr caissefr federale de credit s.A. mutuel 4 rue frédéric-guillaume raiffeisen 67000 frstrasbourg fr "; $nom=strtolower($nom); $nom=preg_replace($search, $replace, $nom); echo $nom;

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.5.10.0100.00716.72
8.5.00.0100.01120.31
8.4.150.0020.00014.05
8.4.140.0120.00917.76
8.4.130.0110.01018.00
8.4.120.0110.00920.32
8.4.110.0150.00518.94
8.4.100.0110.01017.93
8.4.90.0080.00318.21
8.4.80.0160.00419.82
8.4.70.0050.00318.16
8.4.60.0050.00421.74
8.4.50.0130.00720.55
8.4.40.0060.01317.63
8.4.30.0160.00322.09
8.4.20.0130.00718.83
8.4.10.0090.00019.66
8.3.280.0130.00818.62
8.3.270.0110.00916.94
8.3.260.0100.00916.95
8.3.250.0110.00818.85
8.3.240.0120.00716.66
8.3.230.0090.00916.85
8.3.220.0070.00516.81
8.3.210.0090.01017.05
8.3.200.0120.00716.90
8.3.190.0140.00617.20
8.3.180.0110.00416.73
8.3.170.0150.00420.64
8.3.160.0060.01218.66
8.3.150.0070.01017.21
8.3.140.0050.00320.68
8.3.130.0030.00618.59
8.3.120.0060.00318.65
8.3.110.0100.00020.94
8.3.100.0060.00324.06
8.3.90.0130.00626.77
8.3.80.0060.00318.55
8.3.70.0130.01016.75
8.3.60.0120.00318.55
8.3.50.0100.00517.93
8.3.40.0030.01218.79
8.3.30.0130.00618.87
8.3.20.0040.00422.43
8.3.10.0080.00023.66
8.3.00.0080.00022.31
8.2.290.0100.00918.95
8.2.280.0050.00420.14
8.2.270.0090.00922.25
8.2.260.0110.00717.01
8.2.250.0080.00016.96
8.2.240.0150.00318.89
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0120.00326.77
8.2.200.0060.00316.63
8.2.190.0070.01416.75
8.2.180.0140.00725.92
8.2.170.0040.01119.00
8.2.160.0030.01022.96
8.2.150.0000.00724.18
8.2.140.0040.00424.66
8.2.130.0080.00021.16
8.2.120.0000.00826.35
8.2.110.0100.00022.32
8.2.100.0080.00320.53
8.2.90.0090.00017.88
8.2.80.0040.00417.97
8.2.70.0030.00617.80
8.2.60.0040.00418.22
8.2.50.0050.00318.10
8.2.40.0000.00821.20
8.2.30.0000.00719.38
8.2.20.0050.00218.01
8.2.10.0040.00419.39
8.2.00.0040.00418.11
8.1.330.0140.00616.34
8.1.320.0100.00816.26
8.1.310.0140.00016.60
8.1.300.0160.00320.29
8.1.290.0090.00030.84
8.1.280.0150.00625.92
8.1.270.0070.00322.19
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00023.88
8.1.230.0080.00319.02
8.1.220.0040.00417.79
8.1.210.0060.00318.77
8.1.200.0080.00617.35
8.1.190.0040.00417.25
8.1.180.0040.00418.10
8.1.170.0000.00918.78
8.1.160.0040.00418.90
8.1.150.0000.00718.89
8.1.140.0000.00720.34
8.1.130.0000.00720.20
8.1.120.0030.00317.59
8.1.110.0040.00417.53
8.1.100.0000.00717.55
8.1.90.0030.00517.54
8.1.80.0000.00817.41
8.1.70.0060.00317.52
8.1.60.0030.00617.61
8.1.50.0050.00317.60
8.1.40.0080.00017.59
8.1.30.0000.00717.71
8.1.20.0000.00917.55
8.1.10.0000.00817.72
8.1.00.0000.00817.63
8.0.300.0000.00719.84
8.0.290.0070.00016.75
8.0.280.0000.00718.48
8.0.270.0070.00017.22
8.0.260.0000.00619.95
8.0.250.0000.00717.16
8.0.240.0000.00717.02
8.0.230.0000.00717.08
8.0.220.0040.00417.06
8.0.210.0030.00516.98
8.0.200.0000.00717.11
8.0.190.0000.00817.11
8.0.180.0080.00016.90
8.0.170.0050.00316.89
8.0.160.0070.00017.07
8.0.150.0040.00416.97
8.0.140.0000.00816.98
8.0.130.0060.00013.45
8.0.120.0000.00916.97
8.0.110.0000.00717.01
8.0.100.0040.00417.07
8.0.90.0000.00716.96
8.0.80.0130.00317.09
8.0.70.0080.00017.19
8.0.60.0080.00017.00
8.0.50.0000.00716.95
8.0.30.0120.00616.97
8.0.20.0150.00917.40
8.0.10.0040.00417.02
8.0.00.0090.00916.95
7.4.330.0060.00015.55
7.4.320.0030.00316.70
7.4.300.0000.00716.80
7.4.290.0030.00316.74
7.4.280.0030.00516.77
7.4.270.0050.00216.71
7.4.260.0080.00016.58
7.4.250.0040.00416.64
7.4.240.0050.00216.67
7.4.230.0040.00416.68
7.4.220.0000.00816.86
7.4.210.0070.01216.75
7.4.200.0030.00316.50
7.4.160.0090.00816.67
7.4.140.0130.00617.86
7.4.130.0130.01016.77
7.4.120.0120.01316.68
7.4.110.0070.01016.86
7.4.100.0140.00416.75
7.4.90.0100.00716.53
7.4.80.0120.01119.39
7.4.70.0070.01116.81
7.4.60.0070.01016.84
7.4.50.0110.00216.50
7.4.40.0150.00316.51
7.4.00.0070.01015.07
7.3.330.0060.00013.15
7.3.320.0000.00613.15
7.3.310.0030.00316.29
7.3.300.0000.00716.43
7.3.290.0040.00416.50
7.3.280.0100.00716.40
7.3.260.0080.01016.48
7.3.240.0120.00616.52
7.3.230.0190.00016.40
7.3.210.0090.00916.61
7.3.200.0100.00616.75
7.3.190.0130.00316.29
7.3.180.0060.00916.60
7.3.170.0120.00716.47
7.3.160.0000.01616.78
7.3.120.0100.00714.90
7.3.110.0070.00714.86
7.3.100.0080.00414.91
7.3.90.0060.00614.90
7.3.80.0040.01115.00
7.3.70.0070.00715.04
7.3.60.0070.00414.95
7.3.50.0060.00314.72
7.3.40.0100.00714.88
7.3.30.0080.00914.62
7.3.20.2210.00515.94
7.3.10.2180.00715.77
7.3.00.3340.00815.64
7.2.330.0100.01016.68
7.2.320.0060.01216.67
7.2.310.0100.01116.60
7.2.300.0150.00616.58
7.2.290.0060.01616.74
7.2.250.0090.00914.84
7.2.240.0100.00714.96
7.2.230.0090.00615.06
7.2.220.0030.00715.15
7.2.210.0070.00715.05
7.2.200.0030.00615.23
7.2.190.0000.01515.05
7.2.180.0070.00315.26
7.2.170.0060.00315.15
7.2.160.0230.00315.03
7.2.150.5750.01015.29
7.2.140.2740.01015.14
7.2.130.6660.00715.02
7.2.120.4550.00314.95
7.2.110.6040.01315.10
7.2.100.6280.00615.12
7.2.90.3280.00615.20
7.2.80.0410.01315.10
7.2.70.0400.00715.21
7.2.60.1290.00715.21
7.2.50.0280.00415.16
7.2.40.0510.00715.15
7.2.30.6640.00314.96
7.2.20.4750.01015.12
7.2.10.3160.01215.01
7.2.00.0340.00614.93
7.1.330.0040.00715.96
7.1.320.0090.00615.98
7.1.310.0040.00716.12
7.1.300.0030.01016.11
7.1.290.0060.00615.95
7.1.280.0040.01115.96
7.1.270.2200.00614.84
7.1.260.2720.00814.94
7.1.250.6300.00714.04

preferences:
38.73 ms | 403 KiB | 5 Q