mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
959d3c9636
Closes GH-3514.
9 lines
209 B
PHP
9 lines
209 B
PHP
--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)
|