xref: /PHP-8.2/ext/date/tests/bug81097.phpt (revision f9117eb8)
1--TEST--
2Bug #81097 (DateTimeZone silently falls back to UTC when providing an offset with seconds)
3--FILE--
4<?php
5$d = new DatetimeZone('+01:45:30');
6var_dump($d);
7?>
8--EXPECTF--
9object(DateTimeZone)#%d (%d) {
10  ["timezone_type"]=>
11  int(1)
12  ["timezone"]=>
13  string(9) "+01:45:30"
14}
15