- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.15, 8.4.1 - 8.4.2
- ok
<?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");