<?php class Period extends \DatePeriod { public $test; } $p = new Period(new \DateTime('now'), new \DateInterval('P1Y'), new \DateTime('tomorrow')); $p->test = false; var_dump($p);
You have javascript disabled. You will not be able to edit any code.