3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface X { public function read($foo): void; } class Y implements X { public function read(string $foo): void { echo $foo; } } (new Y)->read('bar');

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.5.30.0100.00718.77
8.5.20.0110.00619.77
8.5.10.0120.00518.76
8.5.00.0150.00920.07
8.4.180.0160.00719.57
8.4.170.0130.01220.54
8.4.160.0060.00422.19
8.4.150.0080.00416.85
8.4.140.0100.01117.50
8.4.130.0080.00717.86
8.4.120.0090.00624.13
8.4.110.0070.00422.36
8.4.100.0090.00918.86
8.4.90.0150.00618.88
8.4.80.0110.01020.22
8.4.70.0080.01118.30
8.4.60.0060.00518.91
8.4.50.0080.00918.57
8.4.40.0040.00417.71
8.4.30.0060.01320.34
8.4.20.0160.00418.14
8.4.10.0070.01317.86
8.3.300.0130.00720.83
8.3.290.0110.00920.71
8.3.280.0100.01118.25
8.3.270.0200.00816.55
8.3.260.0130.00616.64
8.3.250.0100.00918.73
8.3.240.0060.00417.02
8.3.230.0100.00916.88
8.3.220.0050.00318.87
8.3.210.0130.00516.65
8.3.200.0060.00916.62
8.3.190.0100.01016.98
8.3.180.0080.01017.00
8.3.170.0150.00318.88
8.3.160.0120.00617.19
8.3.150.0040.01617.13
8.3.140.0080.00016.92
8.3.130.0030.00618.45
8.3.120.0040.01118.69
8.3.110.0100.01020.94
8.3.100.0040.00418.32
8.3.90.0000.00826.77
8.3.80.0030.00616.88
8.3.70.0140.00716.75
8.3.60.0100.00718.68
8.3.50.0060.01018.04
8.3.40.0150.00420.29
8.3.30.0210.00018.46
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.300.0090.01123.98
8.2.290.0080.01020.25
8.2.280.0030.00518.27
8.2.270.0040.01517.29
8.2.260.0000.00716.74
8.2.250.0090.00918.21
8.2.240.0030.00517.19
8.2.230.0050.00522.58
8.2.220.0060.00324.06
8.2.210.0080.00026.77
8.2.200.0000.00816.88
8.2.190.0110.00716.58
8.2.180.0110.00725.92
8.2.170.0070.00718.64
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0070.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00426.16
8.2.110.0030.00620.41
8.2.100.0070.00421.07
8.2.90.0050.00317.63
8.2.80.0060.00318.56
8.2.70.0040.00417.50
8.2.60.0000.00917.50
8.2.50.0040.00417.98
8.2.40.0040.00417.62
8.2.30.0000.00718.01
8.2.20.0050.00220.39
8.2.10.0040.00417.62
8.2.00.0040.00419.19
8.1.340.0110.00817.60
8.1.330.0120.00621.95
8.1.320.0110.00818.09
8.1.310.0110.00716.39
8.1.300.0060.00316.24
8.1.290.0060.00630.84
8.1.280.0090.00925.92
8.1.270.0000.00723.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.19
8.1.230.0120.00019.01
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0080.00016.98
8.1.180.0000.00818.10
8.1.170.0000.00817.62
8.1.160.0040.00418.84
8.1.150.0020.00518.57
8.1.140.0000.00717.39
8.1.130.0040.00418.73
8.1.120.0040.00417.40
8.1.110.0000.00717.41
8.1.100.0030.00517.29
8.1.90.0000.00717.28
8.1.80.0070.00317.41
8.1.70.0000.00717.31
8.1.60.0040.00417.54
8.1.50.0080.00017.50
8.1.40.0040.00417.38
8.1.30.0000.00817.53
8.1.20.0030.00617.53
8.1.10.0030.00517.37
8.1.00.0040.00417.18
8.0.300.0070.00018.77
8.0.290.0000.00816.75
8.0.280.0030.00320.13
8.0.270.0040.00416.77
8.0.260.0000.00718.39
8.0.250.0030.00316.96
8.0.240.0000.00616.98
8.0.230.0030.00416.96
8.0.220.0080.00016.95
8.0.210.0000.00716.84
8.0.200.0030.00516.96
8.0.190.0050.00316.95
8.0.180.0000.00716.95
8.0.170.0000.00816.92
8.0.160.0050.00216.89
8.0.150.0030.00316.91
8.0.140.0000.00716.82
8.0.130.0000.00716.88
8.0.120.0000.00816.88
8.0.110.0050.00216.97
8.0.100.0000.00816.79
8.0.90.0000.00716.78
8.0.80.0000.00716.73
8.0.70.0000.00716.93
8.0.60.0050.00216.89
8.0.50.0050.00316.79
8.0.30.0030.00316.94
8.0.20.0000.00716.96
8.0.10.0030.00316.84
7.4.330.0030.00315.55
7.4.320.0070.00016.45
7.4.300.0000.00816.39
7.4.290.0080.00016.28
7.4.280.0070.00016.43
7.4.270.0030.00316.46
7.4.260.0000.00816.40
7.4.250.0070.00016.50
7.4.240.0040.00416.32
7.4.230.0000.00716.53
7.4.220.0070.00016.41
7.4.210.0000.00616.42
7.4.200.0040.00416.38
7.4.190.0000.00716.50
7.4.180.0000.00816.48
7.4.160.0000.00716.41
7.4.150.0070.00016.39
7.4.140.0000.00716.31
7.4.130.0070.00016.13
7.4.120.0000.00816.12
7.4.110.0000.00716.19
7.4.100.0050.00216.44
7.4.90.0040.00416.22
7.4.80.0040.00416.27
7.4.70.0040.00416.30
7.4.60.0070.00016.43
7.4.50.0030.00516.10
7.4.40.0000.00716.25
7.4.30.0080.00016.33
7.4.20.0000.00716.30
7.4.10.0070.00016.24
7.4.00.0000.00716.43

preferences:
109.68 ms | 1260 KiB | 5 Q