3v4l.org

run code in 300+ PHP versions simultaneously
<?php class P implements \SessionUpdateTimestampHandlerInterface { #[\ReturnTypeWillChange] public function validateId(string $id) { return TRUE; } #[\ReturnTypeWillChange] public function updateTimestamp(string $id, string $data) { return TRUE; } } class C extends P implements \SessionUpdateTimestampHandlerInterface { public function validateId($id) {} } $c = new C(); print("ok");

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.10.0090.00023.87
8.3.140.0040.01118.65
8.3.130.0020.00518.36
8.3.120.0060.00320.81
8.3.110.0040.00420.94
8.3.100.0170.00024.06
8.3.90.0040.00426.77
8.3.80.0060.00318.43
8.3.70.0060.01216.58
8.3.60.0110.00418.24
8.3.50.0040.01118.36
8.3.40.0040.01123.77
8.3.30.0040.01120.17
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0000.00726.16
8.2.260.0120.00616.41
8.2.250.0000.00817.01
8.2.240.0040.00417.31
8.2.230.0030.00622.58
8.2.220.0040.00437.54
8.2.210.0040.00426.77
8.2.200.0050.00516.50
8.2.190.0140.00718.41
8.2.180.0160.00625.92
8.2.170.0070.01422.96
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0030.00624.66
8.2.130.0050.00326.16
8.2.120.0040.00422.25
8.2.110.0050.00522.20
8.2.100.0090.00317.78
8.2.90.0040.00417.78
8.2.80.0000.00819.20
8.2.70.0110.00379.33
8.2.60.0140.00579.33
8.2.50.0130.00379.33
8.2.40.0120.00479.33
8.2.30.0160.00079.33
8.2.20.0100.00779.33
8.2.10.0050.01079.33
8.2.00.0120.00379.33
8.1.300.0130.00617.94
8.1.290.0090.00030.84
8.1.280.0090.00525.92
8.1.270.0040.00424.66
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0050.00322.53
8.1.230.0070.00720.96
8.1.220.0000.00817.76
8.1.210.0000.00918.77
8.1.200.0030.00679.33
8.1.190.0100.00679.33
8.1.180.0110.00479.33
8.1.170.0160.00079.33
8.1.160.0160.00079.33
8.1.150.0170.00079.33
8.1.140.0110.00579.33
8.1.130.0100.00579.33
8.1.120.0110.00579.33
8.1.110.0060.01279.33
8.1.100.0110.00479.33
8.1.90.0090.00679.33
8.1.80.0110.00479.33
8.1.70.0080.00879.33
8.1.60.0110.00679.33
8.1.50.0080.00879.33
8.1.40.0090.00979.33
8.1.30.0140.00279.33
8.1.20.0150.00379.33
8.1.10.0140.00479.33
8.1.00.0160.00379.33
8.0.300.0040.00420.27
8.0.290.0090.00379.33
8.0.280.0080.01079.33
8.0.270.0110.00579.33
8.0.260.0160.00579.33
8.0.250.0140.00379.33
8.0.240.0080.00879.33
8.0.230.0140.00279.33
8.0.220.0150.00079.33
8.0.210.0090.00679.33
8.0.200.0110.00579.33
8.0.190.0110.00579.33
8.0.180.0100.00679.33
8.0.170.0120.00379.33
8.0.160.0080.00879.33
8.0.150.0120.00479.33
8.0.140.0160.00079.33
8.0.130.0040.01179.33
8.0.120.0050.01079.33
8.0.110.0150.00079.33
8.0.100.0110.00479.33
8.0.90.0100.00579.33
8.0.80.0140.00079.33
8.0.70.0080.00879.33
8.0.60.0110.00479.33
8.0.50.0120.00379.33
8.0.30.0120.00379.33
8.0.20.0070.00779.33
8.0.10.0100.00579.33

preferences:
17.21 ms | 403 KiB | 5 Q