3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str="[[uno]] [sd] sldkjnsldnvls [lsjd] sldjbnlsjdnblsjndsd [[due]] opopopopopopopopopop [rr] ioioioioioioioio "; $array=mb_split("\s*\[\[|\]\]\s*", $str); print_r($array);

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.60.0110.00316.88
8.3.50.0090.00922.18
8.3.40.0120.00918.80
8.3.30.0120.00619.18
8.3.20.0040.01220.20
8.3.10.0040.00423.80
8.3.00.0050.00319.21
8.2.180.0140.00718.54
8.2.170.0120.00322.96
8.2.160.0030.01020.47
8.2.150.0160.00324.18
8.2.140.0090.00924.66
8.2.130.0070.00026.16
8.2.120.0040.00420.94
8.2.110.0060.00322.20
8.2.100.0090.00317.78
8.2.90.0050.00319.21
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0050.00317.91
8.2.50.0040.00418.07
8.2.40.0000.00820.00
8.2.30.0000.00718.18
8.2.20.0040.00417.61
8.2.10.0000.00818.05
8.2.00.0000.00717.76
8.1.280.0070.00725.92
8.1.270.0040.00424.09
8.1.260.0030.00526.35
8.1.250.0050.00328.09
8.1.240.0060.00324.10
8.1.230.0090.00317.52
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0000.00917.25
8.1.190.0040.00417.13
8.1.180.0030.00618.10
8.1.170.0030.00618.52
8.1.160.0070.00022.13
8.1.150.0070.00018.68
8.1.140.0080.00017.63
8.1.130.0030.00317.87
8.1.120.0050.00217.54
8.1.110.0000.00717.54
8.1.100.0000.00717.47
8.1.90.0000.00717.54
8.1.80.0040.00417.48
8.1.70.0080.00017.56
8.1.60.0000.00817.61
8.1.50.0000.00817.62
8.1.40.0090.00017.54
8.1.30.0000.00817.83
8.1.20.0070.00017.73
8.1.10.0000.00717.58
8.1.00.0040.00417.39
8.0.300.0060.00318.77
8.0.290.0080.00016.88
8.0.280.0000.00718.52
8.0.270.0030.00517.45
8.0.260.0000.00617.38
8.0.250.0000.00717.02
8.0.240.0050.00217.06
8.0.230.0040.00417.00
8.0.220.0000.00716.95
8.0.210.0050.00517.05
8.0.200.0000.00717.06
8.0.190.0040.00316.86
8.0.180.0070.00016.86
8.0.170.0030.00517.00
8.0.160.0000.00816.99
8.0.150.0030.00617.00
8.0.140.0040.00417.02
8.0.130.0050.00013.34
8.0.120.0000.00716.86
8.0.110.0080.00017.03
8.0.100.0000.00816.82
8.0.90.0050.00216.88
8.0.80.0090.00616.95
8.0.70.0040.00416.95
8.0.60.0070.00016.83
8.0.50.0040.00416.74
8.0.30.0110.00817.06
8.0.20.0140.00517.40
8.0.10.0040.00416.91
8.0.00.0100.00816.89
7.4.330.0000.00715.00
7.4.320.0000.00716.73
7.4.300.0000.00716.57
7.4.290.0030.00316.52
7.4.280.0030.00316.56
7.4.270.0030.00316.63
7.4.260.0000.00716.70
7.4.250.0040.00416.56
7.4.240.0030.00316.71
7.4.230.0030.00316.73
7.4.220.0150.00316.60
7.4.210.0110.00416.59
7.4.200.0000.00716.52
7.4.190.0000.00716.82
7.4.160.0130.00316.50
7.4.150.0150.00317.40
7.4.140.0120.00817.86
7.4.130.0050.01116.57
7.4.120.0090.01116.54
7.4.110.0140.00616.55
7.4.100.0100.01016.61
7.4.90.0070.01516.53
7.4.80.0130.00319.39
7.4.70.0030.01316.52
7.4.60.0080.00816.54
7.4.50.0000.00416.32
7.4.40.0120.00916.59
7.4.30.0030.01316.58
7.4.00.0060.01215.04
7.3.330.0000.00613.13
7.3.320.0030.00313.09
7.3.310.0030.00316.28
7.3.300.0030.00316.29
7.3.290.0060.01216.31
7.3.280.0090.00816.24
7.3.270.0140.00317.40
7.3.260.0090.01516.56
7.3.250.0130.01016.39
7.3.240.0110.01016.55
7.3.230.0170.00016.39
7.3.210.0090.01216.26
7.3.200.0090.01119.39
7.3.190.0080.00816.16
7.3.180.0130.01016.38
7.3.170.0070.01016.47
7.3.160.0090.00616.58
7.3.120.0100.00714.72
7.2.330.0120.00916.49
7.2.320.0120.00616.43
7.2.310.0130.01016.72
7.2.300.0130.00416.50
7.2.290.0120.00616.48
7.2.80.0000.01216.63
7.2.60.0030.00916.64
7.2.00.0040.01119.40
7.1.200.0320.00315.60
7.1.100.0070.00718.17
7.1.70.0050.00316.80
7.1.60.0120.00619.46
7.1.50.0060.00617.04
7.1.00.0030.07722.57
7.0.200.0070.00316.66
7.0.140.0030.07322.02
7.0.60.0070.08719.88
7.0.50.0070.05717.88
7.0.40.0170.08020.11
7.0.30.0200.05720.21
7.0.20.0200.07020.23
7.0.10.0130.05020.07
7.0.00.0130.07320.23
5.6.280.0000.07720.85
5.6.210.0130.06320.70
5.6.200.0030.05318.19
5.6.190.0000.05020.57
5.6.180.0200.04720.61
5.6.170.0270.07720.55
5.6.160.0070.06320.52
5.6.150.0030.05718.18
5.6.140.0070.04018.13
5.6.130.0130.03018.17
5.6.120.0000.06720.96
5.6.110.0170.07720.96
5.6.100.0070.04020.99
5.6.90.0070.07021.09
5.6.80.0130.07020.50
5.5.350.3570.04320.35
5.5.340.0030.05318.08
5.5.330.0170.07720.56
5.5.320.0270.03720.41
5.5.310.0400.07020.30
5.5.300.0130.03017.94
5.5.290.0170.06318.07
5.5.280.0070.04320.95
5.5.270.0030.08020.66
5.5.260.0100.07720.86
5.5.250.0030.04020.59
5.5.240.0000.04020.25
5.4.450.0530.08019.19
5.4.440.0770.07019.19
5.4.430.1000.06019.63
5.4.420.0830.07719.27
5.4.410.1000.05319.24
5.4.400.1030.05319.16
5.4.390.1000.05319.18
5.4.380.0530.04318.81
5.4.370.0230.06318.78
5.4.360.0330.05718.66
5.4.350.0370.05318.50
5.4.340.0330.05718.44
5.4.320.0050.04012.48
5.4.310.0090.05512.48
5.4.300.0110.04912.48
5.4.290.0090.05512.48
5.4.280.0090.05212.37
5.4.270.0100.05012.37
5.4.260.0090.05312.38
5.4.250.0090.05512.38
5.4.240.0150.04912.37
5.4.230.0040.06012.37
5.4.220.0120.04812.37
5.4.210.0090.07312.36
5.4.200.0080.07112.37
5.4.190.0050.06212.36
5.4.180.0080.05212.36
5.4.170.0100.05012.38
5.4.160.0070.05112.37
5.4.150.0060.04812.36
5.4.140.0060.05512.05
5.4.130.0090.04712.04
5.4.120.0070.05212.00
5.4.110.0110.04811.99
5.4.100.0120.04511.99
5.4.90.0090.05111.99
5.4.80.0070.05411.99
5.4.70.0100.04811.99
5.4.60.0090.05211.99
5.4.50.0110.05111.99
5.4.40.0070.05311.98
5.4.30.0090.05011.97
5.4.20.0150.04411.98
5.4.10.0150.04311.98
5.4.00.0070.05111.46
5.3.290.0060.04512.80
5.3.280.0090.05512.71
5.3.270.0110.05312.73
5.3.260.0070.05712.71
5.3.250.0160.06512.72
5.3.240.0080.05412.72
5.3.230.0130.04712.71
5.3.220.0110.05112.68
5.3.210.0090.05512.68
5.3.200.0110.05012.68
5.3.190.0120.04712.68
5.3.180.0100.05112.67
5.3.170.0110.05012.67
5.3.160.0080.05212.67
5.3.150.0130.04812.67
5.3.140.0090.05212.66
5.3.130.0050.05812.66
5.3.120.0110.05212.66
5.3.110.0110.06412.66
5.3.100.0110.05212.12
5.3.90.0110.05212.09
5.3.80.0060.05212.07
5.3.70.0080.05012.08
5.3.60.0150.06212.07
5.3.50.0160.04912.01
5.3.40.0130.05312.01
5.3.30.0130.04611.96
5.3.20.0140.04811.75
5.3.10.0120.05011.71
5.3.00.0080.05611.70
5.2.170.0090.0389.20
5.2.160.0090.0419.20
5.2.150.0100.0459.21
5.2.140.0070.0459.20
5.2.130.0070.0459.16
5.2.120.0050.0469.16
5.2.110.0110.0369.17
5.2.100.0070.0409.16
5.2.90.0070.0449.16
5.2.80.0070.0439.16
5.2.70.0080.0429.16
5.2.60.0090.0429.12
5.2.50.0080.0449.09
5.2.40.0080.0419.06
5.2.30.0090.0519.04
5.2.20.0060.0419.02
5.2.10.0100.0368.93
5.2.00.0090.0398.80
5.1.60.0090.0408.06
5.1.50.0110.0368.05
5.1.40.0060.0398.04
5.1.30.0090.0408.39
5.1.20.0100.0458.41
5.1.10.0070.0378.13
5.1.00.0040.0368.13
5.0.50.0100.0246.62
5.0.40.0050.0266.47
5.0.30.0060.0356.29
5.0.20.0020.0246.26
5.0.10.0060.0206.24
5.0.00.0050.0316.23
4.4.90.0050.0164.77
4.4.80.0050.0194.75
4.4.70.0070.0224.75
4.4.60.0080.0194.76
4.4.50.0020.0224.77
4.4.40.0030.0314.71
4.4.30.0050.0354.76
4.4.20.0110.0574.84
4.4.10.0060.0364.85
4.4.00.0080.0304.76
4.3.110.0040.0224.67
4.3.100.0040.0224.67
4.3.90.0040.0224.63
4.3.80.0030.0344.59
4.3.70.0020.0234.63
4.3.60.0060.0184.63
4.3.50.0040.0224.63
4.3.40.0010.0284.54
4.3.30.0040.0163.28
4.3.20.0030.0183.25
4.3.10.0030.0173.21
4.3.00.0130.0207.40

preferences:
35.18 ms | 401 KiB | 5 Q