If PHP 7 runs on you machine you could do it like this:$row->getCreated() ?? (new \\DateTime('now'))->format('Y-m-d');So with an extra ...
確定! 回上一頁