3v4l.org

run code in 300+ PHP versions simultaneously
<?php $delim = ","; $start = 1; $items =2; $text = "do not include this, oh my god, thank you the lot of downvotes, geniuses *.*"; $whatiwant = implode($delim, array_slice(explode($delim, $text), $start,$items)); Echo $whatiwant;

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.0090.01016.61
8.5.00.0120.01021.56
8.4.150.0030.00014.05
8.4.140.0120.00917.48
8.4.130.0090.00017.41
8.4.120.0050.00420.55
8.4.110.0130.00618.90
8.4.100.0070.00318.84
8.4.90.0140.00720.44
8.4.80.0110.00918.84
8.4.70.0060.00220.63
8.4.60.0140.00618.93
8.4.50.0110.01120.46
8.4.40.0040.00817.78
8.4.30.0060.00319.48
8.4.20.0060.00319.50
8.4.10.0040.00418.68
8.3.280.0100.01118.11
8.3.270.0120.00816.42
8.3.260.0130.00716.38
8.3.250.0100.01018.70
8.3.240.0120.00716.32
8.3.230.0100.00916.80
8.3.220.0130.00518.89
8.3.210.0090.00916.71
8.3.200.0050.00516.63
8.3.190.0100.00716.91
8.3.180.0100.00816.73
8.3.170.0070.01017.04
8.3.160.0140.00418.15
8.3.150.0090.00917.07
8.3.140.0000.00817.10
8.3.130.0060.01018.31
8.3.120.0040.00418.66
8.3.110.0030.00520.94
8.3.100.0030.00624.06
8.3.90.0040.00426.77
8.3.80.0080.00018.43
8.3.70.0110.00718.43
8.3.60.0200.00316.50
8.3.50.0100.01118.11
8.3.40.0030.01318.79
8.3.30.0130.00918.46
8.3.20.0030.00619.02
8.3.10.0080.00019.01
8.3.00.0090.00617.93
8.2.290.0080.01018.93
8.2.280.0140.00819.89
8.2.270.0070.01117.01
8.2.260.0040.01118.36
8.2.250.0110.00718.22
8.2.240.0030.00618.74
8.2.230.0040.00422.58
8.2.220.0000.01037.54
8.2.210.0040.00426.77
8.2.200.0050.00516.50
8.2.190.0160.00016.58
8.2.180.0070.01116.50
8.2.170.0150.00622.96
8.2.160.0100.00319.09
8.2.150.0050.00324.18
8.2.140.0080.00024.66
8.2.130.0150.00419.77
8.2.120.0000.00826.35
8.2.110.0030.00620.47
8.2.100.0060.00617.66
8.2.90.0040.00417.84
8.2.80.0000.00818.04
8.2.70.0070.00517.93
8.2.60.0000.00718.09
8.2.50.0060.00318.10
8.2.40.0050.00318.98
8.2.30.0020.00519.33
8.2.20.0000.00717.93
8.2.10.0000.00818.07
8.2.00.0040.00421.16
8.1.330.0110.00717.91
8.1.320.0100.00819.83
8.1.310.0100.00718.46
8.1.300.0060.00318.02
8.1.290.0050.00530.84
8.1.280.0160.00625.92
8.1.270.0040.00723.96
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0040.00723.83
8.1.220.0000.00817.78
8.1.210.0060.00318.77
8.1.200.0000.01017.22
8.1.190.0040.00417.10
8.1.180.0000.00918.10
8.1.170.0040.00418.54
8.1.160.0000.00818.83
8.1.150.0040.00420.65
8.1.140.0070.00017.63
8.1.130.0000.00719.07
8.1.120.0100.00017.42
8.1.110.0000.00717.38
8.1.100.0030.00617.33
8.1.90.0040.00717.30
8.1.80.0000.00917.39
8.1.70.0050.00317.28
8.1.60.0060.00317.48
8.1.50.0080.00317.41
8.1.40.0000.00717.43
8.1.30.0000.00817.54
8.1.20.0000.00717.56
8.1.10.0050.00217.44
8.1.00.0000.00817.48
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0000.00718.53
8.0.270.0000.00717.18
8.0.260.0070.00317.17
8.0.250.0000.00816.93
8.0.240.0040.00416.96
8.0.230.0000.00716.87
8.0.220.0030.00316.83
8.0.210.0040.00416.90
8.0.200.0030.00316.76
8.0.190.0040.00416.85
8.0.180.0070.00016.68
8.0.170.0060.00316.82
8.0.160.0100.00016.66
8.0.150.0050.00316.81
8.0.140.0050.00216.75
8.0.130.0030.00313.18
8.0.120.0040.00416.82
8.0.110.0040.00416.80
8.0.100.0040.00416.84
8.0.90.0040.00416.72
8.0.80.0060.00916.82
8.0.70.0000.00816.73
8.0.60.0050.00216.67
8.0.50.0050.00216.89
8.0.30.0130.00716.92
8.0.20.0120.00617.40
8.0.10.0080.00016.88
8.0.00.0130.00516.57
7.4.330.0060.00015.55
7.4.320.0030.00316.39
7.4.300.0030.00316.55
7.4.290.0030.00316.48
7.4.280.0030.00516.50
7.4.270.0030.00316.36
7.4.260.0030.00316.44
7.4.250.0040.00416.39
7.4.240.0070.00016.46
7.4.230.0000.00716.37
7.4.220.0000.00716.32
7.4.210.0070.01116.53
7.4.200.0030.00316.33
7.4.160.0080.00816.48
7.4.140.0110.00617.86
7.4.130.0080.00816.58
7.4.120.0090.00816.44
7.4.110.0150.00716.43
7.4.100.0060.01516.35
7.4.90.0150.00716.43
7.4.80.0090.00919.39
7.4.70.0090.00616.45
7.4.60.0030.01216.30
7.4.50.0120.00016.43
7.4.40.0040.01316.30
7.4.00.0180.00014.71
7.3.330.0000.00513.04
7.3.320.0050.00213.18
7.3.310.0030.00316.28
7.3.300.0030.00316.06
7.3.290.0000.00716.25
7.3.280.0130.00516.26
7.3.260.0080.00916.32
7.3.240.0090.00716.37
7.3.230.0090.00916.23
7.3.210.0030.01316.66
7.3.200.0130.00316.59
7.3.190.0130.01016.59
7.3.180.0030.01416.49
7.3.170.0120.00916.37
7.3.160.0160.00816.61
7.3.10.0040.01116.38
7.3.00.0000.01516.60
7.2.330.0070.01116.67
7.2.320.0110.01116.72
7.2.310.0140.00416.43
7.2.300.0130.00616.29
7.2.290.0060.01116.22
7.2.130.0030.00816.72
7.2.120.0050.00516.79
7.2.110.0000.01816.76
7.2.100.0100.00316.75
7.2.90.0070.01116.82
7.2.80.0160.00616.54
7.2.70.0070.01116.70
7.2.60.1930.00915.73
7.2.50.1530.00515.92
7.2.40.1280.00716.06
7.2.30.1080.01015.99
7.2.20.1180.00715.82
7.2.10.1120.00816.01
7.2.00.0800.00516.11
7.1.250.0040.00715.60
7.1.200.0070.00715.39
7.1.170.2650.00713.59
7.1.160.2820.01316.98
7.1.150.2060.01216.73
7.1.140.2090.00917.02
7.1.130.2220.01316.86
7.1.120.2660.00916.86
7.1.110.2570.00915.98
7.1.100.2450.01116.20
7.1.90.2740.00715.98
7.1.80.2750.01315.95
7.1.70.2280.00815.13
7.1.60.2820.01232.86
7.1.50.3250.01732.79
7.1.40.3780.01332.62
7.1.30.2950.01132.57
7.1.20.3570.01332.75
7.1.10.3890.00914.68
7.1.00.2660.00814.79

preferences:
43.29 ms | 403 KiB | 5 Q