3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { const BAR = [1, 2, 3]; } var_dump(Foo::BAR);

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.80.0060.00317.97
8.3.70.0090.00616.25
8.3.60.0040.01418.31
8.3.50.0130.00721.92
8.3.40.0200.00018.65
8.3.30.0030.01119.02
8.3.20.0050.00220.16
8.3.10.0000.00721.68
8.3.00.0040.00718.98
8.2.200.0060.00318.41
8.2.190.0090.00616.58
8.2.180.0100.00718.16
8.2.170.0080.01522.96
8.2.160.0030.01020.43
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00726.16
8.2.120.0080.00019.54
8.2.110.0060.00320.26
8.2.100.0040.00717.59
8.2.90.0050.00319.10
8.2.80.0080.00017.97
8.2.70.0080.00017.46
8.2.60.0060.00317.68
8.2.50.0000.00918.07
8.2.40.0040.00418.09
8.2.30.0080.00017.93
8.2.20.0040.00417.53
8.2.10.0070.00017.97
8.2.00.0070.00017.41
8.1.290.0090.00018.88
8.1.280.0070.01125.92
8.1.270.0080.00018.74
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00723.91
8.1.230.0000.01122.17
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0030.00617.00
8.1.190.0030.00617.10
8.1.180.0050.00318.10
8.1.170.0000.01018.53
8.1.160.0080.00021.93
8.1.150.0000.00718.76
8.1.140.0060.00319.04
8.1.130.0000.00717.75
8.1.120.0000.00717.34
8.1.110.0040.00417.28
8.1.100.0000.00717.28
8.1.90.0030.00517.38
8.1.80.0040.00417.23
8.1.70.0030.00317.20
8.1.60.0030.00617.50
8.1.50.0050.00317.30
8.1.40.0040.00417.41
8.1.30.0040.00417.54
8.1.20.0040.00417.50
8.1.10.0040.00417.37
8.1.00.0000.00817.30
8.0.300.0040.00418.77
8.0.290.0050.00216.58
8.0.280.0030.00318.22
8.0.270.0050.00316.69
8.0.260.0040.00417.13
8.0.250.0070.00016.86
8.0.240.0070.00016.84
8.0.230.0030.00316.80
8.0.220.0000.00716.74
8.0.210.0030.00316.76
8.0.200.0030.00316.80
8.0.190.0000.00816.81
8.0.180.0000.00716.71
8.0.170.0050.00216.76
8.0.160.0030.00316.82
8.0.150.0030.00516.69
8.0.140.0000.00716.64
8.0.130.0030.00413.14
8.0.120.0030.00516.62
8.0.110.0040.00416.66
8.0.100.0000.00716.63
8.0.90.0000.00716.62
8.0.80.0130.01016.70
8.0.70.0040.00316.69
8.0.60.0080.00016.80
8.0.50.0050.00216.75
8.0.30.0160.00816.98
8.0.20.0160.00717.40
8.0.10.0000.00816.70
8.0.00.0080.01216.54
7.4.330.0000.00515.03
7.4.320.0000.00616.36
7.4.300.0060.00016.46
7.4.290.0030.00316.45
7.4.280.0040.00416.45
7.4.270.0000.00716.35
7.4.260.0070.00016.39
7.4.250.0040.00416.22
7.4.240.0060.00116.29
7.4.230.0030.00316.39
7.4.220.0100.00716.37
7.4.210.0060.00916.53
7.4.200.0000.00716.18
7.4.160.0090.00916.36
7.4.150.0060.02117.40
7.4.140.0140.00417.86
7.4.130.0130.01016.33
7.4.120.0050.01116.34
7.4.110.0120.00916.47
7.4.100.0120.01216.47
7.4.90.0160.00716.39
7.4.80.0090.00919.39
7.4.70.0060.01816.48
7.4.60.0150.00016.30
7.4.50.0080.00016.23
7.4.40.0110.00716.24
7.4.30.0100.01016.45
7.4.00.0060.01114.73
7.3.330.0030.00312.95
7.3.320.0000.00513.12
7.3.310.0060.00016.06
7.3.300.0000.00716.18
7.3.290.0050.01016.18
7.3.280.0070.01316.16
7.3.270.0070.01317.40
7.3.260.0130.00316.36
7.3.250.0100.00816.18
7.3.240.0040.01516.21
7.3.230.0180.00416.39
7.3.210.0060.00916.16
7.3.200.0090.00919.39
7.3.190.0100.01316.47
7.3.180.0060.01216.42
7.3.170.0100.01316.27
7.3.160.0160.00316.28
7.3.120.0040.01414.73
7.3.110.0070.01114.46
7.3.100.0080.00814.69
7.3.90.0000.01114.62
7.3.80.0040.01314.70
7.3.70.0100.00814.58
7.3.60.0080.00714.56
7.3.50.0030.01014.54
7.3.40.0020.01314.75
7.3.30.0070.00714.73
7.3.20.0040.00916.39
7.3.10.0080.00316.37
7.3.00.0090.00616.33
7.2.330.0140.00316.52
7.2.320.0030.01316.13
7.2.310.0100.01416.26
7.2.300.0100.00716.40
7.2.290.0100.01416.54
7.2.250.0060.01014.98
7.2.240.0080.01214.60
7.2.230.0100.00514.86
7.2.220.0030.00814.85
7.2.210.0030.01014.94
7.2.200.0100.00714.96
7.2.190.0030.01314.61
7.2.180.0080.00614.81
7.2.170.0050.00814.91
7.2.00.0030.00919.15
7.1.330.0080.00615.68
7.1.320.0050.00715.79
7.1.310.0070.00615.59
7.1.300.0040.00915.68
7.1.290.0010.01215.66
7.1.280.0070.00715.67
7.1.270.0060.00715.61
7.1.260.0040.01115.66
7.1.100.0070.00718.23
7.1.70.0040.00417.04
7.1.60.0030.01919.46
7.1.50.0040.01916.80
7.1.00.0070.07322.30
7.0.200.0070.00316.73
7.0.140.0030.04321.95
7.0.60.0270.08020.02
7.0.50.0100.08317.84
7.0.40.0170.07720.20
7.0.30.0270.04320.30
7.0.20.0100.08320.14
7.0.10.0230.07020.02
7.0.00.0300.08720.03
5.6.280.0030.07321.02
5.6.210.0070.08720.61
5.6.200.0130.07018.25
5.6.190.0270.08020.68
5.6.180.0230.05020.43
5.6.170.0170.05320.46
5.6.160.0330.07320.67
5.6.150.0230.04020.34
5.6.140.0230.07020.44
5.6.130.0230.08020.41
5.6.120.0130.08320.16
5.6.110.0270.06720.32
5.6.100.0130.06720.33
5.6.90.0100.06320.30
5.6.80.0300.07019.88
5.6.70.0130.04319.57
5.6.60.0230.04019.57
5.6.50.0130.04019.82
5.6.40.0170.03719.77
5.6.30.0170.04019.55
5.6.20.0130.04019.57
5.6.10.0170.03719.88
5.6.00.0130.03719.75
5.5.350.0100.05720.34
5.5.340.0070.03317.96
5.5.330.0230.08020.41
5.5.320.0270.03320.21
5.5.310.0330.07020.37
5.5.300.0200.04320.16
5.5.290.0130.06720.30
5.5.280.0200.08719.98
5.5.270.0130.05320.21
5.5.260.0370.06719.98
5.5.250.0230.08019.95
5.5.240.0230.06719.59
5.5.230.0330.06719.35
5.5.220.0470.05719.59
5.5.210.0070.04719.68
5.5.200.0170.04719.35
5.5.190.0130.04019.34
5.5.180.0130.04019.50
5.5.160.0200.03319.57
5.5.150.0200.03719.65
5.5.140.0070.04319.57
5.5.130.0270.03319.65
5.5.120.0200.03719.61
5.5.110.0130.03719.51
5.5.100.0170.03319.49
5.5.90.0200.03719.55
5.5.80.0130.04019.57
5.5.70.0130.03719.28
5.5.60.0130.04319.21
5.5.50.0100.04319.38
5.5.40.0230.03719.27
5.5.30.0130.03719.32
5.5.20.0200.03319.47
5.5.10.0070.04319.31
5.5.00.0030.04719.42
5.4.450.0300.06719.57
5.4.440.0300.05719.57
5.4.430.0230.03719.41
5.4.420.0270.07319.34
5.4.410.0230.06019.05
5.4.400.0230.04719.16
5.4.390.0230.03319.08
5.4.380.0230.04019.16
5.4.370.0200.03319.16
5.4.360.0100.04019.08
5.4.350.0300.03018.88
5.4.340.0200.03018.86
5.4.320.0130.03718.93
5.4.310.0070.04318.89
5.4.300.0200.03719.21
5.4.290.0100.04719.24
5.4.280.0070.05019.26
5.4.270.0130.03719.14
5.4.260.0170.04019.20
5.4.250.0170.03319.16
5.4.240.0270.03019.24
5.4.230.0100.04018.85
5.4.220.0170.04019.14
5.4.210.0130.03719.15
5.4.200.0170.03319.20
5.4.190.0170.03318.85
5.4.180.0130.03719.13
5.4.170.0130.03718.95
5.4.160.0100.04019.09
5.4.150.0070.04319.05
5.4.140.0330.05316.41
5.4.130.0200.04716.35
5.4.120.0300.04716.33
5.4.110.0230.06716.39
5.4.100.0200.06316.30
5.4.90.0200.05716.44
5.4.80.0230.03316.27
5.4.70.0300.06316.31
5.4.60.0270.06316.43
5.4.50.0230.04316.43
5.4.40.0300.07316.40
5.4.30.0200.07016.27
5.4.20.0230.04016.25
5.4.10.0230.04716.51
5.4.00.0400.05315.71
5.3.290.0130.04014.67
5.3.280.0170.03314.64
5.3.270.0070.04714.60
5.3.260.0130.03714.49
5.3.250.0070.04014.76
5.3.240.0200.07314.63
5.3.230.0200.04314.59
5.3.220.0300.06314.71
5.3.210.0130.08014.58
5.3.200.0200.06014.62
5.3.190.0270.07314.61
5.3.180.0230.03714.55
5.3.170.0230.07014.55
5.3.160.0300.04014.62
5.3.150.0230.08314.55
5.3.140.0200.08014.56
5.3.130.0130.08314.55
5.3.120.0230.06014.43
5.3.110.0270.04714.59
5.3.100.0170.05714.04
5.3.90.0200.05714.07
5.3.80.0270.06714.02
5.3.70.0330.06013.93
5.3.60.0170.05714.04
5.3.50.0370.07014.00
5.3.40.0130.04014.10
5.3.30.0230.05013.87
5.3.20.0270.05713.73
5.3.10.0230.05013.57
5.3.00.0200.03713.63
5.2.170.0200.05312.48
5.2.160.0230.05012.48
5.2.150.0230.05712.48
5.2.140.0170.03712.48
5.2.130.0170.03712.48
5.2.120.0230.04712.48
5.2.110.0230.04012.48
5.2.100.0200.02312.48
5.2.90.0200.03012.48
5.2.80.0130.04012.48
5.2.70.0170.04012.48
5.2.60.0200.05312.48
5.2.50.0170.06712.48
5.2.40.0070.04012.48
5.2.30.0130.03312.48
5.2.20.0170.05012.48
5.2.10.0130.04012.48
5.2.00.0130.03712.48
5.1.60.0130.03312.48
5.1.50.0200.03012.48
5.1.40.0130.02712.48
5.1.30.0200.04312.48
5.1.20.0130.04312.48
5.1.10.0170.03712.48
5.1.00.0200.05312.48
5.0.50.0130.03312.48
5.0.40.0070.04012.48
5.0.30.0130.04712.48
5.0.20.0130.03712.48
5.0.10.0100.04712.48
5.0.00.0100.04312.48
4.4.90.0200.02312.48
4.4.80.0070.02312.48
4.4.70.0100.02312.48
4.4.60.0130.03312.48
4.4.50.0200.01712.48
4.4.40.0070.03712.48
4.4.30.0130.02012.48
4.4.20.0070.02312.48
4.4.10.0170.02312.48
4.4.00.0070.05312.48
4.3.110.0130.02712.48
4.3.100.0130.01712.48
4.3.90.0170.02312.48
4.3.80.0070.04312.48
4.3.70.0070.02312.48
4.3.60.0030.02312.48
4.3.50.0130.02312.48
4.3.40.0030.05312.48
4.3.30.0070.03712.48
4.3.20.0100.03312.48
4.3.10.0100.03312.48
4.3.00.0070.03312.48

preferences:
29.53 ms | 401 KiB | 5 Q