3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace AAA; class A { function __construct() { echo 'asas'; } } namespace BBB; use AAA\A; var_dump(AAA\A::class);

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.60.0040.01116.75
8.3.50.0090.00921.86
8.3.40.0060.01218.75
8.3.30.0110.01118.95
8.3.20.0030.00620.07
8.3.10.0040.00423.48
8.3.00.0140.00420.56
8.2.180.0110.00416.50
8.2.170.0150.00622.96
8.2.160.0080.00622.08
8.2.150.0000.00724.18
8.2.140.0150.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00422.33
8.2.110.0180.00322.29
8.2.100.0120.00017.66
8.2.90.0080.00018.96
8.2.80.0080.00017.97
8.2.70.0000.00817.50
8.2.60.0040.00417.80
8.2.50.0000.00818.07
8.2.40.0040.00418.09
8.2.30.0070.00017.92
8.2.20.0000.00717.45
8.2.10.0040.00417.47
8.2.00.0000.00717.54
8.1.280.0070.00725.92
8.1.270.0190.00023.96
8.1.260.0040.00426.35
8.1.250.0000.01428.09
8.1.240.0090.00024.02
8.1.230.0110.00018.98
8.1.220.0000.00717.74
8.1.210.0000.00818.77
8.1.200.0060.00317.10
8.1.190.0000.00817.43
8.1.180.0000.00818.10
8.1.170.0040.00418.58
8.1.160.0110.00021.93
8.1.150.0040.00418.42
8.1.140.0040.00417.32
8.1.130.0030.00317.74
8.1.120.0030.00317.37
8.1.110.0000.00817.28
8.1.100.0070.00017.32
8.1.90.0000.00817.33
8.1.80.0070.00017.30
8.1.70.0000.00717.25
8.1.60.0030.00517.33
8.1.50.0000.00817.29
8.1.40.0000.00817.37
8.1.30.0000.00817.33
8.1.20.0050.00217.55
8.1.10.0050.00317.30
8.1.00.0000.00917.32
8.0.300.0000.00718.77
8.0.290.0070.00016.93
8.0.280.0040.00418.21
8.0.270.0000.00717.04
8.0.260.0000.00716.59
8.0.250.0070.00016.76
8.0.240.0030.00716.83
8.0.230.0030.00316.80
8.0.220.0070.00016.74
8.0.210.0030.00516.71
8.0.200.0090.00016.83
8.0.190.0070.00016.81
8.0.180.0000.00716.80
8.0.170.0040.00416.77
8.0.160.0000.00716.70
8.0.150.0030.00516.60
8.0.140.0040.00416.68
8.0.130.0050.00013.22
8.0.120.0000.00816.72
8.0.110.0030.00316.77
8.0.100.0000.00816.70
8.0.90.0000.00816.82
8.0.80.0140.00316.64
8.0.70.0040.00316.56
8.0.60.0040.00416.79
8.0.50.0000.00716.69
8.0.30.0130.00616.79
8.0.20.0140.00817.40
8.0.10.0000.00716.77
8.0.00.0120.00516.61
7.4.330.0000.00515.02
7.4.320.0070.00016.38
7.4.300.0000.00616.45
7.4.290.0030.00616.31
7.4.280.0030.00316.30
7.4.270.0000.00716.34
7.4.260.0040.00416.48
7.4.250.0070.00016.34
7.4.240.0020.00516.42
7.4.230.0000.00716.57
7.4.220.0030.01316.56
7.4.210.0090.00816.37
7.4.200.0000.00716.56
7.4.190.0000.00716.32
7.4.160.0060.00916.30
7.4.150.0110.00517.40
7.4.140.0100.00817.86
7.4.130.0090.00916.40
7.4.120.0090.00916.26
7.4.110.0120.00416.34
7.4.100.0180.00316.31
7.4.90.0060.01116.34
7.4.80.0030.01319.39
7.4.70.0140.00316.45
7.4.60.0130.00716.32
7.4.50.0000.00716.09
7.4.40.0000.01722.77
7.4.30.0060.01016.32
7.4.00.0070.00814.79
7.3.330.0030.00313.16
7.3.320.0000.00612.93
7.3.310.0040.00416.15
7.3.300.0030.00316.16
7.3.290.0100.00316.18
7.3.280.0050.01316.19
7.3.270.0090.00917.40
7.3.260.0060.01016.31
7.3.250.0170.00616.10
7.3.240.0100.00716.14
7.3.230.0000.01916.39
7.3.210.0150.00416.16
7.3.200.0060.01016.19
7.3.190.0110.00816.48
7.3.180.0130.00316.23
7.3.170.0100.01316.46
7.3.160.0040.01116.47
7.3.120.0080.00614.61
7.3.110.0120.00714.65
7.3.100.0100.00514.81
7.3.90.0060.00814.58
7.3.80.0080.00614.71
7.3.70.0090.00714.79
7.3.60.0090.00414.58
7.3.50.0090.00714.57
7.3.40.0060.01014.52
7.3.30.0070.00814.66
7.3.20.0090.00516.46
7.3.10.0050.00816.43
7.3.00.0020.01316.55
7.2.330.0060.01216.41
7.2.320.0110.00616.49
7.2.310.0090.00716.50
7.2.300.0030.01916.19
7.2.290.0120.00616.26
7.2.250.0080.01014.59
7.2.240.0050.01314.75
7.2.230.0090.00514.90
7.2.220.0030.01114.81
7.2.210.0100.00314.70
7.2.200.0070.00814.65
7.2.190.0080.00814.69
7.2.180.0120.00214.61
7.2.170.0070.00514.61
7.2.60.0100.00316.36
7.1.330.0080.00515.29
7.1.320.0050.01015.51
7.1.310.0020.01315.45
7.1.300.0020.01115.60
7.1.290.0050.00715.77
7.1.280.0060.00615.60
7.1.270.0090.00515.57
7.1.260.0040.00715.31
7.1.200.0030.01015.36
7.1.70.0000.00716.82
7.1.60.0090.01519.29
7.1.50.0160.00434.25
7.1.00.0100.07022.33
7.0.200.0000.00816.70
7.0.140.0100.07022.15
7.0.100.0000.08719.86
7.0.90.0300.08319.88
7.0.80.0170.09019.93
7.0.70.0370.06719.85
7.0.60.0470.07719.90
7.0.50.0230.08020.30
7.0.40.0170.07019.95
7.0.30.0100.07320.00
7.0.20.0070.08720.07
7.0.10.0100.06719.99
7.0.00.0130.07720.07
5.6.280.0070.07021.10
5.6.250.0170.07720.52
5.6.240.0070.08020.65
5.6.230.0170.07320.64
5.6.220.0100.07720.54
5.6.210.0130.06720.43
5.6.200.0030.09021.01
5.6.190.0070.08321.04
5.6.180.0100.07320.91
5.6.170.0070.07320.99
5.6.160.0030.08721.01
5.6.150.0100.08020.90
5.6.140.0130.07320.89
5.6.130.0070.05720.88
5.6.120.0070.07321.05
5.6.110.0030.08721.02
5.6.100.0100.08321.07
5.6.90.0100.07721.11
5.6.80.0100.07320.35
5.6.70.0100.06320.44
5.6.60.0030.08720.50
5.6.50.0100.07020.42
5.6.40.0100.07720.32
5.6.30.0100.06320.32
5.6.20.0070.06020.27
5.6.10.0030.09020.32
5.6.00.0130.06020.37
5.5.380.0170.07020.47
5.5.370.0030.08320.37
5.5.360.0100.08020.30
5.5.350.0030.08720.35
5.5.340.0030.06720.82
5.5.330.0100.08020.76
5.5.320.0230.06720.86
5.5.310.0030.04320.79
5.5.300.0100.07320.84
5.5.290.0030.08320.82
5.5.280.0070.05020.71
5.5.270.0130.05020.83
5.5.260.0100.08020.87
5.5.250.0100.06020.59
5.5.240.0200.05720.16
5.5.230.0070.05020.13
5.5.220.0100.04320.19
5.5.210.0130.04720.22
5.5.200.0000.08320.11
5.5.190.0100.07320.21
5.5.180.0070.07720.23
5.5.160.0030.07320.11
5.5.150.0100.04320.12
5.5.140.0070.04720.04
5.5.130.0170.07020.07
5.5.120.0100.08020.19
5.5.110.0030.07720.10
5.5.100.0000.05319.97
5.5.90.0170.07320.02
5.5.80.0170.06320.11
5.5.70.0100.08019.99
5.5.60.0130.07720.05
5.5.50.0070.07320.09
5.5.40.0230.03720.00
5.5.30.0100.05720.11
5.5.20.0030.08019.94
5.5.10.0030.08320.07
5.5.00.0070.08019.98
5.4.450.0030.07719.37
5.4.440.0070.07719.36
5.4.430.0030.08019.53
5.4.420.0100.07719.47
5.4.410.0130.07319.14
5.4.400.0000.04719.17
5.4.390.0070.07719.13
5.4.380.0000.08019.13
5.4.370.0070.07319.14
5.4.360.0070.04319.04
5.4.350.0000.05018.87
5.4.340.0070.07019.04
5.4.320.0070.06319.16
5.4.310.0070.05018.85
5.4.300.0030.07719.14
5.4.290.0200.05018.90
5.4.280.0030.08019.21
5.4.270.0070.07718.85
5.4.260.0100.07319.23
5.4.250.0100.07019.16
5.4.240.0070.04719.04
5.4.230.0070.04719.16
5.4.220.0070.08319.23
5.4.210.0070.08019.21
5.4.200.0070.08019.03
5.4.190.0070.08018.86
5.4.180.0070.04319.03
5.4.170.0000.08718.87
5.4.160.0170.06719.02
5.4.150.0070.08019.16
5.4.140.0100.07016.41
5.4.130.0030.07316.19
5.4.120.0070.08316.50
5.4.110.0070.07016.52
5.4.100.0000.08016.53
5.4.90.0130.06316.49
5.4.80.0030.07716.40
5.4.70.0070.07716.46
5.4.60.0030.07316.44
5.4.50.0030.08016.47
5.4.40.0070.06316.42
5.4.30.0230.05716.41
5.4.20.0070.07316.45
5.4.10.0130.03716.44
5.4.00.0000.04715.73
5.3.290.0070.07314.73
5.3.280.0100.07014.73
5.3.270.0000.05714.54
5.3.260.0030.07314.58
5.3.250.0130.06314.66
5.3.240.0100.07314.54
5.3.230.0030.07714.71
5.3.220.0030.07014.55
5.3.210.0030.05014.56
5.3.200.0100.06014.69
5.3.190.0030.08014.55
5.3.180.0030.07714.68
5.3.170.0100.07014.70
5.3.160.0170.03014.57
5.3.150.0200.06014.49
5.3.140.0070.07314.61
5.3.130.0000.07714.57
5.3.120.0070.05714.65
5.3.110.0030.07714.47
5.3.100.0030.06714.07
5.3.90.0070.05013.95
5.3.80.0070.07314.15
5.3.70.0070.04714.00
5.3.60.0170.06314.10
5.3.50.0030.07713.84
5.3.40.0100.07013.97
5.3.30.0130.04313.85
5.3.20.0100.07313.67
5.3.10.0030.05313.64
5.3.00.0070.07313.53
5.2.170.0100.05711.14
5.2.160.0070.06011.13
5.2.150.0170.04710.95
5.2.140.0030.07011.16
5.2.130.0030.06311.06
5.2.120.0070.05711.08
5.2.110.0100.05711.12
5.2.100.0070.06010.92
5.2.90.0030.04711.10
5.2.80.0100.06311.16
5.2.70.0100.03711.09
5.2.60.0070.06310.84
5.2.50.0100.04710.93
5.2.40.0130.03711.03
5.2.30.0000.07011.01
5.2.20.0100.06010.91
5.2.10.0030.06010.93
5.2.00.0070.06010.76
5.1.60.0070.05710.49
5.1.50.0100.05010.49
5.1.40.0030.05310.49
5.1.30.0030.06010.49
5.1.20.0070.05710.49
5.1.10.0070.04010.49
5.1.00.0030.05710.49
5.0.50.0070.04010.49
5.0.40.0100.03710.49
5.0.30.0100.05710.49
5.0.20.0100.03710.49
5.0.10.0000.04010.49
5.0.00.0130.04310.49
4.4.90.0030.03710.49
4.4.80.0000.03710.49
4.4.70.0030.03710.49
4.4.60.0000.03710.49
4.4.50.0030.03310.49
4.4.40.0000.05310.49
4.4.30.0000.04010.49
4.4.20.0000.03710.49
4.4.10.0000.03010.49
4.4.00.0000.05010.49
4.3.110.0030.03010.49
4.3.100.0000.04010.49
4.3.90.0070.03010.49
4.3.80.0000.05310.49
4.3.70.0000.03710.49
4.3.60.0030.03310.49
4.3.50.0100.02710.49
4.3.40.0030.05010.49
4.3.30.0030.03010.49
4.3.20.0000.03710.49
4.3.10.0030.03010.49
4.3.00.0000.04010.49

preferences:
39.75 ms | 401 KiB | 5 Q