<?php $dates = array( new \DateTime('2013-05-01'), new \DateTime('2013-04-01'), ); usort($dates, function ($a, $b) { if ($a == $b) { return 0; } });
You have javascript disabled. You will not be able to edit any code.