3v4l.org

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

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.0030.01018.39
8.3.50.0120.00317.93
8.3.40.0090.00918.89
8.3.30.0120.00318.58
8.3.20.0040.00418.90
8.3.10.0000.00818.96
8.3.00.0080.00023.52
8.2.180.0070.01418.16
8.2.170.0140.00422.96
8.2.160.0070.00722.01
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00817.91
8.2.120.0070.00026.35
8.2.110.0090.00321.05
8.2.100.0040.00717.59
8.2.90.0080.00017.63
8.2.80.0000.00818.61
8.2.70.0040.00417.80
8.2.60.0000.00917.92
8.2.50.0000.00818.10
8.2.40.0000.00718.95
8.2.30.0050.00219.42
8.2.20.0040.00417.91
8.2.10.0030.00617.80
8.2.00.0070.00019.30
8.1.280.0070.00725.92
8.1.270.0050.00322.24
8.1.260.0080.00026.35
8.1.250.0030.00628.09
8.1.240.0000.01119.19
8.1.230.0090.00320.96
8.1.220.0040.00418.40
8.1.210.0000.00818.77
8.1.200.0040.00417.23
8.1.190.0080.00816.98
8.1.180.0040.00418.10
8.1.170.0040.00418.37
8.1.160.0040.00418.72
8.1.150.0040.00418.82
8.1.140.0070.00017.52
8.1.130.0040.00418.94
8.1.120.0040.00317.27
8.1.110.0030.00517.23
8.1.100.0040.00417.35
8.1.90.0000.00817.29
8.1.80.0000.01017.36
8.1.70.0030.00317.30
8.1.60.0030.00517.42
8.1.50.0000.00817.30
8.1.40.0030.00517.39
8.1.30.0100.00317.46
8.1.20.0000.00917.38
8.1.10.0040.00417.30
8.1.00.0000.00817.29
8.0.300.0070.00018.77
8.0.290.0000.00716.63
8.0.280.0000.00818.23
8.0.270.0100.00018.41
8.0.260.0030.00317.12
8.0.250.0000.00716.82
8.0.240.0050.00216.73
8.0.230.0070.00016.84
8.0.220.0030.00316.64
8.0.210.0030.00316.63
8.0.200.0030.00316.71
8.0.190.0000.00816.79
8.0.180.0040.00416.82
8.0.170.0040.00416.77
8.0.160.0000.00916.83
8.0.150.0040.00416.53
8.0.140.0040.00416.62
8.0.130.0000.00513.14
8.0.120.0080.00016.65
8.0.110.0050.00316.76
8.0.100.0000.00716.60
8.0.90.0000.00716.63
8.0.80.0120.00616.72
8.0.70.0040.00416.70
8.0.60.0080.00016.75
8.0.50.0000.00716.65
8.0.30.0110.00616.86
8.0.20.0130.00617.40
8.0.10.0050.00217.00
8.0.00.0060.01216.47
7.4.330.0030.00315.55
7.4.320.0070.00016.30
7.4.300.0030.00316.37
7.4.290.0090.00016.39
7.4.280.0030.00516.35
7.4.270.0000.00716.47
7.4.260.0030.00316.50
7.4.250.0000.00716.27
7.4.240.0000.00716.46
7.4.230.0030.00516.17
7.4.220.0030.00516.54
7.4.210.0070.01016.41
7.4.200.0000.00716.17
7.4.160.0090.00716.26
7.4.140.0140.00417.86
7.4.130.0110.01116.22
7.4.120.0110.01116.42
7.4.110.0100.00616.21
7.4.100.0080.00916.50
7.4.90.0080.01416.16
7.4.80.0190.00319.39
7.4.70.0110.00516.16
7.4.60.0070.01016.52
7.4.50.0090.00616.04
7.4.40.0110.01116.21
7.4.00.0080.00714.72
7.3.330.0070.00013.12
7.3.320.0050.00013.12
7.3.310.0030.00316.27
7.3.300.0000.00716.12
7.3.290.0000.00716.18
7.3.280.0080.01016.13
7.3.260.0100.00616.38
7.3.240.0070.01216.31
7.3.230.0030.01316.13
7.3.210.0080.00816.07
7.3.200.0030.01316.21
7.3.190.0090.00616.39
7.3.180.0030.01316.30
7.3.170.0120.00416.35
7.3.160.0090.00616.23
7.3.120.0110.00814.51
7.3.110.0090.01014.78
7.3.100.0080.00914.57
7.3.90.0070.01114.67
7.3.80.0060.01414.57
7.3.70.0120.00714.53
7.3.60.0090.01014.58
7.3.50.0090.01014.54
7.3.40.0100.00814.72
7.3.30.0100.00714.46
7.3.20.0110.00716.57
7.3.10.0100.00816.52
7.3.00.0080.00616.36
7.2.330.0100.01316.39
7.2.320.0120.00616.32
7.2.310.0100.00716.35
7.2.300.0150.00716.59
7.2.290.0130.00916.30
7.2.250.0110.00714.79
7.2.240.0060.01214.63
7.2.230.0070.01114.75
7.2.220.0060.01214.70
7.2.210.0060.01314.88
7.2.200.0120.00614.69
7.2.190.0080.01114.85
7.2.180.0080.00814.75
7.2.170.0060.01414.81
7.2.160.0100.00814.65
7.2.150.0160.00816.80
7.2.140.0150.00516.67
7.2.130.0030.01016.63
7.2.120.0040.01116.72
7.2.110.0030.01216.64
7.2.100.0090.00516.63
7.2.90.0050.01016.67
7.2.80.0080.00816.61
7.2.70.0080.00616.61
7.2.60.0430.00916.08
7.2.50.0360.00616.02
7.2.40.0400.00616.20
7.2.30.0450.01016.25
7.2.20.0390.00516.16
7.2.10.0440.00616.22
7.2.00.0390.01116.13
7.1.330.0090.01015.50
7.1.320.0120.00715.53
7.1.310.0070.01015.42
7.1.300.0140.00315.53
7.1.290.0090.01115.52
7.1.280.0110.00415.54
7.1.270.0140.00415.63
7.1.260.0080.00815.67
7.1.250.0090.00815.55
7.1.200.0090.00015.23
7.1.170.0910.00313.47
7.1.160.1050.00916.57
7.1.150.1000.01216.64
7.1.140.0980.01016.68
7.1.130.1020.01016.79
7.1.120.1100.01116.51
7.1.110.1220.01116.33
7.1.100.1010.01015.95
7.1.90.1060.00716.14
7.1.80.1090.00816.28
7.1.70.1050.00615.13
7.1.60.1210.01333.24
7.1.50.1240.01532.93
7.1.40.1690.01332.54
7.1.30.2380.01732.45
7.1.20.1240.01232.43
7.1.10.1240.01014.63
7.1.00.1150.00814.61

preferences:
57.02 ms | 400 KiB | 5 Q