3v4l.org

run code in 300+ PHP versions simultaneously
<?php class ParentClass { public static function xx($x) { echo 'a'; } } class ChildClass extends ParentClass { public static function xx($x, $y) { echo 'a'; } } new ChildClass(5,6);

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.0060.00916.75
8.3.50.0130.00521.84
8.3.40.0100.01018.67
8.3.30.0080.00818.63
8.3.20.0070.01020.15
8.3.10.0030.00623.48
8.3.00.0070.00019.66
8.2.180.0060.01518.13
8.2.170.0070.00722.96
8.2.160.0080.00820.39
8.2.150.0070.00024.18
8.2.140.0080.00024.66
8.2.130.0040.00420.95
8.2.120.0080.00026.35
8.2.110.0060.00320.38
8.2.100.0000.01117.90
8.2.90.0030.00519.09
8.2.80.0040.00417.97
8.2.70.0000.00917.38
8.2.60.0080.00017.68
8.2.50.0000.00818.07
8.2.40.0000.00821.09
8.2.30.0050.00320.62
8.2.20.0040.00417.59
8.2.10.0000.00717.82
8.2.00.0040.00418.02
8.1.280.0120.00925.92
8.1.270.0060.00318.74
8.1.260.0000.00728.09
8.1.250.0080.00028.09
8.1.240.0040.00422.10
8.1.230.0090.00317.52
8.1.220.0000.00917.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0090.00017.10
8.1.180.0080.00018.10
8.1.170.0000.00718.46
8.1.160.0000.00720.61
8.1.150.0040.00418.76
8.1.140.0030.00519.44
8.1.130.0030.00317.55
8.1.120.0050.00217.27
8.1.110.0040.00417.37
8.1.100.0000.00717.31
8.1.90.0050.00217.21
8.1.80.0030.00317.20
8.1.70.0030.00317.22
8.1.60.0000.00817.48
8.1.50.0080.00017.34
8.1.40.0080.00317.38
8.1.30.0040.00417.52
8.1.20.0040.00417.51
8.1.10.0080.00317.28
8.1.00.0070.00017.19
8.0.300.0040.00418.77
8.0.290.0000.00716.58
8.0.280.0030.00318.31
8.0.270.0000.00717.03
8.0.260.0000.00617.12
8.0.250.0030.00316.88
8.0.240.0080.00016.89
8.0.230.0040.00416.83
8.0.220.0070.00016.82
8.0.210.0000.00716.80
8.0.200.0030.00316.77
8.0.190.0040.00416.79
8.0.180.0000.00716.80
8.0.170.0000.00716.80
8.0.160.0070.00016.89
8.0.150.0040.00816.64
8.0.140.0050.00316.76
8.0.130.0030.00313.25
8.0.120.0000.00716.80
8.0.110.0000.00716.73
8.0.100.0000.00816.61
8.0.90.0000.00716.70
8.0.80.0070.01016.84
8.0.70.0000.00716.82
8.0.60.0000.00816.60
8.0.50.0070.00016.76
8.0.30.0110.00616.82
8.0.20.0070.01117.40
8.0.10.0070.00016.81
8.0.00.0130.00416.66
7.4.330.0050.00016.79
7.4.320.0040.00416.29
7.4.300.0040.00416.27
7.4.290.0000.00716.35
7.4.280.0000.00916.38
7.4.270.0070.00016.43
7.4.260.0030.00316.34
7.4.250.0080.00016.19
7.4.240.0060.00116.40
7.4.230.0030.00316.31
7.4.220.0150.00616.57
7.4.210.0060.01016.43
7.4.200.0030.00316.21
7.4.160.0100.00716.56
7.4.150.0040.01317.40
7.4.140.0170.00517.86
7.4.130.0130.01016.37
7.4.120.0080.00916.31
7.4.110.0090.00916.30
7.4.100.0140.00716.32
7.4.90.0130.00316.41
7.4.80.0030.02219.39
7.4.70.0120.00916.41
7.4.60.0060.01016.35
7.4.50.0110.00416.39
7.4.40.0100.00716.29
7.4.30.0030.01516.40
7.4.00.0090.00914.98
7.3.330.0060.00013.03
7.3.320.0020.00213.21
7.3.310.0000.00716.15
7.3.300.0000.00716.23
7.3.290.0000.00716.11
7.3.280.0090.00616.24
7.3.270.0100.01017.40
7.3.260.0140.00316.50
7.3.240.0080.00816.48
7.3.230.0040.01316.42
7.3.210.0060.01016.29
7.3.200.0110.00916.23
7.3.190.0160.00316.23
7.3.180.0070.01016.21
7.3.170.0100.00716.39
7.3.160.0130.00316.50
7.3.120.0120.00614.59
7.3.110.0100.00714.59
7.3.100.0090.00614.84
7.3.90.0070.01014.45
7.3.80.0090.00914.59
7.3.70.0060.00914.55
7.3.60.0000.01414.69
7.3.50.0060.00314.69
7.3.40.0060.01014.66
7.3.30.0080.00814.46
7.3.20.0100.00016.59
7.3.10.0060.00316.39
7.3.00.0040.01116.49
7.2.330.0090.01216.57
7.2.320.0030.01516.51
7.2.310.0110.01016.18
7.2.300.0130.00616.57
7.2.290.0110.00716.15
7.2.250.0090.00914.47
7.2.240.0100.00714.90
7.2.230.0070.01114.70
7.2.220.0040.00814.94
7.2.210.0000.01214.80
7.2.200.0000.01614.90
7.2.190.0050.00514.84
7.2.180.0090.00614.68
7.2.170.0080.00414.70
7.2.60.0070.00716.29
7.2.00.0060.00618.99
7.1.330.0030.01415.70
7.1.320.0070.00715.61
7.1.310.0030.01015.69
7.1.300.0090.00315.43
7.1.290.0030.00915.54
7.1.280.0030.01015.63
7.1.270.0100.00315.44
7.1.260.0030.00915.63
7.1.200.0120.01215.30
7.1.100.0450.01016.02
7.1.70.0000.00716.84
7.1.60.0030.02019.13
7.1.50.0000.02116.85
7.1.00.0000.08022.51
7.0.200.0000.01116.64
7.0.60.0170.05720.09
7.0.50.0100.08017.87
7.0.40.0130.06320.23
7.0.30.0300.07320.14
7.0.20.0230.08320.09
7.0.10.0200.06020.21
7.0.00.0030.09320.16
5.6.280.0070.06721.08
5.6.210.0100.05020.61
5.6.200.0100.05018.28
5.6.190.0130.06320.77
5.6.180.0370.05720.54
5.6.170.0330.07020.55
5.6.160.0070.08720.62
5.6.150.0030.04318.27
5.6.140.0030.04018.24
5.6.130.0000.09318.18
5.6.120.0170.07321.15
5.6.110.0100.07720.98
5.6.100.0070.04721.09
5.6.90.0000.09321.02
5.6.80.0000.05020.51
5.5.350.0030.08020.43
5.5.340.0070.05317.93
5.5.330.0100.07720.23
5.5.320.0400.04020.35
5.5.310.0270.07020.32
5.5.300.0100.08018.05
5.5.290.0100.08018.08
5.5.280.0070.07720.66
5.5.270.0100.07320.66
5.5.260.0030.07320.87
5.5.250.0130.05720.70
5.5.240.0200.07020.16

preferences:
56.28 ms | 401 KiB | 5 Q