3v4l.org

run code in 300+ PHP versions simultaneously
<?php $p = "This is a dummy text. And it has a new line in it \n it also has dots. Byt not."; $arr = preg_split('/\.(?=\h*[A-Z])|\R+/', $p); print_r($arr);

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.0070.00216.55
8.5.00.0150.00621.77
8.4.160.0050.00423.96
8.4.150.0020.00114.05
8.4.140.0150.00617.82
8.4.130.0090.00918.66
8.4.120.0120.00724.14
8.4.110.0080.00122.41
8.4.100.0150.00617.88
8.4.90.0060.00218.75
8.4.80.0060.00317.88
8.4.70.0090.00918.13
8.4.60.0110.00918.66
8.4.50.0090.00518.07
8.4.40.0030.00619.60
8.4.30.0080.00317.90
8.4.20.0090.00620.13
8.4.10.0100.00717.99
8.3.280.0130.00718.45
8.3.270.0190.00916.38
8.3.260.0120.00816.81
8.3.250.0120.00718.64
8.3.240.0100.00816.86
8.3.230.0110.00716.63
8.3.220.0110.00617.19
8.3.210.0050.01016.59
8.3.200.0040.00516.71
8.3.190.0110.00716.72
8.3.180.0090.00916.61
8.3.170.0140.00416.93
8.3.160.0110.00718.33
8.3.150.0090.00916.52
8.3.140.0040.00418.98
8.3.130.0040.00416.45
8.3.120.0040.00418.69
8.3.110.0080.00016.61
8.3.100.0030.00624.06
8.3.90.0080.00026.77
8.3.80.0040.00717.97
8.3.70.0060.00916.50
8.3.60.0120.00618.43
8.3.50.0060.00819.00
8.3.40.0000.01518.83
8.3.30.0120.00318.77
8.3.20.0070.00021.87
8.3.10.0040.00423.65
8.3.00.0090.00023.44
8.2.290.0070.00920.68
8.2.280.0080.00418.36
8.2.270.0140.00317.32
8.2.260.0120.00617.26
8.2.250.0070.00717.08
8.2.240.0130.01017.13
8.2.230.0000.00820.94
8.2.220.0080.00037.54
8.2.210.0040.00426.77
8.2.200.0060.00318.56
8.2.190.0040.01118.35
8.2.180.0150.00416.63
8.2.170.0080.00822.96
8.2.160.0000.01420.39
8.2.150.0150.00325.66
8.2.140.0000.00824.66
8.2.130.0030.00519.77
8.2.120.0040.00426.35
8.2.110.0100.00020.58
8.2.100.0070.01017.71
8.2.90.0000.00720.64
8.2.80.0050.00317.97
8.2.70.0000.00817.80
8.2.60.0040.00418.03
8.2.50.0040.00418.10
8.2.40.0050.00319.17
8.2.30.0030.00719.08
8.2.20.0040.00417.92
8.2.10.0030.00720.62
8.2.00.0080.00019.34
8.1.330.0090.00922.06
8.1.320.0090.00916.59
8.1.310.0040.00416.53
8.1.300.0040.01518.18
8.1.290.0060.00330.84
8.1.280.0120.00425.92
8.1.270.0040.00418.92
8.1.260.0070.00726.35
8.1.250.0030.00528.09
8.1.240.0090.00323.73
8.1.230.0090.00324.03
8.1.220.0000.00817.78
8.1.210.0060.00318.84
8.1.200.0030.00517.35
8.1.190.0050.00319.13
8.1.180.0000.00818.10
8.1.170.0060.00318.57
8.1.160.0040.00418.84
8.1.150.0040.00418.89
8.1.140.0070.00023.95
8.1.130.0030.00320.14
8.1.120.0030.00317.49
8.1.110.0000.00717.54
8.1.100.0040.00417.41
8.1.90.0000.00817.50
8.1.80.0000.00817.58
8.1.70.0030.00317.56
8.1.60.0000.00717.63
8.1.50.0040.00417.53
8.1.40.0030.00617.59
8.1.30.0060.00317.74
8.1.20.0030.00617.74
8.1.10.0000.00717.55
8.1.00.0050.00217.54
8.0.300.0040.00419.77
8.0.290.0060.00316.88
8.0.280.0080.00018.45
8.0.270.0030.00317.21
8.0.260.0000.00718.31
8.0.250.0070.00017.04
8.0.240.0030.00317.04
8.0.230.0000.00717.01
8.0.220.0070.00016.88
8.0.210.0030.00316.96
8.0.200.0030.00317.02
8.0.190.0000.00816.89
8.0.180.0040.00416.93
8.0.170.0040.00416.98
8.0.160.0040.00417.04
8.0.150.0040.00417.00
8.0.140.0000.00816.96
8.0.130.0000.00713.41
8.0.120.0030.00516.89
8.0.110.0070.00016.95
8.0.100.0000.00716.84
8.0.90.0000.00716.87
8.0.80.0120.00716.93
8.0.70.0000.00716.83
8.0.60.0000.00716.91
8.0.50.0000.00716.92
8.0.30.0100.00717.21
8.0.20.0090.00917.43
8.0.10.0080.00016.89
8.0.00.0100.01017.06
7.4.330.0000.00516.83
7.4.320.0030.00316.58
7.4.300.0000.00616.71
7.4.290.0030.00516.63
7.4.280.0070.00016.68
7.4.270.0000.00716.73
7.4.260.0000.00716.72
7.4.250.0000.00716.69
7.4.240.0000.00716.75
7.4.230.0070.00016.65
7.4.220.0050.00316.48
7.4.210.0090.00616.74
7.4.200.0030.00316.85
7.4.160.0080.00916.63
7.4.140.0130.00517.86
7.4.130.0030.01516.48
7.4.120.0080.01016.63
7.4.110.0140.00516.68
7.4.100.0120.00616.61
7.4.90.0070.01016.60
7.4.80.0090.01319.39
7.4.70.0000.01916.80
7.4.60.0030.01316.54
7.4.50.0090.00616.59
7.4.40.0030.01316.63
7.4.00.0030.00915.16
7.3.330.0000.00513.02
7.3.320.0030.00313.13
7.3.310.0030.00316.32
7.3.300.0030.00316.27
7.3.290.0000.00716.37
7.3.280.0070.00716.23
7.3.260.0120.00716.32
7.3.240.0120.01016.47
7.3.230.0090.00916.39
7.3.210.0090.00616.53
7.3.200.0070.01516.25
7.3.190.0090.00916.20
7.3.180.0110.00716.74
7.3.170.0100.01316.39
7.3.160.0160.00716.39
7.3.10.0030.01216.41
7.3.00.0770.01015.47
7.2.330.0120.00616.76
7.2.320.0140.00416.55
7.2.310.0100.00716.58
7.2.300.0090.01416.62
7.2.290.0090.00916.63
7.2.130.0720.01015.82
7.2.120.0570.01215.83
7.2.110.0860.00615.81
7.2.100.0830.00715.68
7.2.90.0500.01115.90
7.2.80.0750.00715.80
7.2.70.1040.01516.12
7.2.60.0590.00815.98
7.2.50.0680.00716.03
7.2.40.0490.00516.02
7.2.30.0500.00816.03
7.2.20.1020.00715.91
7.2.10.0610.00715.62
7.2.00.0770.00916.06
7.1.250.0610.00714.85
7.0.330.1220.00013.54
5.6.380.0060.00914.30

preferences:
38.18 ms | 403 KiB | 5 Q