3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function x($a) {} } class B extends A { function x($a, $b) {} }

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.00416.63
8.3.50.0180.00017.91
8.3.40.0120.00318.41
8.3.30.0130.00318.77
8.3.20.0040.00420.48
8.3.10.0030.00522.05
8.3.00.0040.00423.60
8.2.180.0180.00316.50
8.2.170.0100.01022.96
8.2.160.0140.00320.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00721.04
8.2.120.0080.00026.35
8.2.110.0060.00319.28
8.2.100.0030.00917.99
8.2.90.0040.00419.28
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0000.00917.80
8.2.50.0050.00318.10
8.2.40.0040.00420.61
8.2.30.0030.00520.83
8.2.20.0040.00417.77
8.2.10.0050.00217.93
8.2.00.0000.00818.03
8.1.280.0040.01125.92
8.1.270.0000.00723.99
8.1.260.0070.00326.35
8.1.250.0050.00328.09
8.1.240.0040.00422.75
8.1.230.0110.00020.29
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.13
8.1.190.0030.00617.10
8.1.180.0030.00618.10
8.1.170.0080.00018.44
8.1.160.0070.00018.79
8.1.150.0000.00821.78
8.1.140.0040.00419.45
8.1.130.0000.00718.99
8.1.120.0040.00417.30
8.1.110.0040.00417.32
8.1.100.0070.00017.25
8.1.90.0000.00717.23
8.1.80.0080.00017.23
8.1.70.0070.00017.32
8.1.60.0000.00917.33
8.1.50.0030.00517.30
8.1.40.0030.00617.40
8.1.30.0000.00717.50
8.1.20.0000.00717.51
8.1.10.0040.00417.39
8.1.00.0000.00817.20
8.0.300.0000.00719.03
8.0.290.0040.00416.63
8.0.280.0030.00318.29
8.0.270.0000.00717.00
8.0.260.0030.00318.37
8.0.250.0030.00316.78
8.0.240.0000.00816.90
8.0.230.0070.00316.84
8.0.220.0030.00316.68
8.0.210.0000.00716.73
8.0.200.0070.00016.81
8.0.190.0000.00716.80
8.0.180.0040.00416.78
8.0.170.0030.00516.87
8.0.160.0000.00716.85
8.0.150.0000.00816.86
8.0.140.0000.00716.84
8.0.130.0060.00013.24
8.0.120.0040.00416.79
8.0.110.0080.00016.84
8.0.100.0000.00716.63
8.0.90.0000.00716.84
8.0.80.0070.01116.77
8.0.70.0040.00416.93
8.0.60.0070.00016.65
8.0.50.0040.00416.69
8.0.30.0060.01116.83
8.0.20.0090.00917.40
8.0.10.0040.00416.79
8.0.00.0120.00916.59
7.4.330.0030.00315.55
7.4.320.0030.00316.40
7.4.300.0070.00016.46
7.4.290.0000.01016.41
7.4.280.0080.00016.50
7.4.270.0050.00516.45
7.4.260.0000.00716.35
7.4.250.0030.00316.44
7.4.240.0040.00416.51
7.4.230.0070.00016.46
7.4.220.0050.01216.48
7.4.210.0000.01416.50
7.4.200.0030.00316.57
7.4.160.0090.00616.17
7.4.150.0100.00717.40
7.4.140.0090.01017.86
7.4.130.0090.00916.33
7.4.120.0090.00716.27
7.4.110.0090.00616.44
7.4.100.0040.01216.21
7.4.90.0090.01516.49
7.4.80.0160.00619.39
7.4.70.0120.00616.47
7.4.60.0090.00616.33
7.4.50.0100.00616.19
7.4.40.0060.01016.52
7.4.30.0000.01616.41
7.4.00.0080.00914.92
7.3.330.0060.00013.19
7.3.320.0030.00313.02
7.3.310.0040.00416.33
7.3.300.0000.00716.23
7.3.290.0070.00916.19
7.3.280.0060.01116.21
7.3.270.0090.00917.40
7.3.260.0110.00716.19
7.3.250.0100.00616.32
7.3.240.0110.00816.28
7.3.230.0070.01316.43
7.3.210.0070.00916.12
7.3.200.0170.00016.35
7.3.190.0130.00316.14
7.3.180.0060.01616.34
7.3.170.0080.00816.24
7.3.160.0080.00816.18
7.3.120.0070.00914.81
7.3.110.0100.00914.83
7.3.100.0060.01114.56
7.3.90.0030.00914.50
7.3.80.0060.01014.76
7.3.70.0070.00614.51
7.3.60.0050.01014.64
7.3.50.0090.00414.62
7.3.40.0050.00714.48
7.3.30.0030.00714.74
7.3.20.0050.00916.56
7.3.10.0080.00716.57
7.3.00.0020.00916.41
7.2.330.0140.00316.19
7.2.320.0000.01716.44
7.2.310.0110.00716.31
7.2.300.0190.00316.57
7.2.290.0120.00616.43
7.2.250.0080.01214.68
7.2.240.0090.00814.97
7.2.230.0070.01014.75
7.2.220.0050.00914.91
7.2.210.0090.00714.68
7.2.200.0050.00914.63
7.2.190.0060.00614.76
7.2.180.0030.01014.82
7.2.170.0020.00914.70
7.2.160.0040.00814.94
7.2.150.0130.00316.42
7.2.140.0060.00316.66
7.2.130.0060.00916.81
7.2.120.0100.00716.73
7.2.110.0100.00316.28
7.2.100.0060.01216.33
7.2.90.0100.00716.54
7.2.80.0060.00916.80
7.2.70.0090.00616.74
7.2.60.0030.01216.58
7.2.50.0000.01216.90
7.2.40.0040.00816.62
7.2.30.0030.01216.76
7.2.20.0030.00916.74
7.2.10.0060.00616.36
7.2.00.0090.00316.59
7.1.330.0050.01115.51
7.1.320.0070.00715.55
7.1.310.0030.01115.64
7.1.300.0030.01015.64
7.1.290.0060.00715.61
7.1.280.0030.01015.56
7.1.270.0060.00715.52
7.1.260.0060.00615.48
7.1.250.0060.01015.58
7.1.240.0030.01415.50
7.1.230.0000.01515.68
7.1.220.0070.00715.46
7.1.210.0080.00415.36
7.1.200.0110.00315.52
7.1.190.0040.00415.72
7.1.180.0000.01215.52
7.1.170.0030.01015.61
7.1.160.0030.01015.57
7.1.150.0000.01315.72
7.1.140.0030.01015.61
7.1.130.0000.01415.44
7.1.120.0040.00815.63
7.1.110.0000.01315.71
7.1.100.0500.00716.01
7.1.90.0470.00815.86
7.1.80.0550.00815.81
7.1.70.0450.01015.24
7.1.60.0490.00724.52
7.1.50.0520.00624.12
7.1.40.0500.01124.10
7.1.30.0350.01224.11
7.1.20.0380.00724.07
7.1.10.0290.00815.07
7.1.00.0310.00915.14
7.0.330.0080.00515.20
7.0.320.0000.01515.11
7.0.310.0030.00615.09
7.0.300.0090.00615.28
7.0.290.0100.00715.45
7.0.280.0070.00715.25
7.0.270.0000.01315.28
7.0.260.0060.00615.43
7.0.250.0030.00914.97
7.0.240.0500.00515.28
7.0.230.0420.00815.60
7.0.220.0510.00515.70
7.0.210.0460.00515.04
7.0.200.0380.00815.03
7.0.190.0560.00715.04
7.0.180.0500.00314.78
7.0.170.0360.00814.55
7.0.160.0300.01014.77
7.0.150.0270.00814.81
7.0.140.0490.00514.84
7.0.130.0380.01014.74
7.0.120.0350.00514.80
7.0.110.0330.00514.88
7.0.100.0260.01214.73
7.0.90.0310.01014.85
7.0.80.0290.01014.76
7.0.70.0570.00814.74
7.0.60.0340.00614.55
7.0.50.0300.01214.94
7.0.40.0100.00513.75
7.0.30.0050.00914.07
7.0.20.0090.00614.02
7.0.10.0080.00914.00
7.0.00.0170.00514.09
5.6.400.0000.01114.41
5.6.390.0110.00714.36
5.6.380.0120.00314.29
5.6.370.0040.01114.03
5.6.360.0090.00614.24
5.6.350.0030.01014.13
5.6.340.0090.00614.04
5.6.330.0070.00713.96
5.6.320.0000.00914.13
5.6.310.0130.00014.30
5.6.300.0080.00314.09
5.6.290.0100.00714.05
5.6.280.0070.01014.25
5.6.270.0000.01014.15
5.6.260.0030.00914.28
5.6.250.0000.01414.22
5.6.240.0060.00614.22
5.6.230.0060.00813.91
5.6.220.0030.00814.06
5.6.210.0070.00714.31
5.6.200.0070.01114.32
5.6.190.0090.00613.77
5.6.180.0070.00713.94
5.6.170.0070.00713.99
5.6.160.0040.00713.82
5.6.150.0060.00614.08
5.6.140.0030.00914.18
5.6.130.0000.01314.21
5.6.120.0060.00614.11
5.6.110.0110.00013.96
5.6.100.0060.00613.93
5.6.90.0030.00613.93
5.6.80.0060.00614.25
5.6.70.0030.01014.31
5.6.60.0090.00313.95
5.6.50.0000.01213.88
5.6.40.0080.00514.27
5.6.30.0090.00613.89
5.6.20.0040.00813.81
5.6.10.0030.01314.07
5.6.00.0060.00314.09

preferences:
57.72 ms | 401 KiB | 5 Q