3v4l.org

run code in 300+ PHP versions simultaneously
<?php $source = 'Aug 20, 2016 '; //split into parts separated by all non-word characters $result = preg_split('/\W+/',trim($source)); print_r($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.3.60.0160.00316.63
8.3.50.0120.00922.88
8.3.40.0120.00318.68
8.3.30.0120.00318.84
8.3.20.0000.00821.80
8.3.10.0040.00421.85
8.3.00.0040.00419.66
8.2.180.0090.01225.92
8.2.170.0200.00018.96
8.2.160.0070.00722.96
8.2.150.0000.00724.18
8.2.140.0000.00824.66
8.2.130.0050.00322.33
8.2.120.0040.00426.35
8.2.110.0060.00319.45
8.2.100.0080.00417.72
8.2.90.0000.00817.88
8.2.80.0050.00318.68
8.2.70.0000.00917.63
8.2.60.0030.00617.80
8.2.50.0040.00418.07
8.2.40.0030.00519.84
8.2.30.0070.00018.01
8.2.20.0000.00717.68
8.2.10.0040.00417.98
8.2.00.0020.00518.05
8.1.280.0120.00325.92
8.1.270.0050.00323.88
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0070.00322.30
8.1.230.0090.00322.59
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00817.35
8.1.190.0000.00917.35
8.1.180.0040.00418.10
8.1.170.0050.00318.62
8.1.160.0040.00418.77
8.1.150.0040.00418.79
8.1.140.0000.00719.53
8.1.130.0000.00717.52
8.1.120.0070.00017.50
8.1.110.0030.00617.44
8.1.100.0070.00317.43
8.1.90.0040.00417.50
8.1.80.0000.00817.42
8.1.70.0040.00417.51
8.1.60.0040.00417.69
8.1.50.0040.00417.50
8.1.40.0000.00817.49
8.1.30.0050.00317.72
8.1.20.0050.00217.64
8.1.10.0040.00417.48
8.1.00.0000.00817.38
8.0.300.0080.00018.77
8.0.290.0080.00016.75
8.0.280.0040.00418.40
8.0.270.0050.00316.87
8.0.260.0000.00617.11
8.0.250.0030.00316.89
8.0.240.0070.00016.95
8.0.230.0040.00417.06
8.0.220.0000.00716.96
8.0.210.0000.00716.82
8.0.200.0030.00316.98
8.0.190.0000.00717.06
8.0.180.0000.00817.02
8.0.170.0040.00416.89
8.0.160.0080.00017.05
8.0.150.0030.00316.89
8.0.140.0050.00216.96
8.0.130.0000.00513.41
8.0.120.0030.00516.96
8.0.110.0050.00216.96
8.0.100.0040.00417.00
8.0.90.0000.00816.90
8.0.80.0060.01017.02
8.0.70.0030.00616.86
8.0.60.0040.00416.85
8.0.50.0080.00016.95
8.0.30.0120.00617.10
8.0.20.0100.00917.40
8.0.10.0050.00216.88
8.0.00.0100.00716.95
7.4.330.0060.00015.08
7.4.320.0000.00616.76
7.4.300.0030.00316.77
7.4.290.0000.00716.70
7.4.280.0090.00016.74
7.4.270.0030.00316.74
7.4.260.0070.00016.65
7.4.250.0050.00316.69
7.4.240.0080.00016.57
7.4.230.0000.00816.39
7.4.220.0090.01316.72
7.4.210.0060.01016.68
7.4.200.0000.00716.83
7.4.160.0070.00816.69
7.4.150.0110.00717.40
7.4.140.0050.01617.86
7.4.130.0110.00816.58
7.4.120.0100.00916.59
7.4.110.0130.00416.69
7.4.100.0110.00816.39
7.4.90.0070.01116.70
7.4.80.0130.00319.39
7.4.70.0090.01216.57
7.4.60.0080.00816.50
7.4.50.0040.00716.39
7.4.40.0070.01016.71
7.4.30.0030.01316.60
7.4.00.0060.00914.93
7.3.330.0060.00013.23
7.3.320.0050.00013.14
7.3.310.0000.00716.12
7.3.300.0030.00316.25
7.3.290.0100.00816.29
7.3.280.0090.00816.33
7.3.270.0040.01717.40
7.3.260.0150.00716.42
7.3.250.0050.01516.34
7.3.240.0080.00916.42
7.3.230.0070.01016.39
7.3.210.0070.01316.59
7.3.200.0060.00916.47
7.3.190.0140.00616.43
7.3.180.0150.00616.60
7.3.170.0100.00716.40
7.3.160.0110.00916.27
7.3.120.0040.01514.69
7.3.110.0030.01414.78
7.3.100.0090.00614.90
7.3.90.0070.00314.88
7.3.80.0120.00314.63
7.3.70.0090.00014.77
7.3.60.0120.00314.93
7.3.50.0030.01014.60
7.3.40.0090.00314.72
7.3.30.0030.00614.70
7.3.20.0030.01316.70
7.3.10.0060.00916.76
7.3.00.0150.00016.85
7.2.330.0100.00716.55
7.2.320.0070.01316.68
7.2.310.0070.01116.77
7.2.300.0100.00716.59
7.2.290.0160.00016.75
7.2.250.0140.00415.03
7.2.240.0130.00615.14
7.2.230.0030.01314.91
7.2.220.0080.00415.16
7.2.210.0030.01315.13
7.2.200.0110.00414.95
7.2.190.0040.01115.18
7.2.180.0040.01515.04
7.2.170.0040.00714.96
7.2.60.0000.00816.87
7.2.50.0040.00817.07
7.1.330.0070.00715.71
7.1.320.0030.00915.99
7.1.310.0090.00315.99
7.1.300.0060.00915.68
7.1.290.0070.01015.86
7.1.280.0030.00715.84
7.1.270.0000.01316.01
7.1.260.0070.00716.00
7.1.200.0060.00615.90
7.1.70.0130.00017.31
7.1.60.0100.00319.75
7.1.00.0070.07322.49
7.0.200.0140.00316.87
7.0.90.0200.07320.10
7.0.80.0170.07319.99
7.0.70.0230.07019.97
7.0.60.0200.06720.00
7.0.50.3200.08320.41
7.0.40.0430.06720.36
7.0.30.2670.07020.28
7.0.20.0270.08020.34
7.0.10.2670.07720.33
7.0.00.0230.06020.38
5.6.240.0100.06720.59
5.6.230.0200.07020.60
5.6.220.0130.07720.59
5.6.210.0030.09020.71
5.6.200.0200.07021.18
5.6.190.0230.07721.02
5.6.180.0130.08321.09
5.6.170.0030.08721.01
5.6.160.0130.07321.06
5.6.150.0130.07021.11
5.6.140.0170.05021.07
5.6.130.0130.07021.15
5.6.120.0170.05721.05
5.6.110.0170.06321.01
5.6.100.0130.07021.07
5.6.90.0200.06021.00
5.6.80.0070.06020.41
5.6.70.0200.06320.46
5.6.60.0070.06720.43
5.6.50.0130.06720.46
5.6.40.0170.06020.48
5.6.30.0200.05320.48
5.6.20.0070.06720.41
5.6.10.0130.06020.37
5.6.00.0100.07020.54

preferences:
35.28 ms | 401 KiB | 5 Q