3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(array_splice(array("red", "green", "blue", "yellow"), 2));

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.130.0100.00016.47
8.3.120.0040.00418.69
8.3.110.0040.00420.94
8.3.100.0110.00424.06
8.3.90.0030.00526.77
8.3.80.0090.00016.88
8.3.70.0130.00916.61
8.3.60.0090.00618.43
8.3.50.0130.00722.85
8.3.40.0040.01118.58
8.3.30.0110.00419.00
8.3.20.0070.00020.20
8.3.10.0040.00420.66
8.3.00.0080.00019.07
8.2.250.0040.00416.55
8.2.240.0000.01118.63
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0070.01326.77
8.2.200.0080.00416.63
8.2.190.0090.01216.58
8.2.180.0120.00618.52
8.2.170.0120.00918.91
8.2.160.0030.01022.96
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0040.00420.84
8.2.110.0000.01020.27
8.2.100.0060.00318.86
8.1.300.0000.00920.34
8.1.290.0000.00830.84
8.1.280.0090.00925.92
8.1.270.0080.00022.10
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0090.00018.77
8.1.230.0030.00620.18
8.1.100.0070.00217.17
5.4.390.1730.04718.93
5.4.380.0600.05319.11
5.4.370.0000.04019.06
5.4.360.0370.03319.21
5.4.350.1970.03318.78
5.4.340.1600.03719.13
5.4.320.1430.03319.17
5.4.310.1730.03719.24
5.4.300.1830.03718.93
5.4.290.1830.03018.89
5.4.280.1700.03019.21
5.4.270.1800.03719.05
5.4.260.1830.04019.24
5.4.250.1330.04019.08
5.4.240.1630.04019.15
5.4.230.0700.03319.13
5.4.220.0130.03719.08
5.4.210.0000.04018.91
5.4.200.1130.04019.24
5.4.190.2070.04319.08
5.4.180.1700.04019.15
5.4.170.0330.04019.23
5.4.160.0370.03719.11
5.4.150.0070.04319.21
5.4.140.0130.04716.45
5.4.130.0230.04316.45
5.4.120.0200.03016.45
5.4.110.0170.05016.43
5.4.100.0200.07316.43
5.4.90.0200.04316.21
5.4.80.0070.04316.22
5.4.70.0270.03716.42
5.4.60.0200.03316.41
5.4.50.0300.03316.44
5.4.40.0170.04016.39
5.4.30.0230.02716.29
5.4.20.0170.03316.38
5.4.10.0170.03316.39
5.4.00.0130.04715.71
5.3.290.0170.03714.50
5.3.280.0230.07014.54
5.3.270.0070.04714.44
5.3.260.0230.03014.55
5.3.250.0200.04314.54
5.3.240.0270.04314.65
5.3.230.0200.03314.68
5.3.220.0170.07314.51
5.3.210.0200.04014.42
5.3.200.0170.04314.66
5.3.190.0130.04014.41
5.3.180.0270.03714.43
5.3.170.0130.07014.40
5.3.160.0300.02314.40
5.3.150.0200.03714.50
5.3.140.0300.05714.46
5.3.130.0170.06314.40
5.3.120.0170.03714.66
5.3.110.0130.04014.38
5.3.100.0170.05013.98
5.3.90.0470.06013.98
5.3.80.0230.04714.11
5.3.70.0230.07013.96
5.3.60.0270.06313.93
5.3.50.0200.05013.93
5.3.40.0200.04313.77
5.3.30.0170.04013.77
5.3.20.0200.04713.78
5.3.10.0230.06713.51
5.3.00.0330.05313.68
5.2.170.0230.05311.16
5.2.160.0230.05011.30
5.2.150.0230.06711.19
5.2.140.0170.02711.00
5.2.130.0400.05711.01
5.2.120.0230.03310.94
5.2.110.0230.03010.96
5.2.100.0170.06010.94
5.2.90.0130.04011.26
5.2.80.0170.03710.95
5.2.70.0230.04010.92
5.2.60.0170.03710.89
5.2.50.0100.03311.09
5.2.40.0200.04710.99
5.2.30.0130.03310.85
5.2.20.0400.04010.97
5.2.10.0200.03310.80
5.2.00.0170.05710.89
5.1.60.0230.0239.97
5.1.50.0170.02310.04
5.1.40.0100.0309.95
5.1.30.0200.05010.50
5.1.20.0170.03310.35
5.1.10.0170.02310.07
5.1.00.0130.02710.04
5.0.50.0070.0209.34
5.0.40.0070.0209.34
5.0.30.0200.0279.34
5.0.20.0070.0209.34
5.0.10.0070.0209.34
5.0.00.0030.0339.34
4.4.90.0100.0339.34
4.4.80.0030.0209.34
4.4.70.0030.0279.34
4.4.60.0100.0139.34
4.4.50.0030.0209.34
4.4.40.0100.0239.34
4.4.30.0100.0339.34
4.4.20.0130.0239.34
4.4.10.0100.0309.34
4.4.00.0100.0509.34
4.3.110.0100.0209.34
4.3.100.0070.0339.34
4.3.90.0070.0209.34
4.3.80.0100.0509.34
4.3.70.0130.0239.34
4.3.60.0100.0379.34
4.3.50.0100.0209.34
4.3.40.0100.0479.34
4.3.30.0030.0209.34
4.3.20.0030.0279.34
4.3.10.0030.0239.34
4.3.00.0070.0309.34

preferences:
27.98 ms | 403 KiB | 5 Q