- Output for 8.0.1 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.26, 8.3.0 - 8.3.14, 8.4.1
- 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");