3v4l.org

run code in 300+ PHP versions simultaneously
<?php $chars = preg_quote('|/\.,:;_+', '/'); $string = 'a;b:c.d__e\f'; $result = preg_split('/[' . $chars . ']/', $string); var_dump($result);

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.30.0100.00720.11
8.5.20.0060.01020.04
8.5.10.0110.00719.36
8.5.00.0100.01320.03
8.4.180.0130.00919.77
8.4.170.0090.01320.43
8.4.160.0120.01023.68
8.4.150.0080.00516.92
8.4.140.0150.00617.56
8.4.130.0080.01218.90
8.4.120.0110.00723.89
8.4.110.0060.00918.98
8.4.100.0060.00318.96
8.4.90.0110.00720.75
8.4.80.0080.00318.73
8.4.70.0100.00518.73
8.4.60.0120.01018.86
8.4.50.0110.01018.82
8.4.40.0100.01319.53
8.4.30.0070.01417.97
8.4.20.0130.00719.51
8.4.10.0160.00319.37
8.3.300.0120.00820.81
8.3.290.0130.00820.77
8.3.280.0130.00918.42
8.3.270.0140.00816.58
8.3.260.0130.00616.60
8.3.250.0110.00719.01
8.3.240.0100.00517.30
8.3.230.0050.00416.54
8.3.220.0060.00219.06
8.3.210.0130.00516.82
8.3.200.0050.00316.66
8.3.190.0080.00717.26
8.3.180.0120.00719.13
8.3.170.0000.01816.57
8.3.160.0130.00616.98
8.3.150.0090.00916.70
8.3.140.0040.01119.09
8.3.130.0080.00018.64
8.3.120.0070.01120.79
8.3.110.0130.00620.94
8.3.100.0090.00024.06
8.3.90.0060.01226.77
8.3.80.0040.00418.55
8.3.70.0090.00616.75
8.3.60.0140.00718.43
8.3.50.0130.00822.02
8.3.40.0100.01018.98
8.3.30.0150.00318.93
8.3.20.0090.00021.77
8.3.10.0150.00323.65
8.3.00.0100.00619.38
8.2.300.0110.00924.00
8.2.290.0150.00420.27
8.2.280.0110.01320.29
8.2.270.0180.00016.67
8.2.260.0080.00016.86
8.2.250.0070.00716.83
8.2.240.0120.00617.20
8.2.230.0060.00322.58
8.2.220.0060.00337.54
8.2.210.0140.00426.77
8.2.200.0040.00418.29
8.2.190.0090.01216.58
8.2.180.0170.00318.41
8.2.170.0120.00322.96
8.2.160.0150.00620.53
8.2.150.0060.01224.18
8.2.140.0030.00624.66
8.2.130.0080.00019.95
8.2.120.0130.00626.35
8.2.110.0030.00719.25
8.2.100.0040.00817.74
8.2.90.0000.00818.34
8.2.80.0060.00317.97
8.2.70.0090.00017.91
8.2.60.0000.00818.09
8.2.50.0060.00318.10
8.2.40.0000.00820.59
8.2.30.0030.00519.14
8.2.20.0000.00718.08
8.2.10.0020.00518.14
8.2.00.0040.00417.77
8.1.340.0130.01017.87
8.1.330.0150.00522.16
8.1.320.0080.00218.21
8.1.310.0110.00016.07
8.1.300.0140.00418.49
8.1.290.0090.00030.84
8.1.280.0200.00725.92
8.1.270.0070.01120.25
8.1.260.0130.00626.35
8.1.250.0070.01028.09
8.1.240.0070.00322.48
8.1.230.0040.00722.73
8.1.220.0000.00917.74
8.1.210.0030.00618.90
8.1.200.0050.00317.36
8.1.190.0030.00517.22
8.1.180.0000.00918.10
8.1.170.0040.00418.78
8.1.160.0000.00718.91
8.1.150.0000.00720.28
8.1.140.0050.00219.64
8.1.130.0030.00619.10
8.1.120.0040.00417.54
8.1.110.0050.00317.48
8.1.100.0050.00317.62
8.1.90.0000.00717.50
8.1.80.0040.00417.59
8.1.70.0040.00417.46
8.1.60.0030.00517.71
8.1.50.0040.00417.56
8.1.40.0030.00617.63
8.1.30.0040.00417.82
8.1.20.0000.00717.80
8.1.10.0030.00517.61
8.1.00.0040.00417.61
8.0.300.0000.00719.91
8.0.290.0040.00416.75
8.0.280.0000.00718.44
8.0.270.0000.00717.28
8.0.260.0070.00017.29
8.0.250.0040.00417.08
8.0.240.0070.00316.97
8.0.230.0050.00316.97
8.0.220.0000.00816.93
8.0.210.0030.00316.96
8.0.200.0000.00717.05
8.0.190.0080.00017.13
8.0.180.0040.00417.14
8.0.170.0040.00417.03
8.0.160.0000.00717.07
8.0.150.0000.00716.99
8.0.140.0000.00716.88
8.0.130.0050.00313.42
8.0.120.0050.00316.98
8.0.110.0030.00517.00
8.0.100.0090.00016.82
8.0.90.0050.00216.92
8.0.80.0060.00917.02
8.0.70.0030.00517.01
8.0.60.0000.00716.79
8.0.50.0000.00717.02
8.0.30.0070.01317.34
8.0.20.0110.00917.40
8.0.10.0030.00617.03
8.0.00.0120.00616.90
7.4.330.0000.00515.55
7.4.320.0030.00316.65
7.4.300.0000.00616.75
7.4.290.0040.00416.79
7.4.280.0050.00316.72
7.4.270.0030.00316.63
7.4.260.0100.00016.73
7.4.250.0000.00716.66
7.4.240.0060.00016.70
7.4.230.0030.00316.77
7.4.220.0090.00916.76
7.4.210.0070.01016.70
7.4.200.0040.00416.76
7.4.160.0060.01016.62
7.4.150.0120.00617.40
7.4.140.0100.01017.86
7.4.130.0110.00616.61
7.4.120.0100.00816.62
7.4.110.0100.00716.76
7.4.100.0090.01316.80
7.4.90.0070.01016.57
7.4.80.0070.01019.39
7.4.70.0060.00916.71
7.4.60.0040.01416.63
7.4.50.0100.00316.43
7.4.40.0040.01316.60
7.4.30.0160.00016.57
7.4.00.0090.00615.16
7.3.330.0020.00213.16
7.3.320.0000.00613.27
7.3.310.0070.00016.34
7.3.300.0030.00316.31
7.3.290.0090.00716.42
7.3.280.0100.00916.39
7.3.270.0120.00917.40
7.3.260.0120.00916.68
7.3.250.0100.00716.70
7.3.240.0070.01316.72
7.3.230.0120.01216.43
7.3.210.0060.01216.71
7.3.200.0170.00319.39
7.3.190.0090.00916.78
7.3.180.0120.00616.77
7.3.170.0070.01716.45
7.3.160.0150.00516.39
7.3.120.0040.01415.11
7.3.110.0070.01115.09
7.3.100.0090.00915.11
7.3.90.0100.00015.11
7.3.80.0070.01015.17
7.3.70.0030.00615.05
7.3.60.0040.01215.03
7.3.50.0090.00614.80
7.3.40.0090.00015.09
7.3.30.0030.00815.06
7.3.20.0030.01016.74
7.3.10.0090.00316.90
7.3.00.0110.00416.71
7.2.330.0040.02116.70
7.2.320.0070.01116.75
7.2.310.0070.01016.66
7.2.300.0080.00316.54
7.2.290.0140.00416.76
7.2.250.0160.00315.20
7.2.240.0120.00415.07
7.2.230.0070.01115.08
7.2.220.0080.00814.95
7.2.210.0090.00915.21
7.2.200.0070.01015.16
7.2.190.0070.00715.21
7.2.180.0030.01115.32
7.2.170.0080.00515.11
7.2.60.0040.01217.05
7.2.50.0030.01017.16
7.1.330.0040.01216.14
7.1.320.0060.00316.00
7.1.310.0040.00716.20
7.1.300.0090.00015.95
7.1.290.0070.00715.89
7.1.280.0070.00715.93
7.1.270.0090.00015.99
7.1.260.0060.00915.89
7.1.200.0100.00315.91
7.1.70.0090.00617.42
7.1.60.0000.01117.61
7.1.10.0130.08020.26
7.1.00.0230.05720.61
7.0.200.0110.00716.93
7.0.150.0200.06320.02
7.0.140.0270.05320.07
7.0.130.0170.09019.93
7.0.120.0170.07020.07
7.0.110.0300.05021.91
7.0.100.0130.06320.09
7.0.90.0170.05022.00
7.0.80.0200.05720.12
7.0.70.0100.07020.10
7.0.60.0200.06321.82
7.0.50.0230.05321.91
7.0.40.0000.06321.94
7.0.30.0030.06021.75
7.0.20.0100.05321.87
7.0.10.0230.04321.75
7.0.00.0200.04721.92

preferences:
109.28 ms | 1569 KiB | 5 Q