We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d9ddd6 commit 959d3c9Copy full SHA for 959d3c9
ext/date/tests/bug76770.phpt
@@ -0,0 +1,8 @@
1
+--TEST--
2
+Bug #76770 'U' modifier in 'datetime::createFromFormat' adds seconds to other specifiers
3
+--FILE--
4
+<?php
5
+var_dump(datetime::createFromFormat('U H', '3600 01')->getTimestamp());
6
+?>
7
+--EXPECT--
8
+int(3600)
0 commit comments