<?php $a = new DateTime/*Immutable*/('today'); $b = new DateTime/*Immutable*/('yesterday'); $c = array($a, $b); $d = max($c); var_dump($d);
You have javascript disabled. You will not be able to edit any code.