3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ function method($a){ } } class Bar extends Foo{ function method(){ } }

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.4.10.0030.00617.61
8.3.140.0080.00017.22
8.3.130.0030.00618.42
8.3.120.0060.00318.83
8.3.110.0000.00820.94
8.3.100.0080.00024.06
8.3.90.0160.00326.77
8.3.80.0030.00618.15
8.3.70.0070.00718.27
8.3.60.0100.01318.43
8.3.50.0300.00821.14
8.3.40.0110.00418.54
8.3.30.0030.01018.42
8.3.20.0040.00420.16
8.3.10.0090.00021.64
8.3.00.0030.00519.26
8.2.260.0050.00316.43
8.2.250.0170.00316.67
8.2.240.0030.00618.98
8.2.230.0050.00522.58
8.2.220.0070.00737.54
8.2.210.0030.00626.77
8.2.200.0000.01018.29
8.2.190.0070.00716.58
8.2.180.0100.00318.04
8.2.170.0100.00722.96
8.2.160.0100.00719.16
8.2.150.0030.00524.18
8.2.140.0050.00324.66
8.2.130.0050.00326.16
8.2.120.0000.00719.64
8.2.110.0030.00620.89
8.2.100.0060.00617.72
8.2.90.0070.00018.16
8.2.80.0030.00617.97
8.2.70.0080.00017.38
8.2.60.0070.00017.80
8.2.50.0000.00918.10
8.2.40.0000.00920.42
8.2.30.0020.00519.08
8.2.20.0040.00417.80
8.2.10.0070.00017.93
8.2.00.0000.00717.98
8.1.300.0040.00418.38
8.1.290.0060.00330.84
8.1.280.0160.00325.92
8.1.270.0080.00023.76
8.1.260.0060.01326.35
8.1.250.0090.00028.09
8.1.240.0030.01323.92
8.1.230.0040.00720.95
8.1.220.0040.00417.74
8.1.210.0000.00820.05
8.1.200.0030.00617.10
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0040.00418.63
8.1.160.0080.00018.70
8.1.150.0000.00720.07
8.1.140.0040.00419.32
8.1.130.0030.00318.95
8.1.120.0000.00717.38
8.1.110.0000.00817.36
8.1.100.0060.00317.34
8.1.90.0050.00217.31
8.1.80.0060.00317.24
8.1.70.0000.00717.29
8.1.60.0000.00817.34
8.1.50.0000.00717.36
8.1.40.0040.00417.41
8.1.30.0000.00717.49
8.1.20.0000.00717.48
8.1.10.0000.00717.29
8.1.00.0040.00417.30
8.0.300.0070.00020.21
8.0.290.0100.00016.63
8.0.280.0040.00418.31
8.0.270.0080.00016.80
8.0.260.0030.00318.94
8.0.250.0040.00416.90
8.0.240.0070.00016.75
8.0.230.0040.00416.84
8.0.220.0030.00316.82
8.0.210.0000.00616.90
8.0.200.0060.00016.86
8.0.190.0050.00316.76
8.0.180.0040.00416.76
8.0.170.0030.00516.84
8.0.160.0040.00416.81
8.0.150.0040.00416.73
8.0.140.0000.00716.81
8.0.130.0000.00613.23
8.0.120.0040.00416.65
8.0.110.0080.00016.82
8.0.100.0000.00716.80
8.0.90.0000.00816.73
8.0.80.0090.01216.76
8.0.70.0000.00716.85
8.0.60.0000.00816.74
8.0.50.0040.00416.67
8.0.30.0070.01016.89
8.0.20.0150.01217.40
8.0.10.0040.00416.95
8.0.00.0080.01216.77
7.4.330.0000.00615.55
7.4.320.0000.00616.43
7.4.300.0060.00016.52
7.4.290.0000.00716.47
7.4.280.0040.00416.48
7.4.270.0000.00716.41
7.4.260.0000.00816.46
7.4.250.0040.00416.43
7.4.240.0050.00216.23
7.4.230.0070.00016.47
7.4.220.0100.01316.26
7.4.210.0050.01116.51
7.4.200.0070.00016.45
7.4.160.0060.01616.43
7.4.150.0090.00917.40
7.4.140.0120.01017.86
7.4.130.0150.00916.30
7.4.120.0100.01116.43
7.4.110.0090.00916.66
7.4.100.0100.00716.36
7.4.90.0100.00616.39
7.4.80.0100.01019.39
7.4.70.0130.00716.54
7.4.60.0080.00816.41
7.4.50.0000.01416.31
7.4.40.0190.00416.47
7.4.30.0100.00716.38
7.4.00.0090.01014.72
7.3.330.0000.00513.30
7.3.320.0050.00013.12
7.3.310.0040.00416.33
7.3.300.0030.00316.20
7.3.290.0030.00316.26
7.3.280.0090.00816.23
7.3.270.0070.01017.40
7.3.260.0120.00616.31
7.3.240.0070.01116.43
7.3.230.0100.00716.43
7.3.210.0090.01216.38
7.3.200.0110.00616.38
7.3.190.0150.00616.25
7.3.180.0100.01016.47
7.3.170.0060.01016.36
7.3.160.0090.00816.29
7.3.120.0180.00014.42
7.3.110.0040.01114.52
7.3.100.0110.00414.88
7.3.90.0000.01314.75
7.3.80.0120.00314.98
7.3.70.0110.00314.65
7.3.60.0030.01214.77
7.3.50.0040.01114.74
7.3.40.0000.01614.80
7.3.30.0030.01014.42
7.3.20.0090.00016.65
7.3.10.0070.00716.51
7.3.00.0050.00516.47
7.2.330.0150.00416.43
7.2.320.0110.01516.54
7.2.310.0100.00716.57
7.2.300.0110.01116.54
7.2.290.0080.00916.09
7.2.250.0170.00314.80
7.2.240.0100.01014.80
7.2.230.0030.01014.73
7.2.220.0100.00314.75
7.2.210.0160.00014.80
7.2.200.0060.00314.78
7.2.190.0060.01014.98
7.2.180.0070.00714.92
7.2.170.0040.00814.70
7.2.130.0080.00716.71
7.2.120.0070.00516.61
7.2.110.0040.00716.58
7.2.100.0060.00616.73
7.2.90.0030.00616.71
7.2.80.0030.01016.63
7.2.70.0000.01316.70
7.2.60.0040.00916.60
7.2.50.0070.00516.64
7.2.40.0030.01116.69
7.2.30.0020.01416.69
7.2.20.0040.00616.61
7.2.10.0050.00816.55
7.2.00.0020.01117.48
7.1.330.0100.00315.72
7.1.320.0000.00915.80
7.1.310.0040.00415.54
7.1.300.0110.00415.61
7.1.290.0100.00315.54
7.1.280.0040.00715.44
7.1.270.0000.01515.57
7.1.260.0070.00715.68
7.1.250.0030.00515.44
7.1.240.0030.00715.75
7.1.230.0040.00815.50
7.1.220.0060.00615.64
7.1.210.0030.01015.23
7.1.200.0050.00715.52
7.1.190.0040.01115.71
7.1.180.0080.00415.66
7.1.170.0040.00415.73
7.1.160.0040.00715.53
7.1.150.0070.00315.53
7.1.140.0060.00315.44
7.1.130.0030.00315.46
7.1.120.0030.00615.48
7.1.110.0100.00015.57
7.1.100.0030.00715.58
7.1.90.0030.00715.50
7.1.80.0000.01215.54
7.1.70.0030.00716.20
7.1.60.0020.01016.16
7.1.50.0020.01516.16
7.1.40.0070.01224.77
7.1.30.0170.01125.03
7.1.20.0120.00725.06
7.1.10.0020.01215.94
7.1.00.0070.00716.02
7.0.330.0030.00915.30
7.0.320.0100.00015.12
7.0.310.0000.00914.86
7.0.300.0040.01114.95
7.0.290.0000.01215.42
7.0.280.0000.01015.09
7.0.270.0060.00614.75
7.0.260.0060.00615.00
7.0.250.0080.00415.51
7.0.240.0030.00715.11
7.0.230.0070.00715.07
7.0.220.0000.01015.27
7.0.210.0070.00715.41
7.0.200.0060.00515.95
7.0.190.0070.00315.21
7.0.180.0020.01115.52
7.0.170.0060.00315.45
7.0.160.0040.00915.68
7.0.150.0070.00715.50
7.0.140.0070.00815.59
7.0.130.0070.00715.73
7.0.120.0070.00715.91
7.0.110.0000.01015.69
7.0.100.0030.00815.57
7.0.90.0050.00815.63
7.0.80.0060.00715.66
7.0.70.0030.00815.45
7.0.60.0060.00515.44
7.0.50.0020.00715.56
7.0.40.0050.00814.59
7.0.30.0020.00714.91
7.0.20.0050.00514.48
7.0.10.0030.00814.43
7.0.00.0030.00814.66
5.6.380.0040.00414.27

preferences:
53.1 ms | 403 KiB | 5 Q