3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = ['first', 'foo' => 'second', 'third'] list($a, $b) = $array; echo "$a $b";

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)
5.4.320.0330.06718.98
5.4.310.0330.05319.24
5.4.300.0370.06718.98
5.4.290.0330.06718.94
5.4.280.0370.06719.14
5.4.270.0270.04718.87
5.4.260.0630.04019.22
5.4.250.0230.04019.00
5.4.240.0370.05718.86
5.4.230.0270.04319.22
5.4.220.0330.06319.21
5.4.210.0370.04019.15
5.4.200.0600.05019.19
5.4.190.0470.05319.14
5.4.180.0370.03019.07
5.4.170.0230.08019.15
5.4.160.0370.06719.23
5.4.150.0300.06019.22
5.4.140.0270.04716.39
5.4.130.0270.06316.51
5.4.120.0230.03716.49
5.4.110.0300.07016.40
5.4.100.0230.04016.56
5.4.90.0230.04716.56
5.4.80.0770.04016.50
5.4.70.0370.06316.57
5.4.60.0300.06016.43
5.4.50.0230.04016.48
5.4.40.0330.05016.38
5.4.30.0300.04016.53
5.4.20.0400.06016.41
5.4.10.0230.04016.42
5.4.00.0230.03315.81
5.3.290.0330.06014.51
5.3.280.0300.07014.47
5.3.270.0270.04714.54
5.3.260.0230.05714.48
5.3.250.0500.07314.56
5.3.240.0330.07014.46
5.3.230.0230.05714.53
5.3.220.0400.05314.66
5.3.210.0200.04314.55
5.3.200.0270.04714.55
5.3.190.0330.05714.52
5.3.180.0330.06714.40
5.3.170.0330.03714.52
5.3.160.0370.06014.51
5.3.150.0270.05014.47
5.3.140.0430.06714.50
5.3.130.0330.06714.40
5.3.120.0270.07314.39
5.3.110.0300.07014.39
5.3.100.0170.04313.88
5.3.90.0270.03313.86
5.3.80.0170.04314.11
5.3.70.0230.04313.89
5.3.60.0400.06313.80
5.3.50.0300.06313.73
5.3.40.0270.04313.72
5.3.30.0230.05013.89
5.3.20.0270.07013.60
5.3.10.0330.07013.49
5.3.00.0270.05013.73
5.2.170.0230.06012.82
5.2.160.0300.05312.82
5.2.150.0200.06012.82
5.2.140.0370.04712.82
5.2.130.0300.04012.82
5.2.120.0270.05312.82
5.2.110.0230.03312.82
5.2.100.0300.02712.82
5.2.90.0270.02312.82
5.2.80.0230.05012.82
5.2.70.0200.03012.82
5.2.60.0230.03712.82
5.2.50.0300.03712.82
5.2.40.0230.05712.82
5.2.30.0200.04012.82
5.2.20.0370.03312.82
5.2.10.0200.05712.82
5.2.00.0130.03712.82
5.1.60.0230.02312.82
5.1.50.0270.05012.82
5.1.40.0200.03312.82
5.1.30.0200.03012.82
5.1.20.0130.03012.82
5.1.10.0270.05012.82
5.1.00.0230.05312.82
5.0.50.0130.04312.82
5.0.40.0130.04312.82
5.0.30.0100.03312.82
5.0.20.0100.04012.82
5.0.10.0230.01712.82
5.0.00.0200.03312.82
4.4.90.0130.03312.82
4.4.80.0070.03712.82
4.4.70.0030.04012.82
4.4.60.0100.01712.82
4.4.50.0100.03012.82
4.4.40.0170.05012.82
4.4.30.0070.02712.82
4.4.20.0070.02312.82
4.4.10.0130.03012.82
4.4.00.0070.04012.82
4.3.110.0100.02312.82
4.3.100.0070.02012.82
4.3.90.0100.03312.82
4.3.80.0170.02012.82
4.3.70.0070.02012.82
4.3.60.0130.03312.82
4.3.50.0130.02712.82
4.3.40.0130.02012.82
4.3.30.0100.03312.82
4.3.20.0030.02012.82
4.3.10.0070.02012.82
4.3.00.0070.02012.82

preferences:
141.52 ms | 1394 KiB | 7 Q