Is it possible to do something matching this with PHP (use today's date as the default in the parameter)?
class fiscalOBCharts
{
private $exercise;
public function exercise(string $exercise = date('d/m/Y')){
$this->exercise = $exercise;
return $this;
}
}
PS: The above code does not work.