3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_split("/[\s,]+/", "hypertext language, programming", 0)); var_dump(preg_split("/[\s,]+/", "hypertext language, programming", null));

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.0150.00016.88
8.3.50.0110.00718.36
8.3.40.0120.00318.79
8.3.30.0070.00718.84
8.3.20.0080.00019.04
8.3.10.0080.00021.73
8.3.00.0040.00420.81
8.2.180.0140.00716.63
8.2.170.0060.01222.96
8.2.160.0100.00720.35
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0000.00819.70
8.2.110.0030.00619.21
8.2.100.0060.00717.78
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00717.68
8.2.50.0030.00618.10
8.2.40.0030.00522.14
8.2.30.0070.00020.57
8.2.20.0050.00317.75
8.2.10.0000.00718.00
8.2.00.0040.00417.86
8.1.280.0100.01025.92
8.1.270.0000.00823.82
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00422.00
8.1.230.0080.00421.04
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0060.00317.35
8.1.190.0050.00517.35
8.1.180.0040.00418.10
8.1.170.0000.00918.63
8.1.160.0040.00418.84
8.1.150.0070.00018.69
8.1.140.0040.00419.41
8.1.130.0030.00317.64
8.1.120.0000.00717.49
8.1.110.0040.00417.38
8.1.100.0070.00017.51
8.1.90.0030.00517.49
8.1.80.0080.00017.50
8.1.70.0070.00017.46
8.1.60.0070.00017.63
8.1.50.0030.00617.53
8.1.40.0040.00417.53
8.1.30.0000.00817.66
8.1.20.0000.00917.68
8.1.10.0080.00017.55
8.1.00.0000.00717.43
8.0.300.0070.00018.77
8.0.290.0060.00316.75
8.0.280.0030.00318.25
8.0.270.0000.00816.72
8.0.260.0040.00417.07
8.0.250.0040.00416.89
8.0.240.0040.00417.03
8.0.230.0030.00517.01
8.0.220.0070.00016.82
8.0.210.0000.00716.93
8.0.200.0020.00516.94
8.0.190.0040.00416.96
8.0.180.0000.00716.80
8.0.170.0050.00216.93
8.0.160.0000.00716.91
8.0.150.0070.00016.80
8.0.140.0000.00716.72
8.0.130.0030.00313.41
8.0.120.0030.00516.85
8.0.110.0070.00016.81
8.0.100.0040.00416.77
8.0.90.0050.00316.76
8.0.80.0060.00916.86
8.0.70.0040.00416.86
8.0.60.0030.00616.93
8.0.50.0000.00816.83
8.0.30.0090.00816.98
8.0.20.0090.01017.40
8.0.10.0000.00817.05
8.0.00.0070.01016.76
7.4.330.0000.00515.08
7.4.320.0040.00416.57
7.4.300.0030.00316.59
7.4.290.0030.00316.59
7.4.280.0070.00316.68
7.4.270.0030.00416.63
7.4.260.0000.00716.70
7.4.250.0000.00716.63
7.4.240.0000.00716.64
7.4.230.0070.00016.57
7.4.220.0130.00416.64
7.4.210.0130.00316.63
7.4.200.0040.00216.71
7.4.160.0060.00916.48
7.4.150.0080.01117.40
7.4.140.0130.00717.86
7.4.130.0110.01016.66
7.4.120.0070.01016.45
7.4.110.0060.01516.65
7.4.100.0070.01316.40
7.4.90.0100.00716.41
7.4.80.0110.00619.39
7.4.70.0030.01316.44
7.4.60.0080.00816.50
7.4.50.0030.00716.51
7.4.40.0120.00916.62
7.4.30.0090.01216.62
7.4.00.0080.01014.97
7.3.330.0030.00313.18
7.3.320.0060.00013.00
7.3.310.0070.00016.34
7.3.300.0000.00716.24
7.3.290.0080.00916.25
7.3.280.0070.01016.34
7.3.270.0100.01317.40
7.3.260.0130.00716.43
7.3.250.0110.00916.47
7.3.240.0100.01016.31
7.3.230.0090.01016.63
7.3.210.0100.01316.57
7.3.200.0110.00916.23
7.3.190.0030.01316.51
7.3.180.0070.01016.18
7.3.170.0080.01216.31
7.3.160.0110.00416.50
7.3.120.0130.00615.06
7.3.110.0030.01614.76
7.3.100.0070.01014.55
7.3.90.0090.00314.97
7.3.80.0070.00715.00
7.3.70.0060.00614.84
7.3.60.0030.01214.56
7.3.50.0030.00614.78
7.3.40.0060.00314.88
7.3.30.0100.00314.93
7.3.20.0130.00016.83
7.3.10.0100.00616.90
7.3.00.0030.00616.86
7.2.330.0100.00816.52
7.2.320.0130.00916.70
7.2.310.0030.01516.45
7.2.300.0040.01416.59
7.2.290.0070.01016.74
7.2.250.0090.00615.22
7.2.240.0040.01514.86
7.2.230.0110.00715.09
7.2.220.0040.00914.98
7.2.210.0040.01115.16
7.2.200.0040.00815.00
7.2.190.0100.00715.12
7.2.180.0060.00614.63
7.2.170.0070.01014.95
7.2.60.0060.00916.88
7.1.330.0000.01415.69
7.1.320.0030.00915.71
7.1.310.0070.00715.71
7.1.300.0000.00915.66
7.1.290.0060.00615.82
7.1.280.0070.01015.79
7.1.270.0060.00615.80
7.1.260.0000.01415.63
7.1.200.0060.00615.71
7.1.70.0090.00017.37
7.1.60.0150.00919.32
7.1.00.0030.07022.52
7.0.200.0310.00714.86
7.0.60.0700.00019.96
7.0.50.0800.00020.31
7.0.40.0970.00020.43
7.0.30.0830.00020.20
7.0.20.0770.00020.40
7.0.10.0730.00020.21
7.0.00.0830.00020.39
5.6.280.0070.07020.81
5.6.210.0870.00020.73
5.6.200.0830.00021.03
5.6.190.0800.00021.06
5.6.180.0830.00021.07
5.6.170.0770.00021.05
5.6.160.1000.00021.19
5.6.150.0870.00021.09
5.6.140.0770.00021.20
5.6.130.0870.00021.04
5.6.120.0730.00021.11
5.6.110.0770.00021.10
5.6.100.0800.00021.02
5.6.90.0830.00021.08
5.6.80.0730.00020.41
5.6.70.1070.00020.54
5.6.60.0830.00020.48
5.6.50.0830.00020.43
5.6.40.0830.00020.36
5.6.30.0730.00020.41
5.6.20.1100.00020.39
5.6.10.0970.00020.55
5.6.00.0800.00020.38
5.5.350.0800.00020.38
5.5.340.0830.00020.79
5.5.330.0870.00021.04
5.5.320.1070.00020.84
5.5.310.0730.00020.70
5.5.300.0730.00020.78
5.5.290.0730.00020.99
5.5.280.0700.00020.84
5.5.270.0830.00020.82
5.5.260.0830.00020.77
5.5.250.0830.00020.56
5.5.240.0770.00020.09
5.5.230.1100.00020.39
5.5.220.0770.00020.07
5.5.210.0770.00020.21
5.5.200.0830.00020.21
5.5.190.0770.00020.37
5.5.180.0800.00020.21
5.5.160.0800.00020.34
5.5.150.0730.00020.36
5.5.140.0870.00020.19
5.5.130.0900.00020.20
5.5.120.0770.00020.18
5.5.110.0770.00020.05
5.5.100.0870.00020.07
5.5.90.0800.00020.03
5.5.80.0800.00019.99
5.5.70.0770.00020.10
5.5.60.0770.00019.89
5.5.50.0830.00020.14
5.5.40.0800.00020.17
5.5.30.0800.00020.05
5.5.20.0870.00020.03
5.5.10.0830.00020.04
5.5.00.1030.00020.18

preferences:
64.35 ms | 401 KiB | 5 Q