xref: /PHP-8.1/ext/date/tests/bug76770.phpt (revision 959d3c96)
1--TEST--
2Bug #76770 'U' modifier in 'datetime::createFromFormat' adds seconds to other specifiers
3--FILE--
4<?php
5var_dump(datetime::createFromFormat('U H', '3600 01')->getTimestamp());
6?>
7--EXPECT--
8int(3600)
9