- Output for 8.1.29 - 8.1.30, 8.2.19 - 8.2.24, 8.3.5 - 8.3.12
- object(DateTimeImmutable)#1 (3) { ["date"]=> string(26) "2008-03-01 13:00:00.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(1) "Z" }
<?php
var_dump(DateTimeImmutable::createFromFormat('Y-m-d\\TH:i:sp', '2008-03-01T13:00:00Z'));