3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = 'Training bench with two arm curlers, leg curler and barbell rack, Max. load: 160kg'; var_dump(preg_split('/, ([A-Z])/', $string, null, PREG_SPLIT_DELIM_CAPTURE));

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.70.0100.00616.63
8.3.60.0190.00018.33
8.3.50.0060.00918.00
8.3.40.0150.00018.92
8.3.30.0150.00018.84
8.3.20.0070.00021.90
8.3.10.0000.00721.77
8.3.00.0030.00623.65
8.2.180.0000.01518.41
8.2.170.0170.00318.95
8.2.160.0060.00922.96
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00521.06
8.2.120.0040.00426.35
8.2.110.0070.00321.22
8.2.100.0060.00617.97
8.2.90.0000.00818.16
8.2.80.0040.00418.09
8.2.70.0050.00317.80
8.2.60.0050.00317.80
8.2.50.0040.00418.10
8.2.40.0030.00519.22
8.2.30.0000.00720.89
8.2.20.0080.00018.12
8.2.10.0000.00717.89
8.2.00.0050.00219.07
8.1.280.0070.01425.92
8.1.270.0040.01123.99
8.1.260.0000.00826.35
8.1.250.0050.00328.09
8.1.240.0040.00424.00
8.1.230.0080.00421.03
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0000.00917.35
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0000.00818.64
8.1.160.0050.00218.84
8.1.150.0000.00719.06
8.1.140.0040.00417.70
8.1.130.0030.00320.75
8.1.120.0000.00817.61
8.1.110.0000.00717.54
8.1.100.0050.00317.52
8.1.90.0040.00417.54
8.1.80.0000.00817.52
8.1.70.0000.00717.41
8.1.60.0000.00817.55
8.1.50.0000.00817.57
8.1.40.0050.00317.52
8.1.30.0060.00317.68
8.1.20.0000.00817.63
8.1.10.0000.00717.63
8.1.00.0060.00317.57
8.0.300.0040.00419.89
8.0.290.0060.00316.88
8.0.280.0030.00318.41
8.0.270.0000.00817.12
8.0.260.0030.00317.19
8.0.250.0000.00716.93
8.0.240.0070.00016.93
8.0.230.0070.00017.01
8.0.220.0070.00017.01
8.0.210.0030.00317.03
8.0.200.0030.00317.02
8.0.190.0040.00417.04
8.0.180.0030.00316.91
8.0.170.0050.00317.00
8.0.160.0000.00716.92
8.0.150.0020.00516.90
8.0.140.0050.00316.90
8.0.130.0030.00313.43
8.0.120.0070.00016.91
8.0.110.0000.00716.93
8.0.100.0000.00716.78
8.0.90.0040.00416.96
8.0.80.0110.00416.95
8.0.70.0040.00416.85
8.0.60.0000.00816.81
8.0.50.0080.00016.82
8.0.30.0090.00817.15
8.0.20.0110.00817.40
8.0.10.0040.00417.00
8.0.00.0080.01316.82
7.4.330.0000.00515.55
7.4.320.0000.00616.71
7.4.300.0000.00616.65
7.4.290.0040.00416.64
7.4.280.0040.00416.63
7.4.270.0030.00616.79
7.4.260.0000.00616.61
7.4.250.0030.00316.46
7.4.240.0000.00716.73
7.4.230.0030.00316.79
7.4.220.0000.00716.46
7.4.210.0050.01316.79
7.4.200.0070.00016.67
7.4.160.0120.00516.52
7.4.140.0120.00817.86
7.4.130.0130.01016.53
7.4.120.0140.00716.63
7.4.110.0140.00916.54
7.4.100.0110.00616.35
7.4.90.0120.00416.46
7.4.80.0110.01119.39
7.4.70.0060.00916.58
7.4.60.0030.01316.53
7.4.50.0070.01116.45
7.4.40.0150.00716.54
7.4.00.0120.00615.00
7.3.330.0000.00612.98
7.3.320.0000.00513.03
7.3.310.0040.00416.24
7.3.300.0040.00416.19
7.3.290.0070.00016.35
7.3.280.0120.00616.34
7.3.260.0080.01116.40
7.3.240.0100.00916.45
7.3.230.0170.00316.33
7.3.210.0080.00816.60
7.3.200.0080.00816.29
7.3.190.0090.00916.37
7.3.180.0040.01516.33
7.3.170.0090.00916.27
7.3.160.0100.00616.34
7.3.120.0070.01014.50
7.3.110.0090.00914.80
7.3.100.0070.00714.86
7.3.90.0060.01214.79
7.3.80.0000.01314.80
7.3.70.0100.00714.61
7.3.60.0000.01414.95
7.3.50.0110.00314.73
7.3.40.0060.00614.57
7.3.30.0110.00714.75
7.3.20.0070.00416.70
7.3.10.0050.00916.68
7.3.00.0070.00616.46
7.2.330.0060.01116.71
7.2.320.0140.00716.70
7.2.310.0060.01116.65
7.2.300.0120.01216.64
7.2.290.0130.00516.59
7.2.250.0120.00615.22
7.2.240.0000.01814.89
7.2.230.0040.01215.25
7.2.220.0070.01115.10
7.2.210.0060.00614.92
7.2.200.0030.00915.04
7.2.190.0060.00914.96
7.2.180.0030.01315.01
7.2.170.0130.00315.15
7.2.130.0070.00516.87
7.2.120.0070.00916.84
7.2.110.0050.01216.77
7.2.100.0080.01016.68
7.2.90.0050.00916.69
7.2.80.0040.01216.78
7.2.70.0040.01216.77
7.2.60.0120.00516.91
7.2.50.0040.01016.83
7.2.40.0880.01017.23
7.2.30.0550.00717.19
7.2.20.0490.00817.20
7.2.10.0430.00817.27
7.2.00.0410.00817.11
7.1.330.0030.00915.99
7.1.320.0070.00315.64
7.1.310.0030.01416.04
7.1.300.0080.00015.99
7.1.290.0060.00616.02
7.1.280.0100.00716.04
7.1.270.0080.01115.87
7.1.260.0000.01215.79
7.1.250.0080.00415.93
7.1.240.0000.00915.82
7.1.230.0030.00715.84
7.1.220.0070.00715.61
7.1.210.0040.01115.65
7.1.200.0100.00515.86
7.1.190.0030.00615.95
7.1.180.0070.00715.87
7.1.170.0000.01515.83
7.1.160.0640.00416.46
7.1.150.0560.01116.33
7.1.140.0600.00616.54
7.1.130.1090.01116.26
7.1.120.1270.01016.43
7.1.110.0870.00616.18
7.1.100.0720.00916.17
7.1.90.0560.00916.11
7.1.80.0590.00916.22
7.1.70.0580.00615.58
7.1.60.1550.01024.60
7.1.50.0900.01024.42
7.1.40.2010.01124.40
7.1.30.0980.00824.17
7.1.20.1150.01224.41
7.1.10.0840.00715.20
7.1.00.0830.01115.34
7.0.330.0070.01015.54
5.6.380.0040.00814.14

preferences:
59.96 ms | 400 KiB | 5 Q