3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "Service, Service, Service, 8 mars, 2017, 22 mars, 2017, 5 april, 2017, 08:00, 08:00, 08:00"; $rows = 3; var_export( array_map( null, ...array_chunk( preg_split('/(?:[A-Z][a-z]+|\d+)\K, /', $string), $rows ) ) );

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.0110.00720.68
8.4.110.0110.00922.34
8.4.100.0140.00717.73
8.4.90.0050.00419.61
8.4.80.0070.00217.93
8.4.70.0130.00717.77
8.4.60.0120.00918.65
8.4.50.0120.00817.82
8.4.40.0080.00021.99
8.4.30.0070.01120.25
8.4.20.0130.00718.00
8.4.10.0090.00022.09
8.3.250.0110.00918.94
8.3.240.0140.00616.68
8.3.230.0070.00316.67
8.3.220.0060.00517.05
8.3.210.0060.00316.84
8.3.200.0070.00116.71
8.3.190.0130.00617.33
8.3.180.0020.00616.63
8.3.170.0080.01116.87
8.3.160.0070.01016.39
8.3.150.0040.01116.93
8.3.140.0060.00616.59
8.3.130.0040.00418.56
8.3.120.0110.00718.86
8.3.110.0050.00320.94
8.3.100.0000.00824.06
8.3.90.0070.00326.77
8.3.80.0030.00616.66
8.3.70.0100.00716.88
8.3.60.0210.00018.18
8.3.50.0150.00019.87
8.3.40.0110.00421.70
8.3.30.0110.00418.73
8.3.20.0070.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.290.0100.00820.17
8.2.280.0090.00718.73
8.2.270.0090.00916.71
8.2.260.0060.00918.57
8.2.250.0000.00816.64
8.2.240.0060.00318.88
8.2.230.0030.00622.58
8.2.220.0160.00337.54
8.2.210.0110.00826.77
8.2.200.0060.00316.75
8.2.190.0150.00616.58
8.2.180.0070.01025.92
8.2.170.0190.00019.09
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0060.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00421.26
8.2.110.0000.01022.41
8.2.100.0090.00317.91
8.2.90.0000.00917.75
8.2.80.0030.00518.91
8.2.70.0030.00617.75
8.2.60.0060.00318.04
8.2.50.0050.00318.16
8.2.40.0060.00322.45
8.2.30.0080.00018.02
8.2.20.0040.00420.52
8.2.10.0050.00318.16
8.2.00.0000.00719.28
8.1.330.0100.00818.34
8.1.320.0120.00716.28
8.1.310.0080.00017.02
8.1.300.0040.00416.38
8.1.290.0000.01118.88
8.1.280.0070.01125.92
8.1.270.0090.00023.82
8.1.260.0050.00326.35
8.1.250.0050.00328.09
8.1.240.0060.00319.28
8.1.230.0110.00022.60
8.1.220.0030.00518.68
8.1.210.0040.00418.77
8.1.200.0050.00317.34
8.1.190.0030.00617.51
8.1.180.0050.00318.10
8.1.170.0070.00018.89
8.1.160.0070.00018.77
8.1.150.0040.00418.73
8.1.140.0020.00517.39
8.1.130.0000.00818.86
8.1.120.0080.00017.57
8.1.110.0000.00817.51
8.1.100.0000.00717.57
8.1.90.0030.00517.45
8.1.80.0030.00617.54
8.1.70.0030.00717.49
8.1.60.0030.00517.63
8.1.50.0070.00317.53
8.1.40.0080.00017.60
8.1.30.0030.00617.63
8.1.20.0040.00517.33
8.1.10.0030.00617.40
8.1.00.0050.00916.73
8.0.300.0040.00419.85
8.0.290.0070.00016.63
8.0.280.0000.00818.41
8.0.270.0040.00417.95
8.0.260.0040.00418.41
8.0.250.0030.00317.02
8.0.240.0080.00017.03
8.0.230.0030.00617.11
8.0.220.0000.00717.00
8.0.210.0070.00716.56
8.0.200.0090.00216.64
8.0.190.0000.01016.23
8.0.180.0080.00316.82
8.0.170.0060.00616.48
8.0.160.0110.00016.50
8.0.150.0080.00316.96
8.0.140.0080.00416.68
8.0.130.0080.00516.79
8.0.120.0080.00816.52
8.0.110.0070.00816.32
8.0.100.0050.00916.45
8.0.90.0140.00016.28
8.0.80.0090.00516.14
8.0.70.0110.00416.72
8.0.60.0090.00416.58
8.0.50.0040.00816.31
8.0.30.0090.00316.40
8.0.20.0020.00716.98
8.0.10.0060.00617.00
7.4.330.0000.00515.55
7.4.320.0040.00416.76
7.4.300.0090.00016.27
7.4.290.0070.00716.45
7.4.280.0060.00216.59
7.4.270.0080.00416.35
7.4.260.0060.00516.50
7.4.250.0120.00416.32
7.4.240.0140.00016.56
7.4.230.0130.00016.49
7.4.220.0140.00016.34
7.4.210.0080.00316.54
7.4.200.0060.00816.43
7.4.190.0090.00316.32
7.4.180.0080.00716.25
7.4.160.0140.00016.30
7.4.150.0080.00516.54
7.4.140.0090.00416.24
7.4.130.0130.00316.40
7.4.120.0080.00416.32
7.4.110.0110.00016.48
7.4.100.0080.00716.51
7.4.90.0070.00716.33
7.4.80.0140.00016.20
7.4.70.0050.00716.48
7.4.60.0120.00416.24
7.4.50.0110.00316.24
7.4.40.0090.00616.19
7.4.30.0070.00515.90
7.4.20.0040.00715.98
7.4.10.0030.00716.11
7.4.00.0060.00616.30

preferences:
29.94 ms | 403 KiB | 5 Q