3v4l.org

run code in 300+ PHP versions simultaneously
<?php class B { } class D { public function m() { return new parent(); } } var_dump((new D)::m());

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.0150.00316.25
8.3.50.0080.00617.95
8.3.40.0040.01118.67
8.3.30.0060.00918.71
8.3.20.0040.00420.16
8.3.10.0030.00523.68
8.3.00.0040.00419.56
8.2.180.0120.00316.32
8.2.170.0110.00422.96
8.2.160.0130.00020.11
8.2.150.0000.00724.18
8.2.140.0070.00024.66
8.2.130.0040.00426.16
8.2.120.0100.00017.25
8.2.110.0000.00920.52
8.2.100.0110.00017.80
8.2.90.0040.00418.96
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0000.00817.80
8.2.50.0000.00918.07
8.2.40.0000.00820.85
8.2.30.0070.00020.48
8.2.20.0000.00717.48
8.2.10.0040.00417.99
8.2.00.0040.00417.79
8.1.270.0030.00623.98
8.1.260.0000.00826.35
8.1.250.0070.00028.09
8.1.240.0030.00623.95
8.1.230.0070.00419.31
8.1.220.0040.00417.74
8.1.210.0060.00318.77
8.1.200.0070.00317.23
8.1.190.0040.00417.10
8.1.180.0070.00018.10
8.1.170.0080.00020.42
8.1.160.0000.00821.94
8.1.150.0000.00718.72
8.1.140.0030.00521.17
8.1.130.0040.00417.52
8.1.120.0040.00417.32
8.1.110.0040.00417.30
8.1.100.0040.00417.23
8.1.90.0020.00517.33
8.1.80.0040.00417.33
8.1.70.0030.00317.27
8.1.60.0070.00017.30
8.1.50.0050.00317.32
8.1.40.0030.00517.38
8.1.30.0030.00517.50
8.1.20.0000.00717.56
8.1.10.0000.00817.34
8.1.00.0040.00417.28
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0030.00318.17
8.0.270.0000.00817.12
8.0.260.0000.00617.23
8.0.250.0000.00816.85
8.0.240.0000.00716.88
8.0.230.0000.00816.89
8.0.220.0000.00716.86
8.0.210.0000.00816.77
8.0.200.0060.00016.77
8.0.190.0030.00516.86
8.0.180.0070.00016.77
8.0.170.0050.00316.84
8.0.160.0030.00316.78
8.0.150.0070.00016.87
8.0.140.0040.00416.79
8.0.130.0030.00513.31
8.0.120.0000.00816.77
8.0.110.0000.00716.84
8.0.100.0000.00716.68
8.0.90.0090.00016.64
8.0.80.0040.01616.84
8.0.70.0050.00216.83
8.0.60.0000.00816.75
8.0.50.0040.00416.74
8.0.30.0110.00716.90
8.0.20.0070.01117.40
8.0.10.0030.00516.96
8.0.00.0090.00816.71
7.4.330.0030.00315.08
7.4.320.0030.00316.47
7.4.300.0000.00716.61
7.4.290.0030.00316.59
7.4.280.0040.00416.55
7.4.270.0030.00316.59
7.4.260.0030.00316.57
7.4.250.0040.00416.50
7.4.240.0000.00716.50
7.4.230.0070.00016.55
7.4.220.0100.01716.29
7.4.210.0110.00816.61
7.4.200.0070.00016.30
7.4.160.0100.00616.32
7.4.150.0100.01017.40
7.4.140.0070.01117.86
7.4.130.0120.01216.42
7.4.120.0080.01016.56
7.4.110.0060.01216.72
7.4.100.0090.01516.51
7.4.90.0140.00316.56
7.4.80.0140.00319.39
7.4.70.0100.00716.49
7.4.60.0030.01416.57
7.4.50.0000.00916.57
7.4.40.0100.00616.56
7.4.30.0120.01216.46
7.4.00.0000.01415.13
7.3.330.0000.00613.30
7.3.320.0030.00313.12
7.3.310.0030.00316.31
7.3.300.0000.00616.22
7.3.290.0070.00816.33
7.3.280.0070.01016.36
7.3.270.0150.00317.40
7.3.260.0060.00916.33
7.3.240.0110.01016.47
7.3.230.0060.01016.53
7.3.210.0090.01016.25
7.3.200.0110.00616.63
7.3.190.0080.00916.32
7.3.180.0100.00716.50
7.3.170.0080.00816.43
7.3.160.0080.00816.18
7.2.330.0070.01116.63
7.2.320.0170.00016.30
7.2.310.0120.00816.62
7.2.300.0090.00916.40
7.2.290.0090.00916.63
7.2.60.0060.01016.82
7.2.50.0060.01116.74
7.2.00.0060.00619.39
7.1.200.0000.01415.61
7.1.70.0030.00617.16
7.1.60.0090.00619.11
7.1.50.0040.01116.76
7.1.00.0070.07322.39
7.0.200.0090.00616.56
7.0.60.0070.07319.95
7.0.50.0070.06017.88
7.0.40.0030.04320.15
7.0.30.0230.05020.06
7.0.20.0270.07720.09
7.0.10.0200.07020.07
7.0.00.0170.07720.06
5.6.280.0000.03320.79
5.6.210.0070.06720.64
5.6.200.0070.07318.27
5.6.190.0170.04320.48
5.6.180.3830.04720.53
5.6.170.0270.08020.57
5.6.160.0200.07320.47
5.6.150.0070.03718.22
5.6.140.0070.05018.17
5.6.130.0070.08718.14
5.6.120.0000.04321.10
5.6.110.0130.07321.11
5.6.100.0070.08721.04
5.6.90.0030.04721.10
5.6.80.0230.06020.52
5.6.70.3200.03320.50
5.5.350.0200.08320.41
5.5.340.0070.07017.99
5.5.330.0070.06020.27
5.5.320.0370.05020.41
5.5.310.0200.04320.42
5.5.300.0030.05317.97
5.5.290.0000.06017.99
5.5.280.0070.05320.89
5.5.270.0130.05720.76
5.5.260.0070.08720.89
5.5.250.0070.07720.55
5.5.240.0030.03720.27
5.4.450.1170.07319.43
5.4.440.1130.06319.60
5.4.430.0600.05719.39
5.4.420.0800.06019.18
5.4.410.0900.05319.45
5.4.400.0930.06019.25
5.4.390.0800.05718.83
5.4.380.0870.04719.26
5.4.370.0800.05319.09
5.4.360.0730.06719.25
5.4.350.0530.06019.25
5.4.340.0800.04318.93
5.4.320.0770.06019.32
5.4.310.0830.05019.07
5.4.300.0870.04719.06
5.4.290.0700.06019.24
5.4.280.0830.05719.09
5.4.270.0870.04718.93
5.4.260.0870.05019.37
5.4.250.0770.05319.27
5.4.240.0700.06018.82
5.4.230.0870.07019.25
5.4.220.0730.05319.13
5.4.210.0630.06019.36
5.4.200.0600.05719.22
5.4.190.0570.06719.00
5.4.180.1070.06719.08
5.4.170.0800.05019.00
5.4.160.0870.04718.93
5.4.150.0730.05019.24
5.4.140.0670.05016.59
5.4.130.0800.05316.77
5.4.120.0830.04716.62
5.4.110.0670.04716.68
5.4.100.0530.05716.70
5.4.90.0800.05716.65
5.4.80.0900.06016.54
5.4.70.0900.04016.45
5.4.60.0770.05016.59
5.4.50.0900.05716.49
5.4.40.0630.05316.16
5.4.30.0670.06716.62
5.4.20.0700.05016.54
5.4.10.0600.06016.22
5.4.00.0570.06715.75

preferences:
73.72 ms | 400 KiB | 5 Q