3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public function test($foo) { } } class B extends A { public function test(string $foo) { } }

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.00416.38
8.3.60.0090.00918.31
8.3.50.0090.00517.45
8.3.40.0130.00718.71
8.3.30.0090.00618.58
8.3.20.0080.00020.18
8.3.10.0050.00323.66
8.3.00.0040.00419.72
8.2.190.0070.00716.58
8.2.180.0080.00816.50
8.2.170.0000.01422.96
8.2.160.0030.01022.21
8.2.150.0110.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00820.84
8.2.110.0050.00521.04
8.2.100.0080.00417.59
8.2.90.0030.00521.20
8.2.80.0030.00520.48
8.2.70.0000.00817.80
8.2.60.0050.00317.68
8.2.50.0040.00418.10
8.2.40.0030.00620.41
8.2.30.0040.00419.12
8.2.20.0040.00417.86
8.2.10.0050.00217.99
8.2.00.0000.00718.17
8.1.280.0150.00625.92
8.1.270.0040.00420.33
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0210.00022.14
8.1.230.0090.00320.98
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0040.00417.10
8.1.190.0040.00417.43
8.1.180.0040.00418.10
8.1.170.0000.00818.66
8.1.160.0000.00718.80
8.1.150.0000.00720.24
8.1.140.0000.00717.53
8.1.130.0000.00817.38
8.1.120.0060.00317.23
8.1.110.0040.00417.32
8.1.100.0030.00517.20
8.1.90.0000.00717.32
8.1.80.0030.00317.21
8.1.70.0070.00317.36
8.1.60.0030.00617.34
8.1.50.0080.00017.30
8.1.40.0040.00417.38
8.1.30.0000.01117.57
8.1.20.0000.01017.48
8.1.10.0080.00017.28
8.1.00.0070.00417.38
8.0.300.0030.00320.12
8.0.290.0000.00816.75
8.0.280.0070.00018.21
8.0.270.0000.00717.13
8.0.260.0030.00516.75
8.0.250.0030.00316.80
8.0.240.0000.00716.77
8.0.230.0040.00416.77
8.0.220.0040.00416.86
8.0.210.0000.00816.79
8.0.200.0040.00416.88
8.0.190.0070.00016.90
8.0.180.0070.00016.82
8.0.170.0000.00816.73
8.0.160.0060.00316.71
8.0.150.0050.00216.76
8.0.140.0000.00816.72
8.0.130.0000.00613.27
8.0.120.0040.00416.80
8.0.110.0040.00416.66
8.0.100.0040.00416.67
8.0.90.0000.00716.82
8.0.80.0130.00316.71
8.0.70.0040.00416.87
8.0.60.0030.00516.77
8.0.50.0070.00016.79
8.0.30.0080.00916.83
8.0.20.0100.00817.40
8.0.10.0000.00816.81
8.0.00.0110.01316.77
7.4.330.0000.00515.55
7.4.320.0000.00616.47
7.4.300.0000.00716.44
7.4.290.0030.00716.26
7.4.280.0070.00016.37
7.4.270.0000.00716.40
7.4.260.0000.00716.34
7.4.250.0090.00016.40
7.4.240.0030.00316.53
7.4.230.0000.00716.27
7.4.220.0000.00716.21
7.4.210.0110.00616.39
7.4.200.0030.00316.54
7.4.160.0070.00916.42
7.4.150.0100.00717.40
7.4.140.0130.00517.86
7.4.130.0090.00916.34
7.4.120.0090.01116.41
7.4.110.0080.00816.36
7.4.100.0090.00616.27
7.4.90.0130.00316.29
7.4.80.0070.01019.39
7.4.70.0140.00516.57
7.4.60.0060.01216.54
7.4.50.0000.01116.21
7.4.40.0080.01216.38
7.4.00.0070.00914.88
7.3.330.0000.00513.21
7.3.320.0060.00013.21
7.3.310.0040.00416.05
7.3.300.0000.00716.15
7.3.290.0030.00316.23
7.3.280.0080.00916.20
7.3.270.0090.01217.40
7.3.260.0070.01116.37
7.3.250.0130.00316.29
7.3.240.0110.00716.30
7.3.230.0120.00616.42
7.3.210.0090.00616.39
7.3.200.0170.00616.27
7.3.190.0040.01116.42
7.3.180.0110.01116.36
7.3.170.0120.00416.46
7.3.160.0170.00016.34
7.3.120.0090.00914.77
7.3.110.0100.00714.82
7.3.100.0090.00614.49
7.3.90.0070.00314.79
7.3.80.0120.00314.47
7.3.70.0070.00714.76
7.3.60.0030.01514.39
7.3.50.0060.00614.76
7.3.40.0070.00714.72
7.3.30.0060.01014.33
7.3.20.0100.00616.45
7.3.10.0090.00716.36
7.3.00.0050.00916.45
7.2.330.0140.00316.57
7.2.320.0060.01216.53
7.2.310.0110.00516.55
7.2.300.0060.00916.46
7.2.290.0040.01416.58
7.2.250.0070.01114.77
7.2.240.0100.01014.78
7.2.230.0060.00614.91
7.2.220.0140.00314.93
7.2.210.0100.00614.71
7.2.200.0030.01714.58
7.2.190.0040.00814.55
7.2.180.0080.00614.98
7.2.170.0120.00614.91
7.2.130.0120.00616.56
7.2.120.0080.00816.71
7.2.110.0100.00716.84
7.2.100.0110.00016.45
7.2.90.0100.00716.57
7.2.80.0110.00416.60
7.2.70.0030.00616.47
7.2.60.0060.00816.70
7.2.50.0120.00316.67
7.2.40.0000.00916.45
7.2.30.0070.00716.59
7.2.20.0120.00716.98
7.2.10.0150.00417.22
7.2.00.0130.00717.03
7.1.330.0130.00315.63
7.1.320.0070.00715.32
7.1.310.0040.01115.75
7.1.300.0060.00615.70
7.1.290.0090.00315.69
7.1.280.0070.00715.48
7.1.270.0070.01015.26
7.1.260.0090.00015.27
7.1.250.0070.01015.55
7.1.200.0030.00915.35
7.1.140.1140.01016.23
7.1.130.0250.01216.64
7.1.120.0160.01016.30
7.1.110.0240.01415.67
7.1.100.0180.01516.02
7.1.90.0310.00815.82
7.1.80.0280.00915.89
7.1.70.0220.01315.02
7.1.60.0440.00933.03
7.1.50.0320.01932.58
7.1.40.0450.01032.35
7.1.30.0380.01432.58
7.1.20.0410.01332.80
7.1.10.0310.00714.35
7.1.00.1170.00714.59

preferences:
17.21 ms | 401 KiB | 5 Q