preload_bug80634.inc 241 B

12345678910
  1. <?php
  2. class SomeClass extends \DatePeriod {
  3. public $interval;
  4. public function __construct(int $v) {
  5. parent::__construct(new \DateTime('2020-12-31'), new \DateInterval("P1Y"), 1);
  6. $this->interval = $v;
  7. var_dump($this->interval);
  8. }
  9. }