3v4l.org

run code in 300+ PHP versions simultaneously
<?php list($a[], $a[]) = [1, 2]; var_dump($a);

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.4.20.0100.01020.35
8.4.10.0060.01019.12
8.3.150.0040.00418.96
8.3.140.0040.00416.91
8.3.130.0050.00518.47
8.3.120.0090.00918.67
8.3.110.0050.00320.94
8.3.100.0030.01316.63
8.3.90.0040.01126.77
8.3.80.0040.00416.75
8.3.70.0110.00716.58
8.3.60.0110.01118.38
8.3.50.0060.00818.28
8.3.40.0150.00618.85
8.3.30.0090.00618.58
8.3.20.0030.00519.10
8.3.10.0040.00423.48
8.3.00.0060.00320.82
8.2.270.0040.00417.17
8.2.260.0100.01016.43
8.2.250.0050.00518.48
8.2.240.0080.00017.14
8.2.230.0110.00422.58
8.2.220.0090.00037.54
8.2.210.0050.00326.77
8.2.200.0030.00616.13
8.2.190.0070.00716.75
8.2.180.0070.00718.45
8.2.170.0110.00818.82
8.2.160.0110.00322.96
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0040.00418.63
8.2.110.0060.00320.52
8.2.100.0040.00717.72
8.2.90.0000.00917.91
8.2.80.0080.00017.97
8.2.70.0040.00917.45
8.2.60.0080.00417.67
8.2.50.0090.00417.67
8.2.40.0090.00318.38
8.2.30.0080.00418.25
8.2.20.0090.00317.71
8.2.10.0090.00417.70
8.2.00.0060.00617.67
8.1.310.0070.00718.52
8.1.300.0060.00317.85
8.1.290.0070.00430.84
8.1.280.0110.00425.92
8.1.270.0030.00622.20
8.1.260.0090.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.95
8.1.230.0110.00520.89
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0130.00217.04
8.1.190.0040.00817.06
8.1.180.0060.00617.55
8.1.170.0070.00417.63
8.1.160.0080.00417.94
8.1.150.0110.00317.79
8.1.140.0070.00519.57
8.1.130.0080.00418.66
8.1.120.0070.00417.23
8.1.110.0060.00817.30
8.1.100.0110.00317.33
8.1.90.0100.00317.30
8.1.80.0040.00717.36
8.1.70.0090.00417.29
8.1.60.0120.00417.35
8.1.50.0080.00417.39
8.1.40.0100.00417.35
8.1.30.0060.00617.39
8.1.20.0080.00517.43
8.1.10.0070.00717.29
8.1.00.0090.00417.36
8.0.300.0000.00819.55
8.0.290.0120.00016.60
8.0.280.0040.00817.46
8.0.270.0090.00316.63
8.0.260.0090.00417.54
8.0.250.0040.00616.77
8.0.240.0050.00616.65
8.0.230.0090.00316.61
8.0.220.0050.00716.52
8.0.210.0070.00516.69
8.0.200.0090.00416.63
8.0.190.0110.00116.72
8.0.180.0090.00416.73
8.0.170.0110.00316.63
8.0.160.0060.00616.75
8.0.150.0070.00516.51
8.0.140.0060.00816.68
8.0.130.0110.00415.48
8.0.120.0080.00616.70
8.0.110.0110.00216.51
8.0.100.0090.00316.60
8.0.90.0090.00316.62
8.0.80.0100.00616.70
8.0.70.0090.00216.66
8.0.60.0030.00916.75
8.0.50.0080.00516.63
8.0.30.0100.00416.62
8.0.20.0100.00717.01
8.0.10.0090.00316.69
8.0.00.0080.00916.78
7.4.330.0060.00215.47
7.4.320.0070.00516.29
7.4.300.0090.00216.40
7.4.290.0070.00516.34
7.4.280.0060.00716.36
7.4.270.0080.00616.34
7.4.260.0070.00516.35
7.4.250.0100.00316.32
7.4.240.0070.00316.36
7.4.230.0080.00316.40
7.4.220.0090.00416.40
7.4.210.0120.00516.38
7.4.200.0040.00716.27
7.4.190.0100.00416.46
7.4.180.0030.01116.38
7.4.160.0110.00516.41
7.4.150.0110.00316.34
7.4.140.0100.01017.44
7.4.130.0120.00616.37
7.4.120.0120.00616.31
7.4.110.0130.00416.35
7.4.100.0130.00516.47
7.4.90.0090.00716.36
7.4.80.0120.00317.30
7.4.70.0110.00416.24
7.4.60.0060.00916.30
7.4.50.0050.00916.27
7.4.40.0100.00716.20
7.4.30.0080.00716.43
7.4.20.0080.00516.26
7.4.10.0100.00416.27
7.4.00.0100.00715.79
7.3.330.0090.00315.31
7.3.320.0060.00615.32
7.3.310.0070.00616.26
7.3.300.0080.00416.31
7.3.290.0090.00416.32
7.3.280.0090.00816.33
7.3.270.0120.00316.37
7.3.260.0120.00616.33
7.3.250.0130.00216.37
7.3.240.0100.00916.40
7.3.230.0120.00416.33
7.3.220.0080.00816.38
7.3.210.0100.00616.32
7.3.200.0140.00316.37
7.3.190.0090.00716.35
7.3.180.0110.00516.37
7.3.170.0110.00516.33
7.3.160.0110.00416.39
7.3.150.0060.00916.34
7.3.140.0090.00616.34
7.3.130.0090.00716.38
7.3.120.0070.00816.00
7.3.110.0080.00715.92
7.3.100.0100.00515.85
7.3.90.0100.00415.92
7.3.80.0050.01115.60
7.3.70.0070.00815.69
7.3.60.0100.00415.68
7.3.50.0080.00515.63
7.3.40.0060.00915.71
7.3.30.0080.00615.73
7.3.20.0120.00317.09
7.3.10.0090.00717.04
7.3.00.0090.00616.85
7.2.340.0090.00716.29
7.2.330.0120.00516.38
7.2.320.0100.00616.43
7.2.310.0130.00416.49
7.2.300.0080.00816.34
7.2.290.0090.00716.39
7.2.280.0110.00616.40
7.2.270.0090.00716.40
7.2.260.0080.00816.33
7.2.250.0130.00316.31
7.2.240.0100.00715.98
7.2.230.0080.00816.05
7.2.220.0100.00815.95
7.2.210.0100.00715.76
7.2.200.0110.00515.75
7.2.190.0080.00715.79
7.2.180.0100.00615.76
7.2.170.0130.00415.79
7.2.160.0090.00615.84
7.2.150.0100.00517.21
7.2.140.0080.00817.27
7.2.130.0080.00817.23
7.2.120.0160.00616.68
7.2.110.0170.00716.84
7.2.100.0150.00616.65
7.2.90.0160.00416.74
7.2.80.0130.00716.83
7.2.70.0130.00816.90
7.2.60.0130.00716.77
7.2.50.0120.00816.65
7.2.40.0150.00816.78
7.2.30.0250.00816.83
7.2.20.0180.00516.76
7.2.10.0160.00616.91
7.2.00.0100.01116.82
7.1.330.0070.00816.45
7.1.320.0100.00516.34
7.1.310.0110.00416.18
7.1.300.0090.00716.23
7.1.290.0090.00716.19
7.1.280.0090.00616.18
7.1.270.0120.00316.13
7.1.260.0110.00416.20
7.1.250.0090.00416.09
7.1.240.0150.00416.37
7.1.230.0210.00615.73
7.1.220.0150.00715.80
7.1.210.0130.00715.79
7.1.200.0170.00515.83
7.1.190.0150.00515.78
7.1.180.0180.00715.79
7.1.170.0160.00515.72
7.1.160.0150.00815.70
7.1.150.0230.00415.65
7.1.140.0150.00815.83
7.1.130.0170.00615.75
7.1.120.0180.00415.70
7.1.110.0180.00815.74
7.1.100.0180.00615.71
7.1.90.0190.00415.76
7.1.80.0150.00715.71
7.1.70.0160.00715.68
7.1.60.0170.00715.86
7.1.50.0170.00515.77
7.1.40.0200.00715.83
7.1.30.0150.00715.63
7.1.20.0230.00615.79
7.1.10.0190.00615.73
7.1.00.0180.00615.75
7.0.330.0090.00615.98
7.0.320.0120.00416.27
7.0.310.0110.00516.10
7.0.300.0110.00516.20
7.0.290.0120.00416.20
7.0.280.0120.00416.20
7.0.270.0080.00616.28
7.0.260.0120.00516.23
7.0.250.0110.00416.38
7.0.240.0090.00716.29
7.0.230.0090.00616.33
7.0.220.0080.00716.25
7.0.210.0120.00816.31
7.0.200.0070.00816.24
7.0.190.0110.00516.27
7.0.180.0100.00716.28
7.0.170.0100.00816.39
7.0.160.0090.00816.20
7.0.150.0120.00616.18
7.0.140.0080.00916.26
7.0.130.0130.00516.33
7.0.120.0140.00216.15
7.0.110.0110.00916.22
7.0.100.0100.00616.14
7.0.90.0070.01016.15
7.0.80.0100.00716.13
7.0.70.0100.00716.11
7.0.60.0120.00516.08
7.0.50.0120.00516.07
7.0.40.0120.00516.20
7.0.30.0120.00616.30
7.0.20.0110.00616.09
7.0.10.0110.00616.13
7.0.00.0140.00316.26
5.6.400.0080.00915.67
5.6.390.0120.00515.59
5.6.380.0110.00515.26
5.6.370.0120.00315.95
5.6.360.0050.01016.08
5.6.350.0120.00515.98
5.6.340.0070.00916.07
5.6.330.0090.00615.97
5.6.320.0080.00716.09
5.6.310.0070.00916.02
5.6.300.0060.01215.93
5.6.290.0120.00516.06
5.6.280.0100.00516.00
5.6.270.0130.00416.07
5.6.260.0120.00416.11
5.6.250.0110.00615.87
5.6.240.0110.00716.05
5.6.230.0140.00416.02
5.6.220.0120.00616.00
5.6.210.0110.00816.06
5.6.200.0140.00616.11
5.6.190.0110.00716.02
5.6.180.0080.00915.94
5.6.170.0100.00616.03
5.6.160.0120.00616.11
5.6.150.0070.01016.02
5.6.140.0130.00516.07
5.6.130.0110.00616.11
5.6.120.0130.00616.12
5.6.110.0120.00616.07
5.6.100.0070.01015.99
5.6.90.0120.00516.04
5.6.80.0140.00515.99
5.6.70.0040.01116.03
5.6.60.0090.00715.96
5.6.50.0060.01015.94
5.6.40.0110.01016.05
5.6.30.0090.00915.98
5.6.20.0110.00716.08
5.6.10.0080.00815.96
5.6.00.0080.01015.98

preferences:
29.72 ms | 403 KiB | 5 Q