3v4l.org

run code in 300+ PHP versions simultaneously
<?php $mainArray = array( array("aa", "bb", "cc"), array("dd", "ee", "ff"), array("gg", "hh", "ii") ); list($array1, $array2, $array3) = $mainArray; var_dump($array1, $array2, $array3);

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.30.0090.01017.52
8.5.20.0040.00320.11
8.5.10.0100.00720.11
8.5.00.0110.01020.00
8.4.180.0100.01220.62
8.4.170.0130.00921.95
8.4.160.0150.00721.93
8.4.150.0060.00616.84
8.4.140.0160.00617.27
8.4.130.0080.00418.93
8.4.120.0130.00823.99
8.4.110.0080.00420.37
8.4.100.0120.01018.73
8.4.90.0130.00820.50
8.4.80.0140.00717.66
8.4.70.0090.00817.71
8.4.60.0100.00918.78
8.4.50.0030.00618.46
8.4.40.0110.00817.39
8.4.30.0100.01017.55
8.4.20.0100.01017.55
8.4.10.0090.00017.52
8.3.300.0130.00718.25
8.3.290.0140.00620.70
8.3.280.0110.00918.40
8.3.270.0110.00916.62
8.3.260.0060.00316.80
8.3.250.0100.00918.65
8.3.240.0120.00616.93
8.3.230.0140.00616.36
8.3.220.0110.00818.85
8.3.210.0110.00818.18
8.3.200.0040.00416.36
8.3.190.0050.00417.30
8.3.180.0110.00718.34
8.3.170.0100.00716.96
8.3.160.0050.00318.28
8.3.150.0070.01117.02
8.3.140.0080.00018.14
8.3.130.0100.01018.12
8.3.120.0040.00418.66
8.3.110.0000.00820.94
8.3.100.0030.00624.06
8.3.90.0110.00726.77
8.3.80.0030.00617.97
8.3.70.0140.00716.38
8.3.60.0070.01018.43
8.3.50.0050.01221.89
8.3.40.0120.00318.46
8.3.30.0040.01118.60
8.3.20.0030.00520.30
8.3.10.0040.00420.36
8.3.00.0080.00018.62
8.2.300.0150.00622.17
8.2.290.0040.00522.33
8.2.280.0040.00618.43
8.2.270.0110.00717.16
8.2.260.0110.00418.19
8.2.250.0090.00616.66
8.2.240.0000.01117.05
8.2.230.0040.01122.58
8.2.220.0090.00037.54
8.2.210.0080.00026.77
8.2.200.0060.00318.41
8.2.190.0070.00716.63
8.2.180.0070.01418.26
8.2.170.0080.01222.96
8.2.160.0080.00820.53
8.2.150.0040.00424.18
8.2.140.0070.00324.66
8.2.130.0040.00426.16
8.2.120.0040.00419.77
8.2.110.0100.00021.03
8.2.100.0080.00417.72
8.2.90.0000.00718.22
8.2.80.0060.00320.53
8.2.70.0030.00617.50
8.2.60.0040.00417.80
8.2.50.0040.00418.09
8.2.40.0060.00320.66
8.2.30.0070.00019.42
8.2.20.0000.00817.54
8.2.10.0000.00718.12
8.2.00.0000.00717.96
8.1.340.0150.00919.46
8.1.330.0050.00421.81
8.1.320.0040.00416.19
8.1.310.0050.00318.19
8.1.300.0080.00018.44
8.1.290.0050.00530.84
8.1.280.0110.00425.92
8.1.270.0030.00624.66
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0040.00422.65
8.1.230.0070.00420.95
8.1.220.0030.00617.74
8.1.210.0030.00618.91
8.1.200.0060.00317.00
8.1.190.0030.00617.22
8.1.180.0030.00518.10
8.1.170.0060.00318.44
8.1.160.0040.00420.87
8.1.150.0040.00418.73
8.1.140.0030.00517.40
8.1.130.0030.00317.62
8.1.120.0000.00717.45
8.1.110.0030.00617.27
8.1.100.0030.00617.26
8.1.90.0000.00717.37
8.1.80.0030.00317.27
8.1.70.0040.00417.27
8.1.60.0060.00317.54
8.1.50.0000.00817.46
8.1.40.0040.00717.46
8.1.30.0050.00317.52
8.1.20.0000.00717.54
8.1.10.0080.00017.62
8.1.00.0040.00417.34
8.0.300.0040.00420.10
8.0.290.0070.00016.58
8.0.280.0030.00318.42
8.0.270.0030.00316.65
8.0.260.0000.00917.10
8.0.250.0030.00316.89
8.0.240.0070.00016.89
8.0.230.0030.00616.91
8.0.220.0080.00016.87
8.0.210.0000.00816.75
8.0.200.0030.00316.70
8.0.190.0030.00516.86
8.0.180.0050.00316.86
8.0.170.0040.00416.79
8.0.160.0000.00716.88
8.0.150.0050.00316.66
8.0.140.0040.00416.73
8.0.130.0060.00013.26
8.0.120.0030.00516.83
8.0.110.0000.00816.80
8.0.100.0090.00016.68
8.0.90.0030.00516.68
8.0.80.0110.00316.80
8.0.70.0070.00016.92
8.0.60.0000.00716.70
8.0.50.0050.00316.76
8.0.30.0060.00917.04
8.0.20.0040.01517.40
8.0.10.0030.00516.89
8.0.00.0120.00716.72
7.4.330.0050.00015.08
7.4.320.0030.00316.35
7.4.300.0030.00316.39
7.4.290.0000.00916.52
7.4.280.0070.00316.50
7.4.270.0000.00716.51
7.4.260.0000.00816.40
7.4.250.0000.00716.46
7.4.240.0080.00016.53
7.4.230.0070.00016.26
7.4.220.0170.00316.55
7.4.210.0040.01116.54
7.4.200.0040.00416.23
7.4.160.0060.01116.28
7.4.150.0070.01017.40
7.4.140.0070.01417.86
7.4.130.0090.01016.45
7.4.120.0120.01016.27
7.4.110.0110.00616.22
7.4.100.0040.01516.56
7.4.90.0000.01716.59
7.4.80.0140.00919.39
7.4.70.0110.00616.43
7.4.60.0030.01516.43
7.4.50.0040.01116.39
7.4.40.0110.00716.44
7.4.30.0070.01316.52
7.4.00.0130.00314.74
7.3.330.0000.00712.95
7.3.320.0000.00513.13
7.3.310.0020.00515.96
7.3.300.0000.00716.10
7.3.290.0080.00816.22
7.3.280.0090.00716.21
7.3.270.0090.00917.40
7.3.260.0060.01216.38
7.3.250.0090.01416.33
7.3.240.0110.00816.26
7.3.230.0140.01416.39
7.3.210.0130.00416.64
7.3.200.0140.01119.39
7.3.190.0090.00916.30
7.3.180.0170.00416.20
7.3.170.0120.01216.20
7.3.160.0060.01016.51
7.3.10.0170.00516.22
7.3.00.0070.01216.33
7.2.330.0160.00316.33
7.2.320.0090.00916.23
7.2.310.0130.01316.48
7.2.300.0080.00816.44
7.2.290.0160.00816.39
7.2.130.0180.01016.28
7.2.120.0090.00616.72
7.2.110.0050.00816.44
7.2.100.0050.00616.30
7.2.90.0070.00716.70
7.2.80.0090.00316.81
7.2.70.0040.00816.62
7.2.60.0080.00816.75
7.2.50.0060.00916.70
7.2.40.0080.01017.11
7.2.30.0130.00917.07
7.2.20.0080.00917.07
7.2.10.0110.00817.03
7.2.00.0070.01017.33
7.1.250.0070.00715.44
7.1.200.0030.00915.63
7.1.160.0160.01016.23
7.1.150.0120.00816.74
7.1.140.0140.01116.76
7.1.130.0160.01416.80
7.1.120.0120.01316.41
7.1.110.0090.01616.04
7.1.100.0090.01016.90
7.1.90.0260.01015.79
7.1.80.0160.01215.81
7.1.70.0060.01016.17
7.1.60.0170.01826.10
7.1.50.1620.01032.78
7.1.40.0300.01032.36
7.1.30.0260.01532.72
7.1.20.0280.01332.59
7.1.10.0990.01114.61
7.1.00.0620.04318.49
7.0.290.0180.01416.26
7.0.270.0730.01316.49
7.0.260.0200.01316.64
7.0.250.0200.01115.93
7.0.240.0170.00915.96
7.0.230.2800.01215.73
7.0.220.0130.01116.00
7.0.210.2280.01114.82
7.0.200.0540.00515.54
7.0.190.1850.01014.79
7.0.180.1760.01014.46
7.0.170.0270.00914.48
7.0.160.1970.01614.35
7.0.150.1070.01314.36
7.0.140.1100.01014.53
7.0.130.1140.01314.79
7.0.120.1150.01314.73
7.0.110.1460.01014.41
7.0.100.1180.01314.43
7.0.90.0800.01414.42
7.0.80.0800.01714.48
7.0.70.1150.01314.42
7.0.60.0540.04217.11
7.0.50.0230.02816.05
7.0.40.0450.02617.50
7.0.30.0440.03617.40
7.0.20.0500.02617.33
7.0.10.0390.03817.22
7.0.00.0300.04217.26
5.6.300.0360.06320.61
5.6.290.0200.07120.89
5.6.280.0140.07420.96
5.6.270.0160.08420.75
5.6.260.0240.07320.79
5.6.250.0210.07720.93
5.6.240.0150.06920.82
5.6.230.0190.06920.75
5.6.220.0210.06020.73
5.6.210.0110.06320.85
5.6.200.0120.06519.52
5.6.190.0130.06420.52
5.6.180.0160.07420.55
5.6.170.0240.07520.63
5.6.160.0110.07720.65
5.6.150.0110.07319.42
5.6.140.0130.07119.41
5.6.130.0140.07519.43
5.6.120.0130.06120.88
5.6.110.0090.09120.96
5.6.100.0120.06820.93
5.6.90.0110.05620.91
5.6.80.0140.04920.24
5.6.70.0190.05520.09
5.6.60.0190.06020.09
5.6.50.0160.05820.29
5.6.40.0190.07620.09
5.6.30.0150.07720.05
5.6.20.0130.06120.34
5.6.10.0210.04920.07
5.6.00.0230.06620.24
5.5.380.0130.05817.58
5.5.370.0240.07417.40
5.5.360.0130.07517.35
5.5.350.0190.05918.91
5.5.340.0120.07817.95
5.5.330.0180.06919.07
5.5.320.0210.06119.04
5.5.310.0200.08019.05
5.5.300.0160.07117.98
5.5.290.0160.06817.95
5.5.280.0100.07519.45
5.5.270.0180.06919.37
5.5.260.0130.08219.41
5.5.250.0160.06219.11
5.5.240.0160.07418.69
5.5.230.0190.05917.26
5.5.220.0130.06217.34
5.5.210.0120.05817.15
5.5.200.0260.06417.40
5.5.190.0170.07117.39
5.5.180.0200.07117.32
5.5.160.0210.06817.25
5.5.150.0180.05017.34
5.5.140.0140.05717.25
5.5.130.0190.04817.05
5.5.120.0150.06517.31
5.5.110.0190.06017.34
5.5.100.0200.05917.25
5.5.90.0180.06617.02
5.5.80.0150.06017.21
5.5.70.0220.06717.21
5.5.60.0170.06917.11
5.5.50.0250.06817.14
5.5.40.0190.05517.21
5.5.30.0120.05617.21
5.5.20.0140.08017.03
5.5.10.0130.07217.28
5.5.00.0150.06617.21

preferences:
50.2 ms | 1956 KiB | 5 Q