<?php $to = 'asdfdsa'; $from = 'afadsfadsf'; $to ? new DateTime($to) : null; $from ? new DateTime($from) : null; var_dump($to); var_dump($from);
You have javascript disabled. You will not be able to edit any code.