3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string = "It's just me, myself, i and an empty glass of wine. Age = 21"; $split = preg_split('/,\K\h+/', $string); print_r($split);

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.10.0120.00616.90
8.5.00.0160.01220.04
8.4.150.0030.00014.05
8.4.140.0160.00617.57
8.4.130.0120.00817.92
8.4.120.0110.00622.28
8.4.110.0070.00519.01
8.4.100.0120.00918.02
8.4.90.0130.00818.63
8.4.80.0080.00817.79
8.4.70.0040.00418.07
8.4.60.0140.00720.17
8.4.50.0120.00817.78
8.4.40.0100.01019.40
8.4.30.0170.00317.69
8.4.20.0070.01419.59
8.4.10.0060.00320.26
8.3.280.0080.01118.44
8.3.270.0120.00916.42
8.3.260.0100.00716.86
8.3.250.0110.00818.80
8.3.240.0140.00517.12
8.3.230.0110.00816.66
8.3.220.0120.00717.20
8.3.210.0130.00716.74
8.3.200.0050.00416.52
8.3.190.0120.00918.32
8.3.180.0110.00816.78
8.3.170.0120.00616.63
8.3.160.0110.00318.95
8.3.150.0140.00718.71
8.3.140.0060.00317.18
8.3.130.0060.00318.24
8.3.120.0070.00418.66
8.3.110.0080.00820.94
8.3.100.0030.00724.06
8.3.90.0000.00826.77
8.3.80.0030.00618.06
8.3.70.0070.01518.52
8.3.60.0120.00918.55
8.3.50.0090.01017.41
8.3.40.0070.01118.84
8.3.30.0150.00018.67
8.3.20.0000.00721.80
8.3.10.0040.00423.65
8.3.00.0080.00019.55
8.2.290.0140.00420.43
8.2.280.0090.00818.59
8.2.270.0040.00416.55
8.2.260.0090.00918.56
8.2.250.0040.00418.44
8.2.240.0080.00017.35
8.2.230.0060.00322.58
8.2.220.0000.01037.54
8.2.210.0070.01126.77
8.2.200.0060.00316.88
8.2.190.0160.00316.63
8.2.180.0100.01018.39
8.2.170.0040.01122.96
8.2.160.0130.00720.45
8.2.150.0080.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00421.20
8.2.120.0080.00026.35
8.2.110.0090.00019.38
8.2.100.0120.00017.91
8.2.90.0040.00417.63
8.2.80.0080.00018.90
8.2.70.0000.00917.75
8.2.60.0040.00417.75
8.2.50.0000.00817.75
8.2.40.0040.00419.88
8.2.30.0050.00319.30
8.2.20.0000.00718.06
8.2.10.0050.00318.18
8.2.00.0040.00417.90
8.1.330.0120.00621.51
8.1.320.0090.01016.31
8.1.310.0060.00316.97
8.1.300.0150.00318.11
8.1.290.0090.00030.84
8.1.280.0120.00925.92
8.1.270.0030.00524.66
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00721.99
8.1.230.0100.00020.86
8.1.220.0050.00318.69
8.1.210.0050.00518.77
8.1.200.0080.00017.35
8.1.190.0040.00417.36
8.1.180.0080.00018.10
8.1.170.0060.00317.62
8.1.160.0000.00718.77
8.1.150.0000.00719.03
8.1.140.0000.00717.57
8.1.130.0030.00319.04
8.1.120.0070.00017.53
8.1.110.0070.00017.45
8.1.100.0040.00417.57
8.1.90.0040.00417.44
8.1.80.0020.00917.37
8.1.70.0040.00417.42
8.1.60.0000.00817.70
8.1.50.0030.00617.55
8.1.40.0050.00217.51
8.1.30.0030.00517.76
8.1.20.0030.00617.71
8.1.10.0030.00717.48
8.1.00.0030.00617.50
8.0.300.0000.00919.88
8.0.290.0030.00616.88
8.0.280.0000.00718.39
8.0.270.0000.00717.12
8.0.260.0030.00618.88
8.0.250.0000.00716.91
8.0.240.0000.00817.01
8.0.230.0070.00017.02
8.0.220.0040.00416.89
8.0.210.0030.00316.88
8.0.200.0030.00517.07
8.0.190.0000.00817.05
8.0.180.0050.00317.04
8.0.170.0000.01016.90
8.0.160.0040.00417.05
8.0.150.0080.00016.86
8.0.140.0030.00316.93
8.0.130.0030.00313.39
8.0.120.0070.00016.94
8.0.110.0050.00316.82
8.0.100.0050.00316.91
8.0.90.0070.00016.91
8.0.80.0090.00617.03
8.0.70.0040.00416.84
8.0.60.0040.00417.00
8.0.50.0050.00317.03
8.0.30.0130.00517.12
8.0.20.0070.01417.40
8.0.10.0080.00017.15
8.0.00.0070.01116.83
7.4.330.0000.00615.55
7.4.320.0030.00316.70
7.4.300.0030.00316.65
7.4.290.0000.00716.69
7.4.280.0000.00816.71
7.4.270.0000.00716.75
7.4.260.0030.00316.71
7.4.250.0030.00316.70
7.4.240.0030.00316.65
7.4.230.0030.00316.54
7.4.220.0030.00516.54
7.4.210.0080.00716.74
7.4.200.0030.00316.77
7.4.160.0060.01116.52
7.4.140.0120.00717.86
7.4.130.0150.00916.59
7.4.120.0110.00916.57
7.4.110.0100.00716.54
7.4.100.0070.01016.60
7.4.90.0070.01016.47
7.4.80.0150.00619.39
7.4.70.0090.00616.66
7.4.60.0000.01816.55
7.4.50.0090.00916.52
7.4.40.0120.01216.63
7.4.00.0110.00714.99
7.3.330.0000.00613.15
7.3.320.0030.00313.13
7.3.310.0040.00416.27
7.3.300.0030.00316.27
7.3.290.0040.00416.28
7.3.280.0100.00816.27
7.3.260.0090.00916.47
7.3.240.0070.00916.46
7.3.230.0030.01416.52
7.3.210.0110.00616.68
7.3.200.0070.01016.38
7.3.190.0100.01016.18
7.3.180.0080.00916.28
7.3.170.0110.00616.27
7.3.160.0060.00916.29
7.3.120.0100.00714.97
7.3.110.0000.01215.18
7.3.100.0060.00814.98
7.3.90.0170.00014.59
7.3.80.0000.01414.80
7.3.70.0030.00714.84
7.3.60.0100.00714.70
7.3.50.0030.01014.44
7.3.40.0090.00314.63
7.3.30.0070.00714.89
7.3.20.0130.00316.76
7.3.10.0060.00716.40
7.3.00.0000.01316.73
7.2.330.0150.00616.61
7.2.320.0150.00516.79
7.2.310.0100.00716.55
7.2.300.0030.01316.42
7.2.290.0030.01316.74
7.2.250.0060.00915.16
7.2.240.0000.02115.00
7.2.230.0070.00414.90
7.2.220.0030.00915.11
7.2.210.0090.00615.08
7.2.200.0000.01415.08
7.2.190.0000.00915.13
7.2.180.0060.00914.99
7.2.170.0030.01115.13
7.2.60.0040.00417.08
7.2.40.1010.00917.91
7.2.30.1060.01017.87
7.2.20.0240.01418.15
7.2.10.0310.02118.09
7.2.00.0190.01418.14
7.1.330.0110.00715.94
7.1.320.0090.00015.63
7.1.310.0040.01115.90
7.1.300.0070.01015.81
7.1.290.0070.00715.67
7.1.280.0040.00415.69
7.1.270.0110.00415.74
7.1.260.0040.00815.80
7.1.200.0030.00715.88
7.1.160.1320.01216.99
7.1.150.0310.01116.85
7.1.140.0240.01317.21
7.1.130.0990.01416.93
7.1.120.0160.00717.07
7.1.110.0080.01016.52
7.1.100.0120.01116.40
7.1.90.0890.01216.27
7.1.80.2110.01416.41
7.1.70.1540.01115.38
7.1.60.1650.02133.47
7.1.50.1640.01732.79
7.1.40.0290.01332.74
7.1.30.1330.01632.82
7.1.20.1250.01332.92
7.1.10.0870.00914.88
7.1.00.1220.01315.16

preferences:
155.47 ms | 403 KiB | 5 Q