date_create_immutable Создаёт новый объект DateTimeImmutable &reftitle.description; DateTimeImmutablefalsedate_create_immutable stringdatetime"now" DateTimeZonenulltimezone&null; Аналог метода DateTimeImmutable::__construct в процедурном стиле. В отличие от конструктора DateTimeImmutable, функция вернёт &false;, а не выбросит исключение, если переданная в конструктор строка datetime указана некорректно. &reftitle.parameters; Смотрите DateTimeImmutable::__construct. &reftitle.returnvalues; Возвращает новый экземпляр DateTimeImmutable. &return.falseforfailure; &reftitle.seealso; DateTimeImmutable::createFromFormat