1--TEST-- 2The default value is a constant in the parent class method's signature. 3--FILE-- 4<?php 5class MyDateTimeZone extends DateTimeZone 6{ 7 public function getTransitions(): array|false 8 { 9 } 10} 11?> 12--EXPECTF-- 13Fatal error: Declaration of MyDateTimeZone::getTransitions(): array|false must be compatible with DateTimeZone::getTransitions(int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|false in %s on line %d 14