<?php class A { public function __construct(\DateTime $data) { var_export($data->getTimestamp()); } } new A(new \DateTime());
You have javascript disabled. You will not be able to edit any code.