3v4l.org

run code in 300+ PHP versions simultaneously
<?php $posts = array("pt", "r", "bp"); $posts = array_slice($posts, 0, 3); print_r(array_slice($posts, 0, 3)); print_r($posts); ?>

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.70.0000.01418.43
8.3.60.0060.01616.50
8.3.50.0140.00621.93
8.3.40.0090.00618.59
8.3.30.0110.00418.58
8.3.20.0040.00420.06
8.3.10.0040.00423.61
8.3.00.0000.00919.54
8.2.190.0170.00718.41
8.2.180.0070.00716.63
8.2.170.0140.00322.96
8.2.160.0130.00020.39
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0040.00419.52
8.2.120.0040.00426.35
8.2.110.0030.00622.20
8.2.100.0080.00418.04
8.2.90.0080.00019.09
8.2.80.0050.00317.97
8.2.70.0040.00417.49
8.2.60.0060.00317.91
8.2.50.0080.00018.07
8.2.40.0060.00322.45
8.2.30.0000.00820.58
8.2.20.0040.00417.49
8.2.10.0030.00518.04
8.2.00.0040.00417.92
8.1.280.0150.00325.92
8.1.270.0080.00020.16
8.1.260.0000.00828.09
8.1.250.0040.00428.09
8.1.240.0030.00523.79
8.1.230.0070.00319.20
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0040.00417.23
8.1.180.0030.00518.10
8.1.170.0040.00418.52
8.1.160.0050.00220.60
8.1.150.0070.00018.82
8.1.140.0050.00319.50
8.1.130.0000.00717.54
8.1.120.0040.00417.39
8.1.110.0040.00417.38
8.1.100.0000.00717.39
8.1.90.0100.00017.34
8.1.80.0040.00417.37
8.1.70.0000.00717.38
8.1.60.0090.00317.45
8.1.50.0060.00317.37
8.1.40.0040.00417.45
8.1.30.0040.00417.60
8.1.20.0040.00417.42
8.1.10.0070.00017.34
8.1.00.0000.00717.31
8.0.300.0030.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00918.29
8.0.270.0050.00217.23
8.0.260.0030.00317.19
8.0.250.0030.00316.88
8.0.240.0060.00316.78
8.0.230.0070.00016.84
8.0.220.0040.00416.73
8.0.210.0030.00316.71
8.0.200.0000.00616.93
8.0.190.0030.00616.92
8.0.180.0070.00016.92
8.0.170.0040.00416.82
8.0.160.0040.00416.80
8.0.150.0040.00416.66
8.0.140.0000.01016.66
8.0.130.0030.00313.21
8.0.120.0060.00316.70
8.0.110.0070.00016.66
8.0.100.0040.00316.82
8.0.90.0000.00816.91
8.0.80.0030.01216.76
8.0.70.0040.00416.71
8.0.60.0000.00816.62
8.0.50.0000.00716.80
8.0.30.0110.00917.04
8.0.20.0090.00917.40
8.0.10.0000.00716.85
8.0.00.0150.00616.70
7.4.330.0000.00516.89
7.4.320.0000.00716.58
7.4.300.0000.00716.44
7.4.290.0030.00316.38
7.4.280.0030.00516.57
7.4.270.0030.00316.54
7.4.260.0040.00416.56
7.4.250.0000.00716.39
7.4.240.0030.00416.48
7.4.230.0030.00316.38
7.4.220.0130.01316.51
7.4.210.0080.00616.48
7.4.200.0000.00716.42
7.4.160.0110.00416.61
7.4.150.0030.01317.40
7.4.140.0100.01117.86
7.4.130.0090.00816.40
7.4.120.0120.00716.47
7.4.110.0060.01216.59
7.4.100.0190.00016.51
7.4.90.0210.00316.28
7.4.80.0120.00919.39
7.4.70.0100.00716.46
7.4.60.0070.01016.52
7.4.50.0000.01616.61
7.4.40.0030.01316.38
7.4.30.0080.00816.49
7.4.00.0060.00915.04
7.3.330.0020.00212.94
7.3.320.0040.00413.12
7.3.310.0070.00016.13
7.3.300.0040.00415.97
7.3.290.0060.01116.13
7.3.280.0080.00916.16
7.3.270.0090.00917.40
7.3.260.0140.00316.36
7.3.250.0160.00616.32
7.3.240.0150.00316.25
7.3.230.0060.01016.39
7.3.210.0100.00616.32
7.3.200.0060.01016.04
7.3.190.0120.00416.46
7.3.180.0150.00016.04
7.3.170.0140.00716.27
7.3.160.0110.00916.30
7.2.330.0030.01416.38
7.2.320.0120.01216.61
7.2.310.0000.01616.33
7.2.300.0140.00416.32
7.2.290.0150.00316.48
7.2.00.0040.00719.28
7.1.100.0000.01118.09
7.1.70.0000.00817.05
7.1.60.0060.01819.52
7.1.50.0090.01516.86
7.1.00.0100.07022.32
7.0.200.0200.00416.48
7.0.60.0070.07320.02
7.0.50.0070.08017.78
7.0.40.0100.08020.18
7.0.30.0230.05320.20
7.0.20.0230.06720.16
7.0.10.0170.08020.16
7.0.00.0170.03020.16
5.6.280.0030.03020.98
5.6.210.0030.04720.50
5.6.200.0030.06318.18
5.6.190.0100.05020.61
5.6.180.0300.05720.50
5.6.170.0270.03720.54
5.6.160.0070.08320.44
5.6.150.0030.08318.28
5.6.140.0100.05718.22
5.6.130.0170.07318.23
5.6.120.0030.05020.96
5.6.110.0130.03320.97
5.6.100.0200.04721.06
5.6.90.0170.06320.88
5.6.80.0000.07720.39
5.5.350.0430.06320.46
5.5.340.0100.07718.04
5.5.330.0100.04020.37
5.5.320.0600.06720.36
5.5.310.0400.05320.34
5.5.300.0030.05017.98
5.5.290.0030.05717.99
5.5.280.0030.07720.64
5.5.270.0070.04320.78
5.5.260.0100.08320.75
5.5.250.0030.04020.70
5.5.240.4100.04320.13

preferences:
38.68 ms | 401 KiB | 5 Q