3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'Heading: This is a string. Very exciting! What do you think? ...one more thing, this is cool.'; var_export( preg_split('~[.?!:]+\K\s+~', $str, 0, PREG_SPLIT_NO_EMPTY) );

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.4.120.0140.00723.89
8.4.110.0150.00718.64
8.4.100.0120.00418.88
8.4.90.0120.00820.61
8.4.80.0120.00917.71
8.4.70.0040.00417.77
8.4.60.0130.00818.38
8.4.50.0010.00919.55
8.4.40.0070.01319.48
8.4.30.0050.00320.21
8.4.20.0180.00317.98
8.4.10.0100.00020.46
8.3.250.0090.00918.70
8.3.240.0110.00817.05
8.3.230.0140.00616.43
8.3.220.0040.00516.98
8.3.210.0120.00816.48
8.3.200.0060.00316.43
8.3.190.0120.00817.23
8.3.180.0030.00620.73
8.3.170.0150.00416.66
8.3.160.0180.00016.71
8.3.150.0140.00317.10
8.3.140.0060.00316.57
8.3.130.0060.00318.41
8.3.120.0070.01319.05
8.3.110.0080.00818.34
8.3.100.0090.00018.75
8.3.90.0120.00826.77
8.3.80.0050.00516.50
8.3.70.0170.00316.75
8.3.60.0100.00618.43
8.3.50.0040.01120.36
8.3.40.0100.01019.04
8.3.30.0100.00719.00
8.3.20.0120.00624.18
8.3.10.0080.00324.66
8.3.00.0040.00426.16
8.2.290.0120.00620.72
8.2.280.0090.00218.65
8.2.270.0120.00616.58
8.2.260.0120.00318.88
8.2.250.0040.00418.26
8.2.240.0070.00716.95
8.2.230.0040.00420.94
8.2.220.0130.00624.06
8.2.210.0110.00326.77
8.2.200.0070.00316.88
8.2.190.0150.00318.66
8.2.180.0190.00325.92
8.2.170.0130.00619.09
8.2.160.0070.00722.96
8.2.150.0080.00025.66
8.2.140.0090.00024.66
8.2.130.0050.00326.16
8.2.120.0050.00321.13
8.2.110.0060.00321.14
8.2.100.0110.00017.84
8.2.90.0000.00817.97
8.2.80.0040.00418.87
8.2.70.0040.00817.50
8.2.60.0040.00417.91
8.2.50.0030.00517.98
8.2.40.0050.00317.97
8.2.30.0050.00318.21
8.2.20.0070.00020.44
8.2.10.0000.00717.93
8.2.00.0070.00019.21
8.1.330.0100.00921.98
8.1.320.0060.00516.13
8.1.310.0040.00416.64
8.1.300.0090.00918.03
8.1.290.0090.00030.84
8.1.280.0110.01125.92
8.1.270.0040.01122.09
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00623.69
8.1.230.0110.00020.90
8.1.220.0090.00017.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0000.01017.35
8.1.180.0050.00318.10
8.1.170.0050.00317.62
8.1.160.0050.00318.81
8.1.150.0040.00418.72
8.1.140.0040.00417.40
8.1.130.0070.00018.90
8.1.120.0040.00417.54
8.1.110.0030.00517.41
8.1.100.0000.00817.53
8.1.90.0050.00317.45
8.1.80.0050.00517.48
8.1.70.0000.00717.49
8.1.60.0000.00817.68
8.1.50.0040.00417.61
8.1.40.0040.00417.60
8.1.30.0030.00617.73
8.1.20.0000.01017.53
8.1.10.0000.00917.51
8.1.00.0050.00517.56
8.0.300.0000.00720.23
8.0.290.0040.00416.75
8.0.280.0000.00818.32
8.0.270.0000.00716.85
8.0.260.0060.00018.27
8.0.250.0040.00417.02
8.0.240.0030.00517.01
8.0.230.0030.00717.02
8.0.220.0070.00016.86
8.0.210.0080.00016.99
8.0.200.0060.00317.04
8.0.190.0050.00216.94
8.0.180.0000.00717.04
8.0.170.0040.00416.88
8.0.160.0030.00616.84
8.0.150.0000.00816.80
8.0.140.0040.00416.76
8.0.130.0000.00816.89
8.0.120.0080.00016.97
8.0.110.0040.00416.86
8.0.100.0040.00416.86
8.0.90.0040.00416.92
8.0.80.0020.00516.92
8.0.70.0050.00316.91
8.0.60.0070.00016.73
8.0.50.0040.00416.84
8.0.30.0030.00516.85
8.0.20.0050.00216.99
8.0.10.0070.00016.98
7.4.330.0000.00415.55
7.4.320.0060.00016.76
7.4.300.0030.00716.74
7.4.290.0070.00016.58
7.4.280.0020.00516.69
7.4.270.0030.00516.70
7.4.260.0000.00816.64
7.4.250.0080.00016.64
7.4.240.0070.00016.63
7.4.230.0050.00316.66
7.4.220.0000.00716.56
7.4.210.0030.00516.71
7.4.200.0070.00016.65
7.4.190.0030.00316.59
7.4.180.0050.00216.69
7.4.160.0000.00816.59
7.4.150.0040.00416.72
7.4.140.0110.00016.68
7.4.130.0050.00516.69
7.4.120.0020.00516.57
7.4.110.0030.00716.53
7.4.100.0070.00416.72
7.4.90.0120.00016.64
7.4.80.0070.00316.52
7.4.70.0090.00316.68
7.4.60.0040.00716.61
7.4.50.0080.00416.42
7.4.40.0100.00316.63
7.4.30.0110.00316.66
7.4.20.0100.00016.55
7.4.10.0060.00616.53
7.4.00.0030.00816.60

preferences:
33.22 ms | 403 KiB | 5 Q