Commit graph

28020 commits

Author SHA1 Message Date
Derick Rethans
532a253c43 Fixed bug #81319: Unfortunate example on time() man page 2022-06-04 17:41:23 +01:00
Derick Rethans
f0c9bb04d7 Fixed bug #81347: 2021-03-34 is correct date for DateTime::createFromFormat() 2022-06-04 17:26:15 +01:00
Derick Rethans
d01de02957 Merge branch 'master' of https://github.com/php/doc-en 2022-06-04 16:51:05 +01:00
Derick Rethans
c3e40292f4 Fixed English 2022-06-04 16:50:56 +01:00
Yoshinari Takaoka
255ec56b59
fixed wrong class reference. 2022-06-04 11:35:35 +09:00
Derick Rethans
48e99212ad Fixed bug #79939: RFC 822 and 2822 missing from DateTime 'Compound Formats' 2022-06-02 18:30:13 +01:00
Derick Rethans
5e983c42a0 Fixed bug #79725: Update reference to RFC2822 to RFC5322 2022-06-02 17:18:17 +01:00
Derick Rethans
d9ae294a02 Fixed bug #78267: Change in sun times result with PHP version change 2022-06-02 17:10:01 +01:00
Derick Rethans
26e0c6ef75 Fixed bug #78000: Missing description of reltext's different behaviors (static & method on object) 2022-06-02 17:03:30 +01:00
Derick Rethans
0b54d0b797 Fixed typo in method name 2022-06-02 17:03:06 +01:00
Derick Rethans
e5373bc761 Fixed bug #77701: DateTime::createFromFormat does not set default parts 2022-06-02 16:51:53 +01:00
Derick Rethans
b90e4a6e43 Fixed bug #76620: DatePeriod::getEndDate() drops reference to the end date DateTime object 2022-06-02 16:43:33 +01:00
Derick Rethans
ceedf4c524 Fixed bug #75790: DateTimeZone::getTransitions(start,end)[0] is timestampBegin 2022-06-02 16:37:30 +01:00
Derick Rethans
f5bd78b3c2 Fixed bug #74652: strtotime() does not define behaviour of h/m/s when passed only a date 2022-06-02 16:30:49 +01:00
Derick Rethans
1173d64db8 Add missing parameters/returnvalues for date_create 2022-06-02 16:22:48 +01:00
Derick Rethans
eeeb152d8a Added missing return values/parameters sections 2022-06-02 16:18:33 +01:00
Derick Rethans
071c7cace1 Fixed bug #74324: DateTimeZone supported timezone names 2022-06-02 15:59:09 +01:00
Derick Rethans
c7ee9cd4d1 Fixed bug #74234: DateTimeZone supported timezone names 2022-06-02 15:57:12 +01:00
Derick Rethans
33dd071b0d Fixed bug #72586: Document that order of characters is important 2022-06-02 15:29:47 +01:00
Derick Rethans
fc1c548fab Fixed bug #71108: date_create() is NOT an alias for 'new DateTime()' 2022-06-02 12:18:03 +01:00
Derick Rethans
7bcd434e88 Fixed bug #70463: Document precise date/time parser 2022-06-02 12:10:15 +01:00
Derick Rethans
bbfdc364de Swap DateTime and DateTimeImmutable documention to push people towards using DateTimeImmutable 2022-06-02 11:44:54 +01:00
Derick Rethans
850f18db7f Fixed duplicated > 2022-06-02 11:44:10 +01:00
Derick Rethans
cf25abe5d0 Fixed bug #70154: date_parse() not returning false for missing time components 2022-06-02 10:41:33 +01:00
Máté Kocsis
b2ee26630c
Sync ext/tidy properties with stubs (#1599) 2022-05-30 16:28:22 +02:00
Martin Krisell
9fc8bcc083
Clarify aad parameter in openssl_encrypt/decrypt
Closes GH-1603.
2022-05-30 15:16:44 +02:00
Michelle Paradis
1352dd77d7
[skip-revcheck] Removing extra 'the' (#1602) 2022-05-28 00:37:41 +03:00
Pierrick Charron
08e0e7dd68
Replace each() with foreach in usort and simplexmlelement/xpath 2022-05-26 13:16:41 -04:00
Michal Špaček
6be77ad626
Argon2's memory_cost is in kilobytes, not bytes
https://www.php.net/password-hash says "kibibytes", spec https://www.password-hashing.net/argon2-specs.pdf says "kilobytes", went with "kibibytes" to match the other docs page.

Closes GH-1596.
2022-05-25 19:39:34 +02:00
Christoph M. Becker
0780c13160
Fix GH-1453: missing enum keyword 2022-05-23 16:36:27 +02:00
Christoph M. Becker
36a894a627
Fix #1566: crypt(): --with-external-libcrypt undocumented 2022-05-23 16:09:37 +02:00
Christoph M. Becker
3d9dad29c7
Fix bug #67034: Unable to compare DateInterval instances with == operator
Closes GH-1590.
2022-05-23 11:31:55 +02:00
Rochdi Nassah
9ed2d17d58
Typo (#1593) 2022-05-22 19:31:50 +01:00
Zebulan Stanphill
12ce6e72ca
Fix: Ds\Collection extends IteratorAggregate
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1587.
2022-05-20 17:57:46 +02:00
Derick Rethans
9ff98b3827 Fixed bug #76378: strftime format "%p" is not always uppercase "AM/PM" 2022-05-20 15:45:29 +01:00
Kamil Tekiela
09f4a3f040
Reword parameter description of set_exception_handler (#1004) 2022-05-18 17:56:55 +01:00
Christoph M. Becker
214519fdbd
Fix GH-1586: Changed error behavior in array_chunk in php 8 2022-05-18 14:55:27 +02:00
Marko Kaznovac
4a26c016c3
Fix memcached.get $$flags (#1585) 2022-05-17 16:01:56 +03:00
Christoph M. Becker
214335df7e
Fix Iterator example for PHP 8.1+
The newly introduced tentative return types require us to specify
return types for the method implementation.  Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.

This includes user note 127109 (well, at least the actionable part of
it).
2022-05-17 13:57:38 +02:00
Christoph M. Becker
cfaa7659da
Fix ArrayAccess::offsetExists() example for PHP 8.1+
The newly introduced tentative return types require us to specify
return types for the method implementation.  Since `mixed` is only
available as of PHP 8.0.0, we use the `ReturnTypeWillChange` attribute
to suppress the deprecation for now.

This includes user note 127108 (well, at least the relevant parts of
it).
2022-05-17 13:46:08 +02:00
Yoshinari Takaoka
8d18153861
fixed nullsafe operator link. 2022-05-16 23:26:58 +09:00
Kamil Tekiela
77887dc8e5
Improve resource functions examples (#1435) 2022-05-16 15:20:33 +01:00
Dennis Birkholz
498bb30063
Mention nullsafe object operator in OOP changelog
Closes GH-1584.
2022-05-16 15:00:28 +02:00
Christoph M. Becker
4b3eb0a80c
Drop half-finished clause
Cf. <fd8fcbcd6f (r73701907)>.
2022-05-16 10:24:34 +02:00
Derick Rethans
d836dea93e Fixed #69176: strtotime: support "first/last of" with weeks 2022-05-13 15:47:06 +01:00
Derick Rethans
5267e13731 Fixed bug #67921: createFromFormat allows overflow for 'H' and 'G' so 25-99 rolls to next day 2022-05-13 15:27:53 +01:00
Derick Rethans
43709b0d94 Merge branch 'master' of https://github.com/php/doc-en 2022-05-13 15:15:57 +01:00
Derick Rethans
fd8fcbcd6f Fixed bug #66510: Clarify the return values of DateTimeZone::listAbbreviations 2022-05-13 15:15:43 +01:00
Sergey Panteleev
4a41b3c620
Fix the build 2022-05-13 14:08:44 +03:00
Derick Rethans
8cc12de858 Fixed bug #45509: Clarify ocumentation for DateTime::format and DateTime::createFromFormat's 'Y' character 2022-05-13 11:24:02 +01:00