3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Second extends Third{} class First extends Second{} class Fourth {} class Third{}

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.70.0110.00418.31
8.3.60.0100.01016.48
8.3.50.0100.01222.05
8.3.40.0170.00018.78
8.3.30.0070.00718.88
8.3.20.0040.00420.20
8.3.10.0080.00021.77
8.3.00.0040.00420.65
8.2.180.0130.00916.38
8.2.170.0070.00722.96
8.2.160.0100.00322.11
8.2.150.0000.00924.18
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0080.00019.66
8.2.110.0040.00420.52
8.2.100.0040.00718.03
8.2.90.0030.00619.05
8.2.80.0040.00417.97
8.2.70.0040.00417.38
8.2.60.0030.00717.93
8.2.50.0030.00718.07
8.2.40.0000.00718.22
8.2.30.0080.00018.04
8.2.20.0030.00617.72
8.2.10.0040.00418.04
8.2.00.0040.00417.74
8.1.280.0120.00925.92
8.1.270.0080.00020.60
8.1.260.0040.00426.35
8.1.250.0000.00728.09
8.1.240.0060.00323.84
8.1.230.0030.00919.20
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0030.00617.13
8.1.190.0030.00617.23
8.1.180.0000.00718.10
8.1.170.0050.00318.64
8.1.160.0050.00221.91
8.1.150.0060.00318.81
8.1.140.0000.00717.37
8.1.130.0000.01017.73
8.1.120.0040.00417.43
8.1.110.0070.00017.42
8.1.100.0030.00517.39
8.1.90.0080.00317.28
8.1.80.0110.00117.32
8.1.70.0070.00517.29
8.1.60.0070.00617.45
8.1.50.0090.00417.45
8.1.40.0110.00317.42
8.1.30.0090.00417.52
8.1.20.0060.00617.53
8.1.10.0120.00317.28
8.1.00.0050.00817.33
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0000.00718.30
8.0.270.0070.00016.72
8.0.260.0030.00317.14
8.0.250.0000.00916.84
8.0.240.0000.00916.75
8.0.230.0060.00416.71
8.0.220.0070.00616.74
8.0.210.0060.00516.81
8.0.200.0100.00316.72
8.0.190.0080.00316.77
8.0.180.0080.00416.80
8.0.170.0060.00716.78
8.0.160.0100.00116.77
8.0.150.0090.00316.75
8.0.140.0070.00616.70
8.0.130.0060.00614.97
8.0.120.0060.00616.74
8.0.110.0080.00416.70
8.0.100.0050.00716.68
8.0.90.0070.00416.63
8.0.80.0120.00416.70
8.0.70.0120.00016.76
8.0.60.0050.00616.74
8.0.50.0090.00316.72
8.0.30.0110.00916.86
8.0.20.0080.01217.06
8.0.10.0120.00716.95
8.0.00.0080.01216.78
7.4.330.0020.00215.03
7.4.320.0060.00016.44
7.4.300.0110.00116.37
7.4.290.0070.00516.47
7.4.280.0080.00416.34
7.4.270.0090.00416.37
7.4.260.0040.00816.44
7.4.250.0040.00816.35
7.4.240.0060.00416.33
7.4.230.0040.00616.57
7.4.220.0070.00916.32
7.4.210.0110.00816.47
7.4.200.0100.00216.33
7.4.190.0120.00316.49
7.4.180.0090.00616.49
7.4.160.0080.00716.41
7.4.150.0080.01016.68
7.4.140.0090.01016.97
7.4.130.0130.00516.32
7.4.120.0120.00616.41
7.4.110.0080.01416.45
7.4.100.0130.00816.40
7.4.90.0080.00716.30
7.4.80.0090.00816.22
7.4.70.0120.00316.33
7.4.60.0110.00716.28
7.4.50.0080.00816.28
7.4.40.0100.00716.38
7.4.30.0050.01116.26
7.4.20.0090.00716.31
7.4.10.0090.00616.27
7.4.00.0070.01016.03
7.3.330.0090.00214.70
7.3.320.0100.00414.54
7.3.310.0070.00616.21
7.3.300.0030.00816.19
7.3.290.0070.00316.13
7.3.280.0070.01116.20
7.3.270.0080.01016.47
7.3.260.0090.00916.26
7.3.250.0050.01216.26
7.3.240.0120.00516.26
7.3.230.0110.00716.26
7.3.220.0080.00916.07
7.3.210.0080.00716.15
7.3.200.0110.00816.18
7.3.190.0070.00916.21
7.3.180.0100.00716.18
7.3.170.0110.00616.20
7.3.160.0070.01016.16
7.3.150.0090.00716.27
7.3.140.0090.00816.21
7.3.130.0090.00716.22
7.3.120.0060.01116.13
7.3.110.0090.00616.16
7.3.100.0100.00716.15
7.3.90.0090.00716.40
7.3.80.0120.00616.22
7.3.70.0130.00416.21
7.3.60.0080.00816.30
7.3.50.0100.00816.27
7.3.40.0100.00616.26
7.3.30.0120.00615.96
7.3.20.0310.00916.76
7.3.10.0350.00716.67
7.3.00.0310.00716.67
7.2.340.0180.01016.21
7.2.330.0100.00816.25
7.2.320.0110.01316.29
7.2.310.0110.00916.30
7.2.300.0090.01116.29
7.2.290.0110.00816.24
7.2.280.0130.00916.25
7.2.270.0100.01216.26
7.2.260.0110.01016.32
7.2.250.0110.01016.24
7.2.240.0090.01016.34
7.2.230.0120.00916.24
7.2.220.0150.00516.25
7.2.210.0120.00716.26
7.2.200.0130.00916.28
7.2.190.0140.00916.34
7.2.180.0120.01216.30
7.2.170.0170.00616.33
7.2.160.0120.00916.10
7.2.150.0380.01016.81
7.2.140.0340.00916.89
7.2.130.0370.01316.90
7.2.120.0360.00816.95
7.2.110.0310.00716.79
7.2.100.0350.00516.92
7.2.90.0320.01016.51
7.2.80.0300.00816.77
7.2.70.0390.00716.83
7.2.60.0280.01017.03
7.2.50.0290.00916.93
7.2.40.0490.00516.93
7.2.30.0380.00617.26
7.2.20.0340.00617.24
7.2.10.0270.00917.21
7.2.00.0360.00817.64
7.1.330.0210.00816.39
7.1.320.0170.00716.29
7.1.310.0130.00916.40
7.1.300.0190.00516.42
7.1.290.0290.00716.35
7.1.280.0140.01016.35
7.1.270.0480.00515.82
7.1.260.0420.00815.88
7.1.250.0430.00615.82
7.1.240.0340.00715.75
7.1.230.0330.01015.84
7.1.220.0350.00815.81
7.1.210.0350.00815.43
7.1.200.0310.00615.73
7.1.190.0330.00916.13
7.1.180.0330.00716.15
7.1.170.0530.00815.80
7.1.160.0360.00715.75
7.1.150.0370.00816.12
7.1.140.0340.00816.18
7.1.130.0310.00916.16
7.1.120.0320.00816.06
7.1.110.0330.00816.18
7.1.100.0320.00916.43
7.1.90.0280.00516.18
7.1.80.0360.00616.13
7.1.70.0280.00716.23
7.1.60.0260.01216.71
7.1.50.0210.01016.01
7.1.40.0280.00815.74
7.1.30.0260.00816.16
7.1.20.0210.01316.14
7.1.10.0280.00716.10
7.1.00.0200.01817.19
7.0.330.0600.00715.42
7.0.320.0340.00815.38
7.0.310.0390.00715.47
7.0.300.0370.00715.35
7.0.290.0410.00615.81
7.0.280.0330.00815.80
7.0.270.0310.00715.85
7.0.260.0360.00815.75
7.0.250.0320.00715.97
7.0.240.0380.00615.89
7.0.230.0300.00915.93
7.0.220.0330.00915.91
7.0.210.0320.00615.87
7.0.200.0290.00815.34
7.0.190.0280.00715.52
7.0.180.0270.01115.55
7.0.170.1090.00915.93
7.0.160.0250.00815.85
7.0.150.0290.00915.92
7.0.140.0220.01816.87
7.0.130.0270.00715.93
7.0.120.0280.00815.90
7.0.110.0260.00715.77
7.0.100.0330.00715.46
7.0.90.0250.00915.36
7.0.80.0250.00915.36
7.0.70.0300.00515.35
7.0.60.0230.02016.17
7.0.50.0200.01215.89
7.0.40.0230.01316.28
7.0.30.0280.01216.29
7.0.20.0230.02316.21
7.0.10.0190.01916.28
7.0.00.0250.01816.23
5.6.400.0140.00815.41
5.6.390.0220.00615.34
5.6.380.0190.00815.38
5.6.370.0180.00915.44
5.6.360.0170.00915.48
5.6.350.0210.00815.43
5.6.340.0180.01015.46
5.6.330.0170.00915.40
5.6.320.0180.00915.31
5.6.310.0170.00815.37
5.6.300.0150.01115.36
5.6.290.0160.01015.47
5.6.280.0180.01616.32
5.6.270.0180.00815.42
5.6.260.0190.00815.46
5.6.250.0200.00615.38
5.6.240.0160.01115.43
5.6.230.0180.00815.44
5.6.220.0220.00615.46
5.6.210.0170.02116.39
5.6.200.0120.01715.93
5.6.190.0160.01416.40
5.6.180.0730.01416.23
5.6.170.0160.01616.28
5.6.160.0130.01816.30
5.6.150.0150.02015.95
5.6.140.0140.01515.99
5.6.130.0190.01815.89
5.6.120.0180.01316.33
5.6.110.0160.01716.37
5.6.100.0150.02016.32
5.6.90.0180.02016.38
5.6.80.0170.01716.21
5.6.70.0870.01316.30
5.6.60.0150.01015.44
5.6.50.0130.01215.30
5.6.40.0160.00715.43
5.6.30.0170.00815.32
5.6.20.0170.00715.42
5.6.10.0140.00915.33
5.6.00.0180.00915.33
5.5.380.0170.01115.45
5.5.370.0150.01115.35
5.5.360.0170.00915.31
5.5.350.0200.02216.16
5.5.340.0150.01515.74
5.5.330.0160.01316.14
5.5.320.0180.01616.19
5.5.310.0160.02316.16
5.5.300.0140.02015.82
5.5.290.0110.01915.78
5.5.280.0180.01816.11
5.5.270.0120.01816.15
5.5.260.0170.02116.22
5.5.250.0150.02216.20
5.5.240.0170.02116.13
5.5.230.0140.01115.28
5.5.220.0190.00515.39
5.5.210.0150.00915.30
5.5.200.0170.00815.28
5.5.190.0160.00915.25
5.5.180.0180.00615.19
5.5.170.0190.00715.24
5.5.160.0140.01015.19
5.5.150.0130.01115.11
5.5.140.0210.00515.16
5.5.130.0170.00815.13
5.5.120.0180.00615.16
5.5.110.0160.01115.19
5.5.100.0150.01115.29
5.5.90.0170.01015.26
5.5.80.0180.00815.47
5.5.70.0190.00915.32
5.5.60.0170.00715.26
5.5.50.0180.00715.28
5.5.40.0190.00815.25
5.5.30.0180.00815.30
5.5.20.0170.01115.43
5.5.10.0190.00815.23
5.5.00.0150.01215.18
5.4.450.0250.01513.86
5.4.440.0210.01813.84
5.4.430.0230.01713.75
5.4.420.0280.01613.90
5.4.410.0140.01313.82
5.4.400.0280.01413.69
5.4.390.0150.01313.74
5.4.380.0220.01313.59
5.4.370.0160.01713.68
5.4.360.0130.01513.60
5.4.350.0160.01413.65
5.4.340.0150.01713.64
5.4.330.0110.01012.58
5.4.320.0150.01413.70
5.4.310.0160.01513.73
5.4.300.0140.01613.67
5.4.290.0170.01313.66
5.4.280.0160.01613.64
5.4.270.0140.01513.65
5.4.260.0160.01413.61
5.4.250.0130.01713.61
5.4.240.0140.01613.63
5.4.230.0150.01513.43
5.4.220.0180.01413.50
5.4.210.0130.01713.51
5.4.200.0170.01213.16
5.4.190.0150.01313.59
5.4.180.0160.01513.55
5.4.170.0170.01413.58
5.4.160.0180.01113.50
5.4.150.0160.01513.41
5.4.140.0130.01813.27
5.4.130.0140.01513.26
5.4.120.0160.01713.31
5.4.110.0130.01713.25
5.4.100.0140.01713.24
5.4.90.0180.01513.25
5.4.80.0130.01413.26
5.4.70.0160.01413.26
5.4.60.0160.01613.30
5.4.50.0160.01513.28
5.4.40.0170.01613.23
5.4.30.0200.01413.23
5.4.20.0190.01713.23
5.4.10.0150.01613.26
5.4.00.0160.01613.06

preferences:
46.22 ms | 401 KiB | 5 Q