3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface A { public function setOption(string $a): void; } interface B extends A { public function setOption(mixed $a): void; }

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.110.0060.00320.94
8.3.100.0070.00324.06
8.3.90.0080.00026.77
8.3.80.0030.00618.55
8.3.70.0170.00716.75
8.3.60.0090.00618.55
8.3.50.0110.00716.47
8.3.40.0120.00622.22
8.3.30.0130.00320.16
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.230.0060.00322.58
8.2.220.0050.00537.54
8.2.210.0030.00726.77
8.2.200.0050.00518.16
8.2.190.0030.01216.58
8.2.180.0090.00918.17
8.2.170.0060.01018.91
8.2.160.0100.00722.96
8.2.150.0090.00625.66
8.2.140.0050.00324.66
8.2.130.0050.00226.16
8.2.120.0030.00519.56
8.2.110.0090.00019.33
8.2.100.0030.00718.03
8.2.90.0050.00319.17
8.2.80.0040.00417.97
8.2.70.0000.01017.38
8.2.60.0140.00317.38
8.2.50.0140.00517.38
8.2.40.0090.00917.34
8.2.30.0130.00417.13
8.2.20.0100.00717.38
8.2.10.0090.00817.25
8.2.00.0120.00617.21
8.1.290.0060.00330.84
8.1.280.0100.01025.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00022.54
8.1.230.0080.00420.31
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.23
8.1.190.0140.00616.75
8.1.180.0130.00416.88
8.1.170.0110.00717.09
8.1.160.0130.00516.88
8.1.150.0090.00916.75
8.1.140.0140.00317.11
8.1.130.0160.00017.23
8.1.120.0120.00516.74
8.1.110.0140.00417.13
8.1.100.0120.00617.00
8.1.90.0150.00317.13
8.1.80.0170.00017.00
8.1.70.0130.00417.25
8.1.60.0130.00617.13
8.1.50.0190.00017.34
8.1.40.0110.00717.23
8.1.30.0090.00916.97
8.1.20.0120.00617.25
8.1.10.0150.00317.13
8.1.00.0150.00417.00
8.0.300.0050.00318.77
8.0.290.0030.00616.63
8.0.280.0030.01416.52
8.0.270.0150.00416.63
8.0.260.0120.00416.52
8.0.250.0120.00416.52
8.0.240.0120.00316.52
8.0.230.0110.00516.52
8.0.220.0120.00216.52
8.0.210.0140.00316.52
8.0.200.0100.00716.52
8.0.190.0070.00716.52
8.0.180.0210.00016.52
8.0.170.0080.00816.52
8.0.160.0060.01316.52
8.0.150.0140.00016.52
8.0.140.0110.00416.52
8.0.130.0130.00316.63
8.0.120.0120.00416.52
8.0.110.0100.00516.52
8.0.100.0120.00416.52
8.0.90.0170.00016.52
8.0.80.0140.00416.52
8.0.70.0100.00516.52
8.0.60.0120.00616.52
8.0.50.0100.00616.52
8.0.30.0100.00716.63
8.0.20.0120.00616.52
8.0.10.0110.00616.52

preferences:
28.8 ms | 403 KiB | 5 Q