1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00

10 Commits

Author SHA1 Message Date
AllenJB
3a8c3e77df Enable runnable (WASM) examples for datetime (#4887)
* Enable runnable (WASM) examples for datetime
2025-10-31 10:32:20 +00:00
Christoph M. Becker
e057f1f552 Remove superfluous changelog entries
Actually, most (or even all) datetime functions returned false prior to
PHP 8.0.0, where they now throw an error.  Besides ZPP failures which
we certainly do not want to document explicitly, that also happened in
case the objects have not been properly initialized, which is so close
to ZPP failures, that we don't want to document that either.

Co-authored-by: Alexander Menshchikov <amenshchikov@gmail.com>

Closes GH-1358.
2022-12-27 16:54:37 +01:00
Máté Kocsis
02ff7fef5b Update ext/date role attributes (#1972) 2022-12-11 16:34:22 +01:00
Derick Rethans
1a9ee818e5 Incorporate useful information from notes (take #1) 2022-08-12 17:31:45 +01:00
DColt
2424a1accc Whitespace fix for datetime.getoffset
Closes GH-307.
2021-01-02 23:36:03 +01:00
Yoshinari Takaoka
260c0b8f4d Fixed oop return type of DateTimeInterface::getOffset.
Closes CH-282.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352182 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 10:20:49 +00:00
Christoph Michael Becker
34188f8256 Generate ext/date methodsynopses based on stubs
Closes GH-185.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352143 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-20 15:06:41 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +00:00
Jakub Vrana
2479b98e82 Don't inherit from DateTimeInterface
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330270 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 18:17:21 +00:00
Jakub Vrana
f65a959cff Document PHP 5.5 date classes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330266 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-17 06:06:10 +00:00