3v4l.org

run code in 300+ PHP versions simultaneously
<?php class X { function __construct(){} } class Y extends X { function __construct($arg){} }

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.0110.01118.18
8.3.50.0130.00821.92
8.3.40.0110.00318.42
8.3.30.0070.00718.33
8.3.20.0000.00920.16
8.3.10.0050.00318.43
8.3.00.0080.00020.65
8.2.180.0110.00416.63
8.2.170.0030.01022.96
8.2.160.0100.00319.08
8.2.150.0040.00424.18
8.2.140.0000.00724.66
8.2.130.0080.00019.23
8.2.120.0000.00726.35
8.2.110.0000.00922.29
8.2.100.0090.00317.78
8.2.90.0080.00017.63
8.2.80.0000.00818.66
8.2.70.0050.00317.91
8.2.60.0050.00317.50
8.2.50.0000.00917.40
8.2.40.0040.00417.62
8.2.30.0030.00517.63
8.2.20.0040.00417.54
8.2.10.0000.00717.84
8.2.00.0040.00417.86
8.1.280.0070.01425.92
8.1.270.0040.00424.02
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0090.00020.19
8.1.230.0000.01117.64
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0040.00417.22
8.1.190.0040.00716.75
8.1.180.0000.00918.10
8.1.170.0080.00017.62
8.1.160.0000.00818.80
8.1.150.0030.00318.70
8.1.140.0040.00419.45
8.1.130.0000.00717.57
8.1.120.0070.00017.24
8.1.110.0030.00317.41
8.1.100.0000.00717.27
8.1.90.0040.00417.36
8.1.80.0000.00817.34
8.1.70.0030.00317.21
8.1.60.0080.00017.31
8.1.50.0030.00617.38
8.1.40.0060.00317.36
8.1.30.0030.00617.45
8.1.20.0000.00817.45
8.1.10.0040.00417.34
8.1.00.0000.00817.27
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0030.00317.78
8.0.270.0060.00317.75
8.0.260.0030.00317.16
8.0.250.0000.00716.80
8.0.240.0050.00316.71
8.0.230.0000.00716.71
8.0.220.0070.00016.79
8.0.210.0000.00716.82
8.0.200.0030.00316.70
8.0.190.0050.00216.83
8.0.180.0060.00216.67
8.0.170.0000.00716.68
8.0.160.0000.00716.74
8.0.150.0040.00416.61
8.0.140.0000.00716.75
8.0.130.0030.00313.23
8.0.120.0080.00016.63
8.0.110.0050.00216.63
8.0.100.0040.00416.60
8.0.90.0070.00016.66
8.0.80.0100.00716.82
8.0.70.0080.00016.61
8.0.60.0040.00416.82
8.0.50.0030.00516.79
8.0.30.0090.00916.97
8.0.20.0090.01017.40
8.0.10.0040.00416.94
8.0.00.0100.01016.52
7.4.330.0050.00015.08
7.4.320.0030.00316.47
7.4.300.0060.00016.46
7.4.290.0000.00816.27
7.4.280.0030.00616.38
7.4.270.0000.00716.33
7.4.260.0030.00316.33
7.4.250.0040.00416.32
7.4.240.0030.00316.48
7.4.230.0030.00316.37
7.4.220.0090.00916.54
7.4.210.0140.00516.43
7.4.200.0070.00016.54
7.4.160.0060.00916.65
7.4.150.0080.01117.40
7.4.140.0120.00717.86
7.4.130.0110.00816.19
7.4.120.0080.00916.34
7.4.110.0110.00816.23
7.4.100.0180.00316.50
7.4.90.0030.01616.39
7.4.80.0190.00419.39
7.4.70.0100.01016.47
7.4.60.0090.00616.38
7.4.50.0060.00916.39
7.4.40.0030.01316.38
7.4.30.0080.00716.43
7.4.00.0070.01014.63
7.3.330.0050.00012.95
7.3.320.0000.00512.96
7.3.310.0030.00316.13
7.3.300.0000.00616.03
7.3.290.0070.00016.19
7.3.280.0090.00816.13
7.3.270.0110.00817.40
7.3.260.0160.00616.15
7.3.250.0040.01716.32
7.3.240.0120.00716.31
7.3.230.0100.00716.39
7.3.210.0100.00716.05
7.3.200.0120.00916.36
7.3.190.0000.02116.45
7.3.180.0150.00616.28
7.3.170.0060.01616.36
7.3.160.0030.01316.36
7.2.330.0090.00916.40
7.2.320.0030.01316.19
7.2.310.0120.00616.50
7.2.300.0110.00616.32
7.2.290.0070.01016.30
7.2.80.0140.00316.51
7.2.60.0100.00316.50
7.2.00.0100.00319.30
7.1.200.0090.00015.51
7.1.100.0030.00617.96
7.1.70.0000.00816.95
7.1.60.0040.01119.48
7.1.00.0030.07722.28
7.0.200.0030.00816.81
7.0.60.0170.04020.00
7.0.50.0030.04017.86
7.0.40.0370.06720.42
7.0.30.0230.05719.99
7.0.20.0400.04320.26
7.0.10.0230.06719.98
7.0.00.0300.05320.07
5.6.280.0000.07720.86
5.6.210.0100.07720.47
5.6.200.0030.06018.19
5.6.190.0030.07020.39
5.6.180.0370.08020.83
5.6.170.0300.04720.79
5.6.160.0230.06020.38
5.6.150.0270.07020.36
5.6.140.0270.05320.42
5.6.130.0130.07020.41
5.6.120.0130.06320.46
5.6.110.0130.05720.25
5.6.100.0470.05720.48
5.6.90.0570.06020.34
5.6.80.0130.07019.56
5.6.70.0530.05319.83
5.6.60.0570.05019.55
5.6.50.0700.04019.55
5.6.40.0570.05719.93
5.6.30.0200.06019.72
5.6.20.0200.05319.72
5.6.10.0130.06319.70
5.6.00.0200.05719.54
5.5.350.0030.07320.34
5.5.340.0070.05018.01
5.5.330.0130.06020.46
5.5.320.0230.07320.19
5.5.310.0130.06320.19
5.5.300.0200.06320.25
5.5.290.0230.05320.16
5.5.280.0130.05720.21
5.5.270.0200.04720.37
5.5.260.0500.05719.98
5.5.250.0570.05019.88
5.5.240.0470.05719.72
5.5.230.0530.04719.54
5.5.220.0400.06319.72
5.5.210.0530.04719.58
5.5.200.0530.06019.73
5.5.190.0500.06019.70
5.5.180.0270.05319.51
5.5.160.0230.04719.50
5.5.150.0170.05319.31
5.5.140.0170.05319.32
5.5.130.0230.04319.37
5.5.120.0100.06019.30
5.5.110.0130.06019.50
5.5.100.0370.04019.50
5.5.90.0230.06019.48
5.5.80.0170.06319.59
5.5.70.0200.06019.44
5.5.60.0230.05719.61
5.5.50.0330.04719.46
5.5.40.0200.05719.41
5.5.30.0230.05319.40
5.5.20.0200.04719.66
5.5.10.0170.05319.31
5.5.00.0100.06319.52

preferences:
33.23 ms | 404 KiB | 6 Q