Commit graph

19586 commits

Author SHA1 Message Date
Jeremy Mikola
d8a3faa4af
Fix docs for ClientEncryption constants 2022-06-07 14:21:14 -04:00
Jeremy Mikola
2d23d655aa
MongoDB\Driver\ClientEncryption constructor
https://jira.mongodb.org/browse/PHPC-2097
2022-06-07 14:21:01 -04:00
Yann 'Ze' Richard
5b3fc18be0
Fix GH-1611: mb-internal-encoding() throws ValueError on unknown encoding
Closes GH-1613.

Signed-off-by: Yann 'Ze' Richard <ze@nbox.org>
2022-06-06 16:28:30 +02:00
David CARLIER
e5caf1244e
SO_REUSEPORT constant, statement no longer really exact. (#1612) 2022-06-06 14:16:44 +01:00
Sergey Panteleev
38f5bb6cc0
[PHP 8.1] Add get/hasTentativeReturnType functions (#1615)
Closes #1614

Co-authored-by: Máté Kocsis <kocsismate@woohoolabs.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-06-06 16:07:48 +03:00
Derick Rethans
4586854a24 Fixed bug #74054: New DateInterval properties based on 2022-06-05 15:22:51 +01:00
George Peter Banyard
e8fb9384ca [skip-revcheck] Use spaces instead of tabs for indentation 2022-06-05 12:08:37 +01:00
George Peter Banyard
c613965f9a Some nits to datetime docs 2022-06-05 12:08:37 +01:00
Yoshinari Takaoka
c2674e232e
fixed dayname note link destination.
For some reason, PhD does not generate anchor link to <note>.
This fix is temporary workaround.
2022-06-05 18:32:50 +09:00
Yoshinari Takaoka
089983558f
fixed parameter markup
there is no named parameter "Unix timestamp".

https://github.com/php/php-src/blob/php-8.1.6/ext/date/php_date.stub.php#L8
2022-06-05 10:21:45 +09:00
Derick Rethans
dab41534c6 Fixed bug #79926: Unclear behavior with createFromFormat using absolute and relative values 2022-06-04 18:14:24 +01:00
Derick Rethans
0aba3ea811 Fixed bug #80694: DateTimeImmutable::createFromFormat not return false in all cases 2022-06-04 17:53:29 +01:00
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
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
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
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
Kamil Tekiela
77887dc8e5
Improve resource functions examples (#1435) 2022-05-16 15:20:33 +01: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