3v4l.org

run code in 300+ PHP versions simultaneously
<?php [$a, $b] = [2, 3]; print_r([$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)
8.3.140.0110.00717.03
8.3.130.0110.00018.54
8.3.120.0040.00418.96
8.3.110.0100.01018.12
8.3.100.0170.00318.43
8.3.90.0100.01018.27
8.3.80.0100.00516.38
8.3.70.0270.00816.25
8.3.60.0190.00716.44
8.3.50.0040.00616.46
8.3.40.0160.00517.11
8.3.30.0160.00517.06
8.3.20.0170.00317.19
8.3.10.0120.00917.25
8.3.00.0150.00717.12
8.2.250.0150.00316.74
8.2.240.0040.00419.13
8.2.230.0150.00420.94
8.2.220.0030.01024.06
8.2.210.0030.01626.77
8.2.200.0190.00416.23
8.2.190.0210.00516.49
8.2.180.0160.00516.47
8.2.170.0210.00417.68
8.2.160.0210.00417.55
8.2.150.0210.00417.38
8.2.140.0240.00217.30
8.2.130.0240.00017.31
8.2.120.0190.00517.50
8.2.110.0180.00617.36
8.2.100.0210.00317.30
8.2.90.0180.00517.55
8.2.80.0180.00417.12
8.2.70.0190.00417.25
8.2.60.0210.00417.31
8.2.50.0180.00617.25
8.2.40.0170.00517.56
8.2.30.0180.00417.54
8.2.20.0170.00517.31
8.2.10.0180.00317.30
8.2.00.0200.00217.25
8.1.300.0120.00316.31
8.1.290.0190.00516.18
8.1.280.0200.00316.04
8.1.270.0190.00517.05
8.1.260.0210.00217.12
8.1.250.0170.00617.17
8.1.240.0200.00417.18
8.1.230.0170.00617.13
8.1.220.0160.00517.11
8.1.210.0160.00416.93
8.1.200.0200.00216.94
8.1.190.0170.00516.88
8.1.180.0200.00216.87
8.1.170.0160.00417.00
8.1.160.0150.00816.87
8.1.150.0150.00617.12
8.1.140.0170.00417.00
8.1.130.0090.01217.17
8.1.120.0150.00617.36
8.1.110.0160.00617.16
8.1.100.0050.00817.24
8.1.90.0070.00617.05
8.1.80.0030.00917.05
8.1.70.0080.00517.11
8.1.60.0090.00317.25
8.1.50.0040.00817.22
8.1.40.0070.00517.36
8.1.30.0120.00017.36
8.1.20.0070.00517.38
8.1.10.0060.00617.38
8.1.00.0080.00317.06
8.0.300.0180.00316.49
8.0.290.0160.00616.49
8.0.280.0170.00516.50
8.0.270.0190.00316.49
8.0.260.0160.00516.31
8.0.250.0160.00416.44
8.0.240.0170.00516.31
8.0.230.0190.00516.31
8.0.220.0190.00316.25
8.0.210.0200.00416.38
8.0.200.0180.00316.38
8.0.190.0170.00316.44
8.0.180.0150.00816.69
8.0.170.0180.00416.44
8.0.160.0200.00216.48
8.0.150.0120.00816.50
8.0.140.0190.00316.36
8.0.130.0170.00416.48
8.0.120.0170.00516.36
8.0.110.0180.00316.38
8.0.100.0210.00116.37
8.0.90.0160.00716.44
8.0.80.0150.00616.29
8.0.70.0170.00316.50
8.0.60.0140.00716.44
8.0.50.0160.00316.38
8.0.30.0160.00516.50
8.0.20.0200.00216.56
8.0.10.0150.00516.55
8.0.00.0040.00916.74
7.4.330.0170.00416.30
7.4.320.0190.00216.13
7.4.300.0180.00416.19
7.4.290.0180.00416.19
7.4.280.0140.00516.25
7.4.270.0140.00516.19
7.4.260.0190.00316.00
7.4.250.0180.00316.06
7.4.240.0170.00216.00
7.4.230.0140.00816.19
7.4.220.0150.00416.05
7.4.210.0170.00316.38
7.4.200.0110.00816.05
7.4.190.0150.00416.06
7.4.180.0160.00216.11
7.4.160.0180.00316.06
7.4.150.0190.00316.00
7.4.140.0090.01115.92
7.4.130.0140.00816.05
7.4.120.0160.00316.16
7.4.110.0170.00416.00
7.4.100.0110.00616.00
7.4.90.0150.00516.06
7.4.80.0140.00516.05
7.4.70.0140.00416.00
7.4.60.0160.00516.13
7.4.50.0110.00716.00
7.4.40.0160.00616.00
7.4.30.0180.00115.99
7.4.20.0170.00216.06
7.4.10.0130.00516.00
7.4.00.0130.00716.06
7.3.330.0150.00315.75
7.3.320.0120.00615.87
7.3.310.0120.00915.98
7.3.300.0180.00215.94
7.3.290.0100.01015.88
7.3.280.0140.00515.86
7.3.270.0150.00515.88
7.3.260.0130.00615.75
7.3.250.0150.00215.79
7.3.240.0140.00415.86
7.3.230.0170.00215.75
7.3.220.0170.00115.87
7.3.210.0180.00215.88
7.3.200.0190.00015.75
7.3.190.0170.00215.80
7.3.180.0150.00615.88
7.3.170.0170.00515.86
7.3.160.0160.00515.69
7.3.150.0170.00315.63
7.3.140.0180.00315.73
7.3.130.0150.00415.99
7.3.120.0170.00215.81
7.3.110.0150.00415.69
7.3.100.0160.00315.80
7.3.90.0140.00816.06
7.3.80.0150.00715.88
7.3.70.0210.00215.94
7.3.60.0190.00516.00
7.3.50.0190.00515.86
7.3.40.0210.00516.13
7.3.30.0190.00716.10
7.3.20.0230.00316.06
7.3.10.0240.00316.13
7.3.00.0240.00315.63
7.2.340.0180.00716.00
7.2.330.0200.00715.88
7.2.320.0200.00315.88
7.2.310.0150.00415.74
7.2.300.0170.00315.94
7.2.290.0140.00615.81
7.2.280.0130.00916.00
7.2.270.0140.00715.88
7.2.260.0160.00316.06
7.2.250.0150.00415.63
7.2.240.0190.00215.94
7.2.230.0160.00415.94
7.2.220.0160.00515.88
7.2.210.0160.00615.81
7.2.200.0160.00616.13
7.2.190.0150.00616.00
7.2.180.0160.00616.05
7.2.170.0210.00216.06
7.2.160.0160.00616.13
7.2.150.0190.00216.18
7.2.140.0170.00516.06
7.2.130.0170.00616.12
7.2.120.0190.00416.06
7.2.110.0140.00716.25
7.2.100.0170.00516.19
7.2.90.0160.00616.00
7.2.80.0210.00216.25
7.2.70.0240.00816.19
7.2.60.0200.00316.12
7.2.50.0170.00716.19
7.2.40.0170.00416.30
7.2.30.0200.00216.06
7.2.20.0190.00516.18
7.2.10.0190.00316.25
7.2.00.0160.00616.38
7.1.330.0140.00715.31
7.1.320.0170.00215.31
7.1.310.0120.01015.38
7.1.300.0140.00715.13
7.1.290.0180.00315.19
7.1.280.0160.00415.13
7.1.270.0170.00415.19
7.1.260.0160.00515.00
7.1.250.0160.00415.00
7.1.240.0160.00415.13
7.1.230.0170.00415.00
7.1.220.0160.00415.06
7.1.210.0180.00215.13
7.1.200.0310.00715.25
7.1.190.0280.00015.06
7.1.180.0160.00415.06
7.1.170.0130.00715.13
7.1.160.0130.00715.06
7.1.150.0130.00815.13
7.1.140.0160.00515.06
7.1.130.0130.00815.19
7.1.120.0140.00515.38
7.1.110.0170.00315.06
7.1.100.0180.00215.06
7.1.90.0200.00214.88
7.1.80.0180.00115.13
7.1.70.0150.00614.69
7.1.60.0190.00115.06
7.1.50.0180.00214.94
7.1.40.0180.00215.06
7.1.30.0160.00414.88
7.1.20.0160.00615.00
7.1.10.0170.00515.00
7.1.00.0140.00815.00
7.0.330.0170.00414.75
7.0.320.0270.00614.50
7.0.310.0230.00614.44
7.0.300.0160.00214.50
7.0.290.0180.00314.38
7.0.280.0160.00414.50
7.0.270.0140.00414.38
7.0.260.0090.00914.38
7.0.250.0160.00114.81
7.0.240.0110.00914.75
7.0.230.0160.00414.56
7.0.220.0190.00114.69
7.0.210.0160.00514.63
7.0.200.0150.00514.69
7.0.190.0110.00714.56
7.0.180.0130.00514.75
7.0.170.0190.00214.69
7.0.160.0160.00314.56
7.0.150.0150.00214.31
7.0.140.0140.00614.44
7.0.130.0110.00814.75
7.0.120.0120.00614.75
7.0.110.0130.00614.56
7.0.100.0270.00014.44
7.0.90.0210.00714.44
7.0.80.0130.00414.63
7.0.70.0150.00314.56
7.0.60.0140.00414.50
7.0.50.0140.00514.31
7.0.40.0160.00314.56
7.0.30.0120.00714.69
7.0.20.0190.00214.44
7.0.10.0090.01014.50
7.0.00.0140.00614.38
5.6.400.0180.00115.19
5.6.390.0100.00815.31
5.6.380.0110.00815.25
5.6.370.0110.00615.25
5.6.360.0100.00615.19
5.6.350.0140.00415.13
5.6.340.0160.00215.25
5.6.330.0140.00315.19
5.6.320.0110.00615.25
5.6.310.0160.00315.25
5.6.300.0140.00215.25
5.6.290.0130.00615.31
5.6.280.0120.00715.31
5.6.270.0080.00815.19
5.6.260.0150.00315.06
5.6.250.0150.00315.25
5.6.240.0140.00315.50
5.6.230.0150.00215.31
5.6.220.0140.00315.38
5.6.210.0130.00415.25
5.6.200.0100.00715.19
5.6.190.0100.00615.25
5.6.180.0130.00315.50
5.6.170.0100.00615.44
5.6.160.0130.00415.44
5.6.150.0140.00315.38
5.6.140.0100.00815.25
5.6.130.0130.00315.13
5.6.120.0150.00215.06
5.6.110.0130.00415.38
5.6.100.0140.00315.31
5.6.90.0110.00715.38
5.6.80.0120.00415.44
5.6.70.0130.00415.38
5.6.60.0140.00315.25
5.6.50.0140.00315.19
5.6.40.0090.00715.19
5.6.30.0160.00015.31
5.6.20.0150.00215.25
5.6.10.0130.00315.31
5.6.00.0080.00815.25
5.5.380.0140.00215.25
5.5.370.0110.00515.56
5.5.360.0120.00415.25
5.5.350.0160.00315.06
5.5.340.0150.00615.06
5.5.330.0170.00215.25
5.5.320.0130.00515.19
5.5.310.0080.00915.13
5.5.300.0140.00415.13
5.5.290.0140.00415.19
5.5.280.0160.00115.06
5.5.270.0150.00215.19
5.5.260.0120.00415.06
5.5.250.0170.00015.44
5.5.240.0110.00515.44
5.5.230.0130.00315.31
5.5.220.0120.00515.06
5.5.210.0120.00415.25
5.5.200.0130.00414.94
5.5.190.0090.00714.94
5.5.180.0150.00115.25
5.5.170.0130.00315.25
5.5.160.0110.00615.06
5.5.150.0130.00215.06
5.5.140.0100.00714.75
5.5.130.0140.00314.88
5.5.120.0130.00414.88
5.5.110.0090.00715.00
5.5.100.0150.00215.06
5.5.90.0090.00615.25
5.5.80.0110.00515.19
5.5.70.0110.00515.25
5.5.60.0120.00315.19
5.5.50.0110.00415.13
5.5.40.0140.00315.06
5.5.30.0100.00715.06
5.5.20.0140.00314.94
5.5.10.0100.00815.06
5.5.00.0160.00215.06
5.4.450.0110.00312.18
5.4.440.0120.00212.31
5.4.430.0100.00412.12
5.4.420.0110.00212.19
5.4.410.0090.00412.38
5.4.400.0110.00312.13
5.4.390.0060.00712.25
5.4.380.0090.00512.00
5.4.370.0100.00412.31
5.4.360.0110.00312.00
5.4.350.0060.00812.06
5.4.340.0120.00312.13
5.4.330.0090.00412.25
5.4.320.0120.00212.19
5.4.310.0110.00212.25
5.4.300.0120.00212.19
5.4.290.0080.00612.25
5.4.280.0110.00412.19
5.4.270.0090.00412.24
5.4.260.0130.00212.18
5.4.250.0100.00312.25
5.4.240.0080.00512.19
5.4.230.0110.00312.06
5.4.220.0120.00112.00
5.4.210.0140.00012.12
5.4.200.0120.00211.88
5.4.190.0110.00311.94
5.4.180.0130.00212.06
5.4.170.0110.00211.88
5.4.160.0110.00412.06
5.4.150.0070.00612.25
5.4.140.0090.00412.25
5.4.130.0100.00312.18
5.4.120.0100.00312.31
5.4.110.0110.00212.06
5.4.100.0080.00512.24
5.4.90.0100.00412.18
5.4.80.0110.00212.24
5.4.70.0120.00212.30
5.4.60.0130.00312.44
5.4.50.0110.00312.05
5.4.40.0080.00512.19
5.4.30.0120.00212.24
5.4.20.0100.00411.99
5.4.10.0140.00012.25
5.4.00.0100.00312.06
5.3.290.0120.00112.50
5.3.280.0080.00612.50
5.3.270.0090.00412.38
5.3.260.0100.00312.31
5.3.250.0140.00012.38
5.3.240.0080.00512.31
5.3.230.0110.00312.25
5.3.220.0100.00312.25
5.3.210.0120.00112.31
5.3.200.0130.00012.31
5.3.190.0090.00512.44
5.3.180.0100.00312.63
5.3.170.0120.00212.44
5.3.160.0100.00312.44
5.3.150.0120.00012.38
5.3.140.0090.00412.63
5.3.130.0100.00312.31
5.3.120.0080.00412.63
5.3.110.0080.00412.50
5.3.100.0080.00512.44
5.3.90.0090.00312.44
5.3.80.0090.00412.31
5.3.70.0060.00712.50
5.3.60.0080.00412.38
5.3.50.0130.00012.25
5.3.40.0090.00312.38
5.3.30.0080.00412.31
5.3.20.0070.00712.44
5.3.10.0100.00212.25
5.3.00.0110.00212.19
5.2.170.0110.00011.50
5.2.160.0090.00211.44
5.2.150.0080.00211.44
5.2.140.0080.00311.44
5.2.130.0100.00011.44
5.2.120.0050.00511.38
5.2.110.0070.00311.44
5.2.100.0100.00111.38
5.2.90.0080.00311.50
5.2.80.0060.00511.44
5.2.70.0080.00211.44
5.2.60.0050.00511.20
5.2.50.0070.00311.38
5.2.40.0090.00211.38
5.2.30.0110.00011.44
5.2.20.0100.00211.25
5.2.10.0080.00411.25
5.2.00.0080.00311.13
5.1.60.0050.00411.02
5.1.50.0060.00311.02
5.1.40.0090.00011.02
5.1.30.0080.00311.02
5.1.20.0050.00411.02
5.1.10.0050.00511.02
5.1.00.0090.00011.02
5.0.50.0040.00411.02
5.0.40.0060.00111.02
5.0.30.0030.00411.02
5.0.20.0050.00211.02
5.0.10.0060.00211.02
5.0.00.0050.00211.02
4.4.90.0050.00011.02
4.4.80.0030.00211.02
4.4.70.0030.00111.02
4.4.60.0020.00311.02
4.4.50.0050.00011.02
4.4.40.0020.00211.02
4.4.30.0040.00011.02
4.4.20.0020.00211.02
4.4.10.0000.00411.02
4.4.00.0000.00511.02
4.3.110.0020.00211.02
4.3.100.0030.00211.02
4.3.90.0050.00011.02
4.3.80.0040.00011.02
4.3.70.0040.00011.02
4.3.60.0030.00211.02
4.3.50.0030.00211.02
4.3.40.0030.00111.02
4.3.30.0020.00211.02
4.3.20.0000.00411.02
4.3.10.0040.00011.02
4.3.00.0030.00011.02

preferences:
53.71 ms | 403 KiB | 5 Q