3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Dit is een vb. test. Leuk he. Jazeker.'; $string = preg_replace('^\. [A-Z]$', '. <br>', $string); echo $string;

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.40.0120.00318.67
8.3.30.0070.00720.25
8.3.20.0070.00020.38
8.3.10.0040.00421.92
8.3.00.0040.00422.58
8.2.170.0070.01022.96
8.2.160.0030.01022.05
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0080.00020.71
8.2.110.0060.00322.18
8.2.100.0110.00417.91
8.2.90.0080.00019.10
8.2.80.0000.00819.34
8.2.70.0060.00317.50
8.2.60.0000.00817.80
8.2.50.0030.00518.07
8.2.40.0060.00319.90
8.2.30.0070.00019.46
8.2.20.0050.00217.71
8.2.10.0080.00017.66
8.2.00.0040.00417.87
8.1.270.0000.00823.99
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0060.00323.91
8.1.230.0060.00618.85
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.41
8.1.180.0050.00318.10
8.1.170.0000.00918.40
8.1.160.0000.00718.93
8.1.150.0040.00418.52
8.1.140.0000.00817.39
8.1.130.0070.00017.79
8.1.120.0040.00417.41
8.1.110.0080.00017.43
8.1.100.0040.00317.29
8.1.90.0040.00417.37
8.1.80.0080.00017.40
8.1.70.0030.00317.40
8.1.60.0040.00417.48
8.1.50.0080.00017.50
8.1.40.0040.00417.49
8.1.30.0050.00317.52
8.1.20.0000.00717.48
8.1.10.0030.00517.55
8.1.00.0060.00317.46
8.0.300.0040.00418.77
8.0.290.0040.00417.28
8.0.280.0040.00418.29
8.0.270.0040.00417.16
8.0.260.0030.00316.89
8.0.250.0000.00716.89
8.0.240.0030.00617.10
8.0.230.0070.00016.84
8.0.220.0000.00716.78
8.0.210.0000.00716.79
8.0.200.0000.00716.91
8.0.190.0050.00316.84
8.0.180.0030.00316.91
8.0.170.0040.00416.90
8.0.160.0000.00816.91
8.0.150.0000.00716.85
8.0.140.0000.00716.81
8.0.130.0000.00613.25
8.0.120.0000.00916.88
8.0.110.0000.00716.90
8.0.100.0070.00016.93
8.0.90.0040.00416.78
8.0.80.0120.00616.86
8.0.70.0080.00016.92
8.0.60.0000.00816.85
8.0.50.0000.00716.73
8.0.30.0090.01017.15
8.0.20.0050.01317.40
8.0.10.0000.00817.03
8.0.00.0110.00616.64
7.4.330.0000.00516.79
7.4.320.0000.00716.36
7.4.300.0060.00016.44
7.4.290.0040.00416.43
7.4.280.0030.00316.44
7.4.270.0040.00316.57
7.4.260.0040.00416.43
7.4.250.0080.00016.42
7.4.240.0070.00016.39
7.4.230.0000.00716.60
7.4.220.0110.00716.42
7.4.210.0040.01216.54
7.4.200.0040.00416.63
7.4.190.0070.00016.64
7.4.160.0060.00916.38
7.4.150.0130.00317.40
7.4.140.0080.00917.86
7.4.130.0090.00816.50
7.4.120.0080.00916.49
7.4.110.0070.01616.50
7.4.100.0070.01416.43
7.4.90.0090.00916.44
7.4.80.0060.01019.39
7.4.70.0040.01916.47
7.4.60.0140.00716.47
7.4.50.0000.00416.36
7.4.40.0030.00922.77
7.4.30.0050.01116.55
7.4.00.0030.01314.97
7.3.330.0020.00213.19
7.3.320.0000.00613.10
7.3.310.0040.00416.05
7.3.300.0030.00316.28
7.3.290.0100.00416.27
7.3.280.0050.01116.29
7.3.270.0070.01017.40
7.3.260.0140.01016.26
7.3.250.0150.00316.50
7.3.240.0040.01316.38
7.3.230.0090.00816.39
7.3.210.0160.00016.59
7.3.200.0040.01219.39
7.3.190.0110.00716.47
7.3.180.0090.00816.50
7.3.170.0130.00516.32
7.3.160.0070.01116.36
7.3.120.0130.00314.89
7.2.330.0100.00716.64
7.2.320.0070.00916.64
7.2.310.0100.01316.36
7.2.300.0090.00916.39
7.2.290.0130.00716.64
7.2.80.0040.00416.32
7.2.60.0220.01116.59
7.2.50.0340.00716.54
7.1.200.0040.00415.67
7.1.70.0050.00217.21
7.1.60.0060.01919.21
7.1.50.0190.01016.64
7.1.00.0030.03722.43
7.0.200.0050.00216.81
7.0.140.0100.06721.99
7.0.100.0130.07720.16
7.0.90.0300.03720.02
7.0.80.0100.07720.01
7.0.70.0070.03719.97
7.0.60.0130.06719.98
7.0.50.0070.08020.34
7.0.40.0130.06720.06
7.0.30.0070.05320.14
7.0.20.0100.04719.95
7.0.10.0070.03719.94
7.0.00.0070.08720.10
5.6.280.0100.06721.12
5.6.250.0100.07720.68
5.6.240.0030.04320.68
5.6.230.0130.05720.62
5.6.220.0100.08320.66
5.6.210.0070.05720.57
5.6.200.0030.05320.95
5.6.190.0130.07321.03
5.6.180.0030.08720.97
5.6.170.0100.06721.01
5.6.160.0100.07721.04
5.6.150.0100.05321.07
5.6.140.0100.08021.06
5.6.130.0030.05321.03
5.6.120.0200.06020.95
5.6.110.0100.07320.91
5.6.100.0100.05720.93
5.6.90.0070.05021.14
5.6.80.0100.06020.44
5.6.70.0000.04720.45
5.6.60.0070.07320.32
5.6.50.0100.07020.48
5.6.40.0100.04320.36
5.6.30.0130.06020.40
5.6.20.0070.08020.45
5.6.10.0070.08020.48
5.6.00.0070.06720.34
5.5.380.0100.04320.41
5.5.370.0070.03720.39
5.5.360.0070.07320.37
5.5.350.0200.06720.45
5.5.340.0100.08020.88
5.5.330.0030.06720.88
5.5.320.0070.05320.88
5.5.310.0130.07020.76
5.5.300.0000.09020.63
5.5.290.0070.08720.63
5.5.280.0030.04720.72
5.5.270.0070.06720.63
5.5.260.0130.08020.88
5.5.250.0230.03320.54
5.5.240.0030.06320.26
5.5.230.0070.04720.17
5.5.220.0030.08020.19
5.5.210.0030.08320.13
5.5.200.0130.06720.26
5.5.190.0230.06020.20
5.5.180.0100.04720.11
5.5.160.0100.07320.21
5.5.150.0100.07320.11
5.5.140.0100.06320.27
5.5.130.0200.03320.23
5.5.120.0030.08720.24
5.5.110.0100.04320.16
5.5.100.0030.08320.07
5.5.90.0070.03320.08
5.5.80.0000.08320.12
5.5.70.0030.04719.96
5.5.60.0070.07319.95
5.5.50.0070.03720.04
5.5.40.0070.06320.14
5.5.30.0000.04720.07
5.5.20.0170.04320.13
5.5.10.0070.07020.02
5.5.00.0070.08020.11
5.4.450.0070.07319.31
5.4.440.0070.08319.35
5.4.430.0000.04319.22
5.4.420.0070.05719.42
5.4.410.0070.07319.09
5.4.400.0130.03018.82
5.4.390.0200.05719.00
5.4.380.0100.07319.03
5.4.370.0070.07318.81
5.4.360.0000.05019.23
5.4.350.0030.07019.06
5.4.340.0130.07319.07
5.4.320.0100.04018.92
5.4.310.0100.07319.06
5.4.300.0130.06319.23
5.4.290.0100.05019.14
5.4.280.0070.06319.09
5.4.270.0170.07018.81
5.4.260.0130.07019.02
5.4.250.0000.05019.02
5.4.240.0030.08019.07
5.4.230.0100.04019.05
5.4.220.0000.05018.77
5.4.210.0070.05319.13
5.4.200.0130.06718.89
5.4.190.0030.04319.13
5.4.180.0070.07319.01
5.4.170.0070.04019.21
5.4.160.0070.04318.88
5.4.150.0130.03719.09
5.4.140.0100.07016.13
5.4.130.0030.07016.36
5.4.120.0100.07316.11
5.4.110.0100.06016.29
5.4.100.0070.07716.22
5.4.90.0100.06016.23
5.4.80.0170.03716.22
5.4.70.0100.05316.34
5.4.60.0070.07016.20
5.4.50.0070.07316.19
5.4.40.0100.06716.23
5.4.30.0070.04016.39
5.4.20.0070.04016.29
5.4.10.0030.07016.37
5.4.00.0070.03315.73
5.3.290.0100.07314.52
5.3.280.0030.07714.41
5.3.270.0100.07314.54
5.3.260.0100.07714.59
5.3.250.0030.04714.61
5.3.240.0070.05014.43
5.3.230.0100.07314.55
5.3.220.0070.05714.55
5.3.210.0130.08314.47
5.3.200.0100.06714.57
5.3.190.0030.04714.52
5.3.180.0070.07314.47
5.3.170.0070.07014.54
5.3.160.0070.04314.54
5.3.150.0100.06714.42
5.3.140.0030.06714.54
5.3.130.0100.06714.40
5.3.120.0030.06714.36
5.3.110.0170.04314.50
5.3.100.0030.07713.89
5.3.90.0030.07313.89
5.3.80.0000.08013.78
5.3.70.0100.07313.83
5.3.60.0100.06013.86
5.3.50.0170.04313.94
5.3.40.0070.05313.80
5.3.30.0030.06713.89
5.3.20.0030.07313.67
5.3.10.0030.07013.64
5.3.00.0000.06313.63
5.2.170.0070.05011.13
5.2.160.0030.03710.96
5.2.150.0100.05711.06
5.2.140.0070.03711.17
5.2.130.0000.03711.09
5.2.120.0070.06311.14
5.2.110.0070.06311.09
5.2.100.0070.06011.14
5.2.90.0070.05711.16
5.2.80.0000.05311.16
5.2.70.0030.05711.08
5.2.60.0070.06010.86
5.2.50.0130.05711.09
5.2.40.0070.03010.98
5.2.30.0030.04710.95
5.2.20.0070.05710.90
5.2.10.0000.04310.80
5.2.00.0030.04710.76
5.1.60.0070.0439.97
5.1.50.0000.0239.82
5.1.40.0100.03710.00
5.1.30.0070.04010.23
5.1.20.0030.03310.25
5.1.10.0030.02310.13
5.1.00.0070.0439.90
5.0.50.0030.0308.77
5.0.40.0030.0378.77
5.0.30.0030.0278.77
5.0.20.0030.0178.77
5.0.10.0000.0478.77
5.0.00.0000.0578.77
4.4.90.0070.0278.77
4.4.80.0000.0378.77
4.4.70.0070.0278.77
4.4.60.0000.0378.77
4.4.50.0030.0208.77
4.4.40.0030.0238.77
4.4.30.0030.0238.77
4.4.20.0000.0138.77
4.4.10.0030.0278.77
4.4.00.0030.0438.77
4.3.110.0000.0278.77
4.3.100.0070.0238.77
4.3.90.0030.0138.77
4.3.80.0030.0538.77
4.3.70.0030.0108.77
4.3.60.0070.0108.77
4.3.50.0030.0308.77
4.3.40.0000.0438.77
4.3.30.0000.0338.77
4.3.20.0000.0238.77
4.3.10.0000.0208.77
4.3.00.0000.0338.77

preferences:
49.73 ms | 400 KiB | 5 Q