3v4l.org

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

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.0040.01118.55
8.3.50.0070.01317.91
8.3.40.0170.00718.69
8.3.30.0080.00618.58
8.3.20.0080.00020.64
8.3.10.0090.00923.58
8.3.00.0070.01320.94
8.2.180.0110.00417.98
8.2.170.0150.00422.96
8.2.160.0030.01022.20
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0050.00319.57
8.2.120.0080.00026.35
8.2.110.0090.00020.92
8.2.100.0040.00717.78
8.2.90.0070.00317.66
8.2.80.0080.00017.97
8.2.70.0000.00817.67
8.2.60.0000.00817.99
8.2.50.0040.00418.10
8.2.40.0040.00419.25
8.2.30.0040.00419.12
8.2.20.0000.00717.97
8.2.10.0000.00719.17
8.2.00.0040.00418.11
8.1.280.0100.01025.92
8.1.270.0050.00322.02
8.1.260.0000.00826.35
8.1.250.0070.01128.09
8.1.240.0000.00923.96
8.1.230.0000.01120.92
8.1.220.0040.00417.74
8.1.210.0040.00418.91
8.1.200.0100.00017.11
8.1.190.0030.00617.23
8.1.180.0000.00818.10
8.1.170.0000.00818.66
8.1.160.0000.00718.76
8.1.150.0020.00518.71
8.1.140.0040.00418.94
8.1.130.0040.00417.23
8.1.120.0040.00417.29
8.1.110.0080.00017.27
8.1.100.0030.00717.32
8.1.90.0040.00417.25
8.1.80.0000.00817.32
8.1.70.0000.00717.29
8.1.60.0090.00017.47
8.1.50.0000.00817.35
8.1.40.0000.00817.37
8.1.30.0030.00617.37
8.1.20.0000.01017.55
8.1.10.0070.00017.28
8.1.00.0050.00317.36
8.0.300.0070.00019.77
8.0.290.0050.00316.75
8.0.280.0030.00318.36
8.0.270.0030.00317.00
8.0.260.0030.00316.66
8.0.250.0040.00416.87
8.0.240.0000.00616.79
8.0.230.0030.00316.79
8.0.220.0050.00316.69
8.0.210.0070.00016.68
8.0.200.0070.00016.86
8.0.190.0030.00516.91
8.0.180.0000.00716.73
8.0.170.0050.00316.72
8.0.160.0050.00216.80
8.0.150.0000.00716.73
8.0.140.0000.00716.73
8.0.130.0030.00313.24
8.0.120.0020.00516.69
8.0.110.0000.00816.75
8.0.100.0000.00716.64
8.0.90.0070.00016.64
8.0.80.0080.00916.73
8.0.70.0040.00416.75
8.0.60.0040.00416.68
8.0.50.0040.00316.75
8.0.30.0000.01717.07
8.0.20.0170.01017.12
8.0.10.0040.00416.90
8.0.00.0120.00716.60
7.4.330.0020.00216.75
7.4.320.0030.00316.38
7.4.300.0030.00316.27
7.4.290.0000.00716.44
7.4.280.0040.00416.46
7.4.270.0060.00616.38
7.4.260.0040.00416.39
7.4.250.0000.00716.41
7.4.240.0070.00016.35
7.4.230.0000.00716.16
7.4.220.0050.00316.44
7.4.210.0060.00916.49
7.4.200.0030.00316.53
7.4.160.0070.00816.45
7.4.140.0060.01017.86
7.4.130.0030.01316.55
7.4.120.0110.01216.41
7.4.110.0030.01316.42
7.4.100.0090.00916.19
7.4.90.0060.01216.61
7.4.80.0140.00919.39
7.4.70.0120.00616.32
7.4.60.0100.00716.43
7.4.50.0040.00716.14
7.4.40.0100.01416.34
7.4.00.0040.01314.72
7.3.330.0000.00613.20
7.3.320.0000.00513.09
7.3.310.0000.00716.33
7.3.300.0000.00716.28
7.3.290.0030.01116.22
7.3.280.0090.00816.16
7.3.260.0100.00816.35
7.3.240.0120.00516.26
7.3.230.0150.00616.43
7.3.210.0100.00616.36
7.3.200.0150.00916.28
7.3.190.0100.00616.25
7.3.180.0080.00816.49
7.3.170.0090.01216.30
7.3.160.0130.01016.27
7.3.120.0040.00814.67
7.3.110.0000.01214.81
7.3.100.0040.01114.79
7.3.90.0060.01014.68
7.3.80.0100.00314.75
7.3.70.0030.01314.74
7.3.60.0030.01014.78
7.3.50.0060.00914.36
7.3.40.0000.00914.78
7.3.30.0040.00614.62
7.3.20.0070.00416.57
7.3.10.0030.01116.63
7.3.00.0030.01116.53
7.2.330.0090.00916.39
7.2.320.0210.01116.52
7.2.310.0060.01116.67
7.2.300.0060.01016.37
7.2.290.0070.01416.44
7.2.240.0000.01714.87
7.2.230.0040.01115.00
7.2.220.0080.00614.71
7.2.210.0080.00814.80
7.2.200.0000.00814.68
7.2.190.0030.01214.80
7.2.180.0060.00914.91
7.2.170.0100.00714.70
7.2.160.0050.00714.80
7.2.150.0060.00716.43
7.2.140.0040.00916.75
7.2.130.0020.01416.71
7.2.120.0100.01016.67
7.2.110.0080.00916.63
7.2.100.0070.00816.87
7.2.90.0050.00916.73
7.2.80.0050.00716.64
7.2.70.0090.00916.61
7.2.60.0090.00616.65
7.2.50.0110.00216.70
7.2.40.0070.00616.65
7.2.30.0050.00616.64
7.2.20.0030.01016.59
7.2.10.0070.00816.55
7.2.00.0070.01316.78
7.1.330.0060.00615.58
7.1.320.0030.01015.46
7.1.310.0060.00615.32
7.1.300.0030.00715.77
7.1.290.0030.01215.41
7.1.280.0090.00015.61
7.1.270.0080.00515.41
7.1.260.0060.00415.52
7.1.250.0080.00715.46

preferences:
30.32 ms | 400 KiB | 5 Q