php-src/ext/date/tests/bug76770.phpt

9 lines
209 B
Plaintext
Raw Normal View History

--TEST--
Bug #76770 'U' modifier in 'datetime::createFromFormat' adds seconds to other specifiers
--FILE--
<?php
var_dump(datetime::createFromFormat('U H', '3600 01')->getTimestamp());
?>
--EXPECT--
int(3600)