3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface fos{ public function getClass(); } interface sonata{ public function getClass(); } class usermanagerproxy { public function __construct(fos $proxy) { $this->proxy = $proxy; } public function getClass(){ return 'class'; } } class usermanager implements fos { public function getClass(){ return 'class'; } } var_dump(new usermanagerproxy());

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.0090.01218.43
8.3.50.0070.01121.21
8.3.40.0100.00718.69
8.3.30.0000.01419.17
8.3.20.0000.00820.32
8.3.10.0080.00022.08
8.3.00.0030.00622.39
8.2.180.0040.01116.88
8.2.170.0070.00722.96
8.2.160.0070.00720.39
8.2.150.0070.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00726.16
8.2.120.0080.00019.54
8.2.110.0090.00021.95
8.2.100.0100.00019.26
8.2.90.0080.00019.17
8.2.80.0000.00818.05
8.2.70.0000.00817.63
8.2.60.0000.00818.04
8.2.50.0040.00418.07
8.2.40.0000.00718.22
8.2.30.0040.00418.03
8.2.20.0000.00717.75
8.2.10.0040.00417.65
8.2.00.0030.00517.78
8.1.280.0170.00025.92
8.1.270.0060.00320.27
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00323.85
8.1.230.0040.00819.15
8.1.220.0000.00817.76
8.1.210.0090.00018.77
8.1.200.0090.00017.22
8.1.190.0030.00517.29
8.1.180.0000.00818.74
8.1.170.0050.00318.58
8.1.160.0080.00022.14
8.1.150.0030.00718.68
8.1.140.0060.00317.43
8.1.130.0070.00017.69
8.1.120.0030.00617.42
8.1.110.0040.00417.43
8.1.100.0000.00717.26
8.1.90.0020.00517.28
8.1.80.0040.00417.41
8.1.70.0030.00317.29
8.1.60.0040.00417.45
8.1.50.0040.00417.45
8.1.40.0000.00817.43
8.1.30.0040.00417.54
8.1.20.0000.00817.49
8.1.10.0060.00317.55
8.1.00.0030.00717.42
8.0.300.0040.00418.77
8.0.290.0000.00817.18
8.0.280.0080.00018.32
8.0.270.0030.00317.25
8.0.260.0040.00416.82
8.0.250.0070.00016.94
8.0.240.0040.00417.04
8.0.230.0030.00316.98
8.0.220.0030.00316.96
8.0.210.0030.00317.04
8.0.200.0000.00616.99
8.0.190.0030.00617.06
8.0.180.0000.00817.00
8.0.170.0000.00716.99
8.0.160.0040.00416.99
8.0.150.0000.00716.92
8.0.140.0000.00716.90
8.0.130.0030.00313.37
8.0.120.0040.00416.83
8.0.110.0000.00816.94
8.0.100.0070.00016.98
8.0.90.0000.00816.98
8.0.80.0030.01216.95
8.0.70.0030.00516.83
8.0.60.0000.00716.87
8.0.50.0040.00416.74
8.0.30.0120.00916.98
8.0.20.0090.00917.40
8.0.10.0070.00016.88
8.0.00.0130.00516.74
7.4.330.0030.00315.00
7.4.320.0060.00016.48
7.4.300.0000.00616.31
7.4.290.0030.00316.36
7.4.280.0070.00016.34
7.4.270.0030.00316.55
7.4.260.0030.00316.33
7.4.250.0000.00716.33
7.4.240.0050.00316.44
7.4.230.0070.00016.37
7.4.220.0140.00416.53
7.4.210.0070.00616.47
7.4.200.0050.00316.54
7.4.190.0070.00016.64
7.4.160.0080.00816.46
7.4.150.0070.01117.40
7.4.140.0100.00917.86
7.4.130.0090.00816.51
7.4.120.0050.01216.60
7.4.110.0030.01416.46
7.4.100.0030.02016.43
7.4.90.0070.01016.63
7.4.80.0070.01019.39
7.4.70.0120.00616.52
7.4.60.0090.00916.59
7.4.50.0020.00216.52
7.4.40.0030.00822.77
7.4.30.0120.00916.41
7.4.00.0030.01514.77
7.3.330.0000.00513.39
7.3.320.0020.00213.39
7.3.310.0030.00316.40
7.3.300.0030.00316.23
7.3.290.0070.01316.32
7.3.280.0060.00816.42
7.3.270.0110.00617.40
7.3.260.0060.01816.44
7.3.250.0070.01016.47
7.3.240.0130.00616.43
7.3.230.0110.00816.39
7.3.210.0110.00716.45
7.3.200.0120.01019.39
7.3.190.0120.00916.40
7.3.180.0090.00916.46
7.3.170.0130.00316.36
7.3.160.0100.00716.38
7.3.120.0100.00614.98
7.2.330.0030.01316.50
7.2.320.0120.01216.66
7.2.310.0210.00316.42
7.2.300.0140.00616.52
7.2.290.0130.00316.44
7.2.60.0000.01116.91
7.2.00.0060.00918.85
7.1.200.0000.01215.73
7.1.100.0070.00718.22
7.1.70.0070.00716.78
7.1.60.0100.00719.82
7.1.50.0110.01416.66
7.1.00.0070.06722.36
7.0.200.0080.00016.70
7.0.140.0030.07021.97
7.0.60.0100.04719.83
7.0.50.0000.04017.72
7.0.40.0100.04720.11
7.0.30.0600.07020.25
7.0.20.0130.05020.23
7.0.10.0170.06720.25
7.0.00.0070.05320.29
5.6.280.0070.07020.79
5.6.210.0070.09020.67
5.6.200.0030.09018.18
5.6.190.0100.08020.63
5.6.180.0370.07020.77
5.6.170.0130.04320.47
5.6.160.0100.07320.56
5.6.150.0070.05018.18
5.6.140.0170.07018.18
5.6.130.0100.05018.14
5.6.120.0170.06720.90
5.6.110.0170.06321.02
5.6.100.0070.08321.14
5.6.90.0030.08721.13
5.6.80.0100.07720.53
5.6.70.3900.02720.41
5.5.350.0070.04020.50
5.5.340.0030.08018.02
5.5.330.0100.07020.40
5.5.320.0330.06020.26
5.5.310.0300.05720.32
5.5.300.0170.07018.03
5.5.290.0030.08717.97
5.5.280.0070.05720.82
5.5.270.0030.05320.80
5.5.260.0030.04720.66
5.5.250.0030.04020.69
5.5.240.0230.07720.28
5.4.450.0770.05319.63
5.4.440.0170.06019.17
5.4.430.0100.05319.63
5.4.420.0100.06719.32
5.4.410.0270.04718.70
5.4.400.0170.04718.52
5.4.390.0200.06318.80
5.4.380.0070.06018.54
5.4.370.0200.05018.78
5.4.360.0200.04318.53
5.4.350.0090.03212.02
5.4.340.0030.05112.02
5.4.320.0040.04112.51
5.4.310.0080.05212.51
5.4.300.0060.03812.50
5.4.290.0080.04412.50
5.4.280.0070.03712.40
5.4.270.0070.04412.39
5.4.260.0030.05612.40
5.4.250.0130.04718.93
5.4.240.0130.05019.00
5.4.230.0030.05318.84
5.4.220.0030.05719.02
5.4.210.0170.04018.93
5.4.200.0100.05318.93
5.4.190.0100.05018.89
5.4.180.0070.05318.83
5.4.170.0130.04718.98
5.4.160.0070.05018.73
5.4.150.0030.05718.88
5.4.140.0100.04716.35
5.4.130.0030.05016.54
5.4.120.0070.04716.44
5.4.110.0100.04716.38
5.4.100.0030.05016.60
5.4.90.0100.04316.48
5.4.80.0100.04716.45
5.4.70.0000.05316.53
5.4.60.0030.05016.35
5.4.50.0000.05316.36
5.4.40.0170.06316.64
5.4.30.0100.04316.61
5.4.20.0030.05316.50
5.4.10.0030.05716.35
5.4.00.0070.04716.08
5.3.290.0090.03812.80
5.3.280.0030.05014.66
5.3.270.0000.05714.68
5.3.260.0070.05014.67
5.3.250.0030.05014.82
5.3.240.0070.04714.69
5.3.230.0170.04014.76
5.3.220.0200.03714.63
5.3.210.0070.05014.55
5.3.200.0100.05014.79
5.3.190.0100.04714.59
5.3.180.0070.04714.65
5.3.170.0000.05714.54
5.3.160.0170.04014.70
5.3.150.0130.04714.79
5.3.140.0030.05714.64
5.3.130.0170.04314.52
5.3.120.0100.04714.63
5.3.110.0030.05714.45
5.3.100.0030.05013.88
5.3.90.0070.07013.99
5.3.80.0070.06314.01
5.3.70.0070.05014.05
5.3.60.0100.04313.96
5.3.50.0070.04714.04
5.3.40.0030.05313.97
5.3.30.0070.04713.98
5.3.20.0130.04013.72
5.3.10.0030.05013.81
5.3.00.0130.04713.73
5.2.170.0170.03010.98
5.2.160.0070.05311.31
5.2.150.0100.03711.05
5.2.140.0070.03711.24
5.2.130.0000.04311.08
5.2.120.0000.04311.20
5.2.110.0000.04311.18
5.2.100.0070.03711.02
5.2.90.0070.05011.32
5.2.80.0030.05011.26
5.2.70.0100.05311.32
5.2.60.0100.05311.23
5.2.50.0030.04011.10
5.2.40.0030.04010.98
5.2.30.0030.04010.89
5.2.20.0070.03711.14
5.2.10.0030.04011.02
5.2.00.0030.04310.83
5.1.60.0170.03710.10
5.1.50.0070.0309.93
5.1.40.0000.05310.08
5.1.30.0130.02710.43
5.1.20.0070.03310.43
5.1.10.0070.03010.08
5.1.00.0030.03710.14
5.0.50.0030.0278.54
5.0.40.0070.0238.50
5.0.30.0100.0338.20
5.0.20.0070.0238.43
5.0.10.0070.0238.26
5.0.00.0000.0438.40
4.4.90.0070.0175.93
4.4.80.0000.0235.93
4.4.70.0030.0205.93
4.4.60.0030.0205.93
4.4.50.0030.0205.93
4.4.40.0000.0435.93
4.4.30.0000.0235.93
4.4.20.0030.0205.96
4.4.10.0030.0205.93
4.4.00.0000.0375.93
4.3.110.0070.0175.93
4.3.100.0030.0205.93
4.3.90.0030.0205.93
4.3.80.0000.0335.93
4.3.70.0030.0175.93
4.3.60.0070.0175.93
4.3.50.0070.0275.93
4.3.40.0030.0375.93
4.3.30.0030.0205.93
4.3.20.0000.0235.93
4.3.10.0030.0205.93
4.3.00.0070.0176.75

preferences:
50.94 ms | 401 KiB | 5 Q