3v4l.org

run code in 300+ PHP versions simultaneously
<?php $s = "Re: Re: Re: Re: Re: Re: Re: Re: Prueba"; $s =preg_replace("/(Re: ?){2,}/i", "Re: ", $s); var_dump($s);

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.80.0050.00516.50
8.3.70.0090.00916.58
8.3.60.0090.00618.56
8.3.50.0090.01117.39
8.3.40.0060.01118.98
8.3.30.0060.00818.70
8.3.20.0000.00920.34
8.3.10.0030.00622.14
8.3.00.0050.00320.99
8.2.200.0110.00016.88
8.2.190.0080.00818.43
8.2.180.0070.01325.92
8.2.170.0080.00618.98
8.2.160.0180.00022.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0060.00319.83
8.2.120.0040.00426.35
8.2.110.0070.00322.24
8.2.100.0080.00319.83
8.2.90.0080.00017.91
8.2.80.0040.00418.04
8.2.70.0030.00617.80
8.2.60.0040.00417.80
8.2.50.0040.00418.10
8.2.40.0020.00820.54
8.2.30.0000.00719.27
8.2.20.0030.00618.05
8.2.10.0000.00718.15
8.2.00.0030.00518.00
8.1.290.0070.00318.88
8.1.280.0100.01325.92
8.1.270.0000.00821.94
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00022.06
8.1.230.0040.00722.63
8.1.220.0030.00617.78
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0040.00418.10
8.1.170.0000.00818.62
8.1.160.0000.00818.86
8.1.150.0000.00722.08
8.1.140.0040.00419.46
8.1.130.0000.00919.97
8.1.120.0020.00517.59
8.1.110.0070.00017.57
8.1.100.0030.00617.50
8.1.90.0050.00217.53
8.1.80.0040.00417.43
8.1.70.0000.00717.45
8.1.60.0050.00317.55
8.1.50.0040.00417.61
8.1.40.0070.00717.56
8.1.30.0040.00417.73
8.1.20.0000.00817.64
8.1.10.0030.00617.55
8.1.00.0040.00417.59
8.0.300.0070.00019.77
8.0.290.0030.00516.75
8.0.280.0030.00318.32
8.0.270.0030.00317.13
8.0.260.0000.00618.54
8.0.250.0000.00716.91
8.0.240.0000.00717.08
8.0.230.0030.00316.98
8.0.220.0070.00016.93
8.0.210.0030.00317.03
8.0.200.0030.00616.96
8.0.190.0040.00417.04
8.0.180.0000.00916.88
8.0.170.0040.00416.89
8.0.160.0000.00716.90
8.0.150.0000.00716.93
8.0.140.0040.00416.90
8.0.130.0000.00513.45
8.0.120.0040.00416.91
8.0.110.0000.00716.88
8.0.100.0080.00016.94
8.0.90.0070.00016.93
8.0.80.0060.01617.02
8.0.70.0000.00717.00
8.0.60.0000.00817.04
8.0.50.0000.00716.84
8.0.30.0120.00817.14
8.0.20.0150.00717.40
8.0.10.0030.00617.17
8.0.00.0100.00716.70
7.4.330.0050.00015.55
7.4.320.0040.00416.75
7.4.300.0000.00616.55
7.4.290.0030.00616.66
7.4.280.0030.00616.68
7.4.270.0050.00216.70
7.4.260.0000.00916.63
7.4.250.0070.00016.60
7.4.240.0040.00416.58
7.4.230.0000.00716.78
7.4.220.0090.00916.70
7.4.210.0030.01016.64
7.4.200.0000.00716.63
7.4.160.0080.01016.55
7.4.150.0090.00917.40
7.4.140.0130.01017.86
7.4.130.0060.01416.48
7.4.120.0110.00716.64
7.4.110.0060.01216.49
7.4.100.0100.00716.52
7.4.90.0110.00716.50
7.4.80.0130.00919.39
7.4.70.0130.01016.56
7.4.60.0120.00316.48
7.4.50.0030.00916.50
7.4.40.0100.00716.61
7.4.30.0100.00616.62
7.4.00.0070.00714.80
7.3.330.0000.00613.02
7.3.320.0030.00313.15
7.3.310.0030.00516.26
7.3.300.0030.00316.26
7.3.290.0050.01216.30
7.3.280.0060.01116.28
7.3.270.0090.00817.40
7.3.260.0110.00716.25
7.3.250.0110.00516.46
7.3.240.0110.00616.38
7.3.230.0130.00916.34
7.3.210.0100.00616.51
7.3.200.0090.00616.46
7.3.190.0060.01516.26
7.3.180.0060.01616.66
7.3.170.0070.01416.71
7.3.160.0130.00616.57
7.2.330.0130.00516.76
7.2.320.0000.01816.80
7.2.310.0060.01016.61
7.2.300.0060.01116.65
7.2.290.0100.00616.55
7.2.60.0070.00416.68
7.1.200.0040.00816.00
7.1.80.0150.00916.38
7.1.70.0110.00715.31
7.1.60.0330.01033.46
7.1.50.0310.00733.04
7.1.40.0190.01932.68
7.1.30.0240.00932.57
7.1.20.0940.01532.89
7.1.10.0110.01314.69
7.1.00.6610.01414.97
7.0.200.0090.01214.97
7.0.190.0100.00815.02
7.0.180.0090.01614.48
7.0.170.0120.00814.53
7.0.160.0050.01514.78
7.0.150.7420.00614.46
7.0.140.6700.01314.42
7.0.130.7430.01014.73
7.0.120.8460.00714.94
7.0.110.7030.00714.90
7.0.100.6260.01014.51
7.0.90.6210.01014.63
7.0.80.6180.00314.63
7.0.70.5460.00714.82
7.0.60.1280.00314.51
7.0.50.6070.01014.46
7.0.40.4930.01614.56
7.0.30.5080.00314.73
7.0.20.4660.00614.64
7.0.10.0140.01014.80
7.0.00.5900.00714.64

preferences:
29.3 ms | 401 KiB | 5 Q