3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface I { // In Symfony 5.4 this is: // public static function test($s, $i, $m); // In Symfony 6.0 this is: public static function test(string $s, int $i, mixed $m): mixed; } class A implements I { public static function test($s, $i, $m) { var_dump($s, $i, $m); } } A::test('string', 1, NULL);

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.120.0050.00324.02
8.4.110.0120.00819.74
8.4.100.0120.00818.71
8.4.90.0130.00420.50
8.4.80.0140.00520.36
8.4.70.0150.00518.16
8.4.60.0130.00818.96
8.4.50.0140.00718.42
8.4.40.0100.01019.34
8.4.30.0060.01320.30
8.4.20.0030.00719.80
8.4.10.0040.00417.73
8.3.250.0140.00618.89
8.3.240.0110.00517.20
8.3.230.0070.01216.84
8.3.220.0040.00518.81
8.3.210.0080.01016.69
8.3.200.0070.00216.61
8.3.190.0050.00317.13
8.3.180.0120.00817.36
8.3.170.0110.00720.52
8.3.160.0110.00716.77
8.3.150.0060.01317.09
8.3.140.0030.01218.59
8.3.130.0000.00818.42
8.3.120.0080.00818.90
8.3.110.0060.01220.94
8.3.100.0040.00816.71
8.3.90.0090.00626.77
8.3.80.0040.00416.63
8.3.70.0100.00716.63
8.3.60.0070.01118.43
8.3.50.0090.00620.36
8.3.40.0170.00319.05
8.3.30.0070.00718.79
8.3.20.0040.00424.18
8.3.10.0060.00324.66
8.3.00.0070.00026.16
8.2.290.0130.00620.52
8.2.280.0060.00718.12
8.2.270.0150.00316.94
8.2.260.0040.00418.16
8.2.250.0090.00618.15
8.2.240.0030.00616.96
8.2.230.0060.00322.58
8.2.220.0140.00724.06
8.2.210.0070.00026.77
8.2.200.0090.00016.63
8.2.190.0040.01216.63
8.2.180.0070.00725.92
8.2.170.0040.01118.96
8.2.160.0090.01222.96
8.2.150.0030.00525.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00726.16
8.2.110.0040.00722.20
8.2.100.0060.00617.59
8.2.90.0080.00019.27
8.2.80.0030.00717.97
8.2.70.0090.00017.50
8.2.60.0000.00717.63
8.2.50.0040.00417.55
8.2.40.0000.00720.52
8.2.30.0060.00317.92
8.2.20.0040.00420.50
8.2.10.0080.00017.58
8.2.00.0000.00719.24
8.1.330.0120.01021.92
8.1.320.0080.00815.87
8.1.310.0110.00717.90
8.1.300.0040.00420.27
8.1.290.0090.00330.84
8.1.280.0070.01125.92
8.1.270.0050.00323.99
8.1.260.0050.00326.35
8.1.250.0060.00328.09
8.1.240.0000.01022.80
8.1.230.0110.00017.76
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00417.35
8.1.190.0050.00317.23
8.1.180.0060.00318.10
8.1.170.0000.00717.62
8.1.160.0040.00418.70
8.1.150.0050.00218.57
8.1.140.0070.00017.34
8.1.130.0070.00018.86
8.1.120.0000.00717.45
8.1.110.0040.00417.41
8.1.100.0040.00417.42
8.1.90.0040.00417.41
8.1.80.0000.00817.30
8.1.70.0070.00017.43
8.1.60.0000.00817.50
8.1.50.0000.00817.45
8.1.40.0070.00017.45
8.1.30.0090.00317.47
8.1.20.0150.01117.55
8.1.10.0200.00617.22
8.1.00.0200.00517.28
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0000.00718.32
8.0.270.0040.00416.82
8.0.260.0000.00618.31
8.0.250.0040.00416.97
8.0.240.0000.00716.98
8.0.230.0040.00416.91
8.0.220.0030.00316.87
8.0.210.0000.00716.91
8.0.200.0000.00716.87
8.0.190.0040.00416.97
8.0.180.0040.00416.92
8.0.170.0030.00516.80
8.0.160.0140.00716.85
8.0.150.0180.00316.75
8.0.140.0130.00816.80
8.0.130.0190.00016.82
8.0.120.0120.00616.84
8.0.110.0150.00416.74
8.0.100.0130.00516.76
8.0.90.0170.00416.89
8.0.80.0210.00016.84
8.0.70.0170.00416.76
8.0.60.0190.00316.76
8.0.50.0150.00616.69
8.0.30.0140.00716.88
8.0.20.0180.00716.88
8.0.10.0190.00316.98
7.4.330.0000.00615.55
7.4.320.0060.00016.55
7.4.300.0060.00016.53
7.4.290.0040.00416.39
7.4.280.0000.00716.32
7.4.270.0190.00516.27
7.4.260.0170.00616.29
7.4.250.0190.00316.49
7.4.240.0130.00716.30
7.4.230.0170.00416.43
7.4.220.0150.00516.43
7.4.210.0180.00316.42
7.4.200.0110.00516.38
7.4.190.0130.00416.39
7.4.180.0100.01016.48
7.4.160.0150.00616.55
7.4.150.0130.00716.21
7.4.140.0160.00316.25
7.4.130.0120.00816.15
7.4.120.0190.00316.35
7.4.110.0060.01216.29
7.4.100.0150.00616.29
7.4.90.0100.00916.31
7.4.80.0140.00716.43
7.4.70.0150.00616.33
7.4.60.0150.00416.43
7.4.50.0120.00316.20
7.4.40.0130.00416.08
7.4.30.0140.00316.20
7.4.20.0190.00016.30
7.4.10.0150.00616.40
7.4.00.0170.00316.32

preferences:
103.08 ms | 403 KiB | 5 Q