3v4l.org

run code in 300+ PHP versions simultaneously
<?php $content = 'chris kyle and keyser soze,john key, milton keynes ,keyboard symbols glossary, key west all inclusive resorts,free product key codes,list of all keyboard symbols,typing keyboard lessons, window 7 product key free,florida keys vacation packages'; for ($i = 0; $i<= 100; ++$i) { $result = preg_replace('/\s*([^,]+)\b\s*,?/', "<li>$1</li>\n", trim($content)); }

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.90.0090.00026.77
8.3.80.0060.00317.97
8.3.70.0090.00618.56
8.3.60.0130.00316.75
8.3.50.0140.00522.93
8.3.40.0040.01118.61
8.3.30.0070.00718.76
8.3.20.0040.00420.16
8.3.10.0080.00021.69
8.3.00.0040.00419.19
8.2.210.0150.00426.77
8.2.200.0030.00617.00
8.2.190.0160.00316.61
8.2.180.0120.00616.88
8.2.170.0070.00722.96
8.2.160.0000.01519.16
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0070.00426.16
8.2.120.0110.00018.95
8.2.110.0090.00021.16
8.2.100.0080.00317.91
8.2.90.0030.00618.01
8.2.80.0030.00618.03
8.2.70.0050.00517.75
8.2.60.0100.00017.63
8.2.50.0030.00617.88
8.2.40.0030.00522.30
8.2.30.0050.00219.32
8.2.20.0000.00817.65
8.2.10.0050.00218.09
8.2.00.0080.00017.84
8.1.290.0090.00030.84
8.1.280.0140.00025.92
8.1.270.0040.00418.76
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00622.58
8.1.230.0110.00021.03
8.1.220.0000.00917.79
8.1.210.0040.00418.78
8.1.200.0060.00317.35
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0050.00319.07
8.1.160.0050.00218.77
8.1.150.0030.00620.17
8.1.140.0040.00417.46
8.1.130.0000.00817.86
8.1.120.0000.00717.61
8.1.110.0000.00917.53
8.1.100.0040.00417.52
8.1.90.0060.00317.51
8.1.80.0000.00817.51
8.1.70.0000.00717.52
8.1.60.0040.00417.66
8.1.50.0030.00617.46
8.1.40.0030.00617.49
8.1.30.0040.00417.67
8.1.20.0000.00817.76
8.1.10.0050.00217.49
8.1.00.0040.00417.55
8.0.300.0040.00419.91
8.0.290.0050.00316.75
8.0.280.0060.00318.41
8.0.270.0040.00417.27
8.0.260.0070.00017.22
8.0.250.0030.00316.94
8.0.240.0000.00716.94
8.0.230.0030.00316.95
8.0.220.0000.00716.94
8.0.210.0050.00317.02
8.0.200.0000.00717.08
8.0.190.0040.00716.95
8.0.180.0030.00517.04
8.0.170.0080.00017.01
8.0.160.0070.00016.96
8.0.150.0040.00416.82
8.0.140.0050.00216.83
8.0.130.0030.00313.38
8.0.120.0030.00516.98
8.0.110.0030.00516.88
8.0.100.0000.00817.01
8.0.90.0070.00017.01
8.0.80.0200.00317.02
8.0.70.0000.00816.98
8.0.60.0080.00016.93
8.0.50.0050.00216.91
8.0.30.0080.01417.03
8.0.20.0120.01017.40
8.0.10.0040.00417.14
8.0.00.0110.01016.76
7.4.330.0060.00015.03
7.4.320.0000.00616.74
7.4.300.0000.00616.72
7.4.290.0000.00716.55
7.4.280.0030.00616.75
7.4.270.0070.00016.78
7.4.260.0040.00416.71
7.4.250.0050.00216.71
7.4.240.0020.00516.62
7.4.230.0070.00016.85
7.4.220.0140.00316.73
7.4.210.0110.01116.68
7.4.200.0050.00216.82
7.4.160.0090.00916.79
7.4.150.0160.00917.40
7.4.140.0080.01317.86
7.4.130.0090.01016.48
7.4.120.0070.01016.62
7.4.110.0110.01116.64
7.4.100.0040.01416.66
7.4.90.0030.01316.84
7.4.80.0070.01719.39
7.4.70.0180.00316.36
7.4.60.0070.01016.54
7.4.50.0060.00316.81
7.4.40.0140.00716.51
7.4.30.0090.00916.54
7.4.10.0090.00614.88
7.4.00.0080.01014.82
7.3.330.0030.00313.25
7.3.320.0060.00013.18
7.3.310.0030.00316.27
7.3.300.0000.00716.44
7.3.290.0070.01116.40
7.3.280.0050.01216.41
7.3.270.0100.01017.40
7.3.260.0070.01016.38
7.3.250.0080.00916.76
7.3.240.0140.00716.35
7.3.230.0000.02316.61
7.3.210.0140.00616.45
7.3.200.0120.00619.39
7.3.190.0090.00616.68
7.3.180.0110.01116.70
7.3.170.0100.00716.52
7.3.160.0110.00716.45
7.3.130.0030.01615.16
7.3.120.0030.01614.93
7.3.110.0030.01514.99
7.3.100.0070.00714.71
7.3.90.0090.00715.10
7.3.80.0090.00614.88
7.3.70.0080.00514.86
7.3.60.0090.00614.95
7.3.50.0090.00314.85
7.3.40.0070.00514.85
7.3.30.0040.00714.92
7.3.20.0030.00916.93
7.3.10.0060.00916.55
7.3.00.0070.00516.86
7.2.330.0070.01116.81
7.2.320.0070.01116.79
7.2.310.0100.00716.69
7.2.300.0110.00616.61
7.2.290.0070.01016.82
7.2.260.0100.01015.38
7.2.250.0060.01415.23
7.2.240.0060.01115.28
7.2.230.0080.00715.16
7.2.220.0050.01015.09
7.2.210.0050.01115.25
7.2.200.0030.00915.22
7.2.190.0030.01415.10
7.2.180.0050.00915.07
7.2.170.0060.00815.20
7.2.160.0020.01615.09
7.2.150.0000.01416.79
7.2.140.0030.01317.15
7.2.130.0030.01017.11
7.2.120.0100.00616.97
7.2.110.0090.00616.82
7.2.100.0000.01117.04
7.2.90.0030.01017.20
7.2.80.0030.00917.21
7.2.70.0100.00717.10
7.2.60.0020.01116.92
7.2.50.0130.00316.80
7.2.40.0040.01517.04
7.2.30.0050.00517.04
7.2.20.0140.00316.90
7.2.10.0060.00616.91
7.2.00.0080.00718.26
7.1.330.0060.00816.03
7.1.320.0110.00415.94
7.1.310.0030.01016.04
7.1.300.0050.00515.91
7.1.290.0050.00916.01
7.1.280.0050.00415.96
7.1.270.0040.00615.82
7.1.260.0080.00515.74
7.1.250.0080.00815.79
7.1.240.0070.00715.93
7.1.230.0070.00316.01
7.1.220.0080.00615.98
7.1.210.0070.00715.97
7.1.200.0000.01216.05
7.1.190.0100.00715.99
7.1.180.0070.00416.13
7.1.170.0000.01516.02
7.1.160.0040.01116.07
7.1.150.0060.00315.96
7.1.140.0040.00715.86
7.1.130.0060.01016.07
7.1.120.0040.00415.84
7.1.110.0070.00715.70
7.1.100.0120.00716.72
7.1.90.0030.01015.73
7.1.80.0090.00615.66
7.1.70.0020.00916.73
7.1.60.0020.01117.76
7.1.50.0030.01416.34
7.1.40.0030.00615.93
7.1.30.0070.00716.13
7.1.20.0060.00816.08
7.1.10.0030.01315.98
7.1.00.0060.04119.17
7.0.330.0090.00615.80
7.0.320.0100.00315.64
7.0.310.0040.00715.69
7.0.300.0000.01615.49
7.0.290.0030.00615.28
7.0.280.0000.01315.64
7.0.270.0040.01115.47
7.0.260.0000.01015.65
7.0.250.0040.01115.53
7.0.240.0030.00715.81
7.0.230.0030.00615.68
7.0.220.0080.00015.61
7.0.210.0110.00415.34
7.0.200.0060.00616.36
7.0.190.0040.01115.63
7.0.180.0030.01015.63
7.0.170.0090.00615.77
7.0.160.0100.00715.40
7.0.150.0060.01015.36
7.0.140.0060.03018.88
7.0.130.0040.00415.64
7.0.120.0030.00715.62
7.0.110.0060.01215.73
7.0.100.0120.01817.77
7.0.90.0110.02517.58
7.0.80.0160.03017.77
7.0.70.0100.02817.81
7.0.60.0100.02217.72
7.0.50.0070.02517.88
7.0.40.0000.03116.89
7.0.30.0070.02316.84
7.0.20.0100.02016.88
7.0.10.0080.03416.88
7.0.00.0070.02316.92
5.6.400.0060.00914.21
5.6.390.0090.00614.40
5.6.380.0060.00614.61
5.6.370.0040.00814.56
5.6.360.0030.01013.95
5.6.350.0060.00314.36
5.6.340.0060.00314.55
5.6.330.0030.01014.22
5.6.320.0030.01214.48
5.6.310.0100.00314.41
5.6.300.0040.00813.94
5.6.290.0030.01014.05
5.6.280.0020.04117.79
5.6.270.0080.00314.34
5.6.260.0040.00914.24
5.6.250.0030.02517.64
5.6.240.0050.02217.36
5.6.230.0050.02717.42
5.6.220.0020.04817.53
5.6.210.0070.02217.46
5.6.200.0050.02517.77
5.6.190.0080.02317.72
5.6.180.0070.02517.51
5.6.170.0080.02017.61
5.6.160.0050.02217.84
5.6.150.0080.02217.64
5.6.140.0080.02217.63
5.6.130.0090.02017.69
5.6.120.0030.02517.71
5.6.110.0090.02417.59
5.6.100.0070.02517.67
5.6.90.0030.02617.81
5.6.80.0030.02517.50
5.6.70.0070.02317.36
5.6.60.0070.02717.26
5.6.50.0070.04317.60
5.6.40.0030.02717.36
5.6.30.0000.02417.21
5.6.20.0100.03317.43
5.6.10.0080.04017.28
5.6.00.0060.04117.17
5.5.380.0070.01817.34
5.5.370.0100.02117.36
5.5.360.0080.02117.36
5.5.350.0080.02317.39
5.5.340.0110.01617.40
5.5.330.0050.02617.54
5.5.320.0070.02517.61
5.5.310.0020.03217.59
5.5.300.0050.02517.51
5.5.290.0030.02817.63
5.5.280.0060.02517.65
5.5.270.0130.02017.53
5.5.260.0030.02917.52
5.5.250.0070.02217.35
5.5.240.0030.02216.98
5.5.230.0020.02517.29
5.5.220.0070.04417.16
5.5.210.0120.03517.22
5.5.200.0100.04017.21
5.5.190.0080.04217.19
5.5.180.0030.02817.12
5.5.170.0030.01014.32
5.5.160.0070.04017.25
5.5.150.0100.04017.04
5.5.140.0070.02817.21
5.5.130.0080.04317.16
5.5.120.0120.04217.22
5.5.110.0070.04117.15
5.5.100.0000.03417.04
5.5.90.0080.02317.12
5.5.80.0040.03117.03
5.5.70.0020.03217.07
5.5.60.0070.04017.17
5.5.50.0120.04017.07
5.5.40.0070.02516.99
5.5.30.0020.02916.98
5.5.20.0050.04116.98
5.5.10.0110.04117.12
5.5.00.0050.04117.05
5.4.450.0040.02115.60
5.4.440.0030.02415.55
5.4.430.0020.02215.60
5.4.420.0060.02015.59
5.4.410.0070.02315.52
5.4.400.0050.02215.42
5.4.390.0030.02315.53
5.4.380.0030.04115.45
5.4.370.0050.02215.30
5.4.360.0060.03815.40
5.4.350.0030.02315.38
5.4.340.0050.02215.39
5.4.330.0030.00911.82
5.4.320.0030.04215.45
5.4.310.0050.03715.52
5.4.300.0020.02615.47
5.4.290.0110.02515.41
5.4.280.0120.03415.52
5.4.270.0080.02415.46
5.4.260.0070.04215.48
5.4.250.0050.03815.30
5.4.240.0090.03715.47
5.4.230.0060.02615.31
5.4.220.0100.02215.30
5.4.210.0100.04215.42
5.4.200.0060.03915.39
5.4.190.0050.03215.39
5.4.180.0060.03515.42
5.4.170.0070.03215.47
5.4.160.0030.02315.31
5.4.150.0050.03515.52
5.4.140.0030.02214.09
5.4.130.0030.01814.04
5.4.120.0050.04014.00
5.4.110.0020.04114.02
5.4.100.0030.03214.06
5.4.90.0080.03614.09
5.4.80.0040.02214.09
5.4.70.0050.02414.01
5.4.60.0030.03014.09
5.4.50.0090.02514.03
5.4.40.0020.03314.12
5.4.30.0090.02014.02
5.4.20.0020.02414.11
5.4.10.0060.04114.02
5.4.00.0070.03213.81
5.3.290.0030.08014.48
5.3.280.0130.05014.45
5.3.270.0000.07014.44
5.3.260.0030.04014.57
5.3.250.0070.05014.59
5.3.240.0070.07014.60
5.3.230.0100.03314.59
5.3.220.0000.04714.55
5.3.210.0070.07314.52
5.3.200.0070.06714.52
5.3.190.0130.06714.54
5.3.180.0100.07014.55
5.3.170.0100.05314.42
5.3.160.0000.06714.56
5.3.150.0070.06314.51
5.3.140.0030.08314.41
5.3.130.0070.04314.38
5.3.120.0000.07714.53
5.3.110.0030.06314.55
5.3.100.0070.06014.02
5.3.90.0070.06713.97
5.3.80.0170.04013.97
5.3.70.0030.07713.97
5.3.60.0100.03713.75
5.3.50.0030.03713.94
5.3.40.0070.06013.80
5.3.30.0030.04013.76
5.3.20.0030.07313.66
5.3.10.0070.06013.64
5.3.00.0070.06013.61
5.2.170.0030.06312.16
5.2.160.0070.03312.16
5.2.150.0000.03712.16
5.2.140.0070.06012.16
5.2.130.0070.03312.16
5.2.120.0030.03712.16
5.2.110.0070.06012.16
5.2.100.0070.06012.16
5.2.90.0030.05312.16
5.2.80.0070.03312.16
5.2.70.0000.03712.16
5.2.60.0070.06312.16
5.2.50.0030.06012.16
5.2.40.0030.06712.16
5.2.30.0130.05312.16
5.2.20.0070.06312.16
5.2.10.0070.05312.16
5.2.00.0030.04712.16
5.1.60.0000.03312.16
5.1.50.0070.03312.16
5.1.40.0070.04012.16
5.1.30.0070.04712.16
5.1.20.0070.05012.16
5.1.10.0030.05712.16
5.1.00.0070.04012.16
5.0.50.0030.03012.16
5.0.40.0030.04012.16
5.0.30.0070.05312.16
5.0.20.0030.04312.16
5.0.10.0030.05012.16
5.0.00.0070.05312.16
4.4.90.0000.03712.16
4.4.80.0000.03712.16
4.4.70.0030.02712.16
4.4.60.0000.03312.16
4.4.50.0000.03312.16
4.4.40.0030.05012.16
4.4.30.0100.02012.16
4.4.20.0000.04012.16
4.4.10.0030.03312.16
4.4.00.0030.04712.16
4.3.110.0000.02012.16
4.3.100.0070.02712.16
4.3.90.0030.03712.16
4.3.80.0030.05012.16
4.3.70.0000.01712.16
4.3.60.0070.03012.16
4.3.50.0000.03712.16
4.3.40.0000.04012.16
4.3.30.0000.03312.16
4.3.20.0000.02012.16
4.3.10.0000.02312.16
4.3.00.0000.02012.16

preferences:
76 ms | 401 KiB | 5 Q