Remi Collet
b05a34e65d
typo
2021-10-12 15:00:46 +02:00
hakre
eecf090806
Improve headers_list() example ( #1007 )
...
Two & 1/2 things with the PHP example code:
1. `X-` prefix header names June 2012 [1], [2].
2. PHP prepends the `default_charset` [3] on any `text/*` media type in
Content-Type header, unless the `charset` is with the `header()` call,
like in the example.
3. PHP version 5.1.3 (May 2006) -> 8.0.11, the X-Powered-By header [4]
removed (only distracting w/ the example).
PHP version in use to generate the output: 8.0.11.
[1]: https://datatracker.ietf.org/doc/html/rfc6648
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers
[3]: https://www.php.net/manual/en/ini.core.php#ini.default-charset
[4]: https://www.php.net/manual/en/ini.core.php#ini.expose-php
Co-authored-by: Tiffany <tiffany.k.taylor@gmail.com>
2021-10-12 14:00:01 +01:00
Remi Collet
f57925eef0
Add new methods from version 1.20.0
...
- ZipArchive::clearError()
- ZipArchive::getStreamName($name, $flags=0)
- ZipArchive::getStreamIndex($index, $flags=0)
2021-10-12 14:58:03 +02:00
Máté Kocsis
65a1dc500d
Generate methodsynopses from stubs for ext/intl (IntlCalendar) ( #996 )
2021-10-11 15:02:12 +02:00
Kamil Tekiela
3ef3e56c80
Rewrite count() page ( #948 )
...
* Rewrite count() page
* Change methodname to interface name and fix example output
* Add example with Countable object
* Delete redundant code comments
2021-10-11 13:31:31 +01:00
David CARLIER
c0954ae4e6
socket_get_option/socket_set_option SO_ACCEPTFILTER constants
...
Co-authored-by: Sergey Panteleev <sergey@php.net>
Closes GH-656.
2021-10-11 12:07:39 +02:00
Grigory Tumakov
ea8a344693
Rename old function "setproctitle" to "cli_set_process_title" ( #1008 )
2021-10-11 15:29:31 +08:00
George Peter Banyard
81aced57e0
Follow-up nit
...
Use correct function name instead of the one from the copy/paste
Also update pg_delete as it has the same issues
2021-10-11 00:49:59 +01:00
George Peter Banyard
5589cbb636
Couple of nits to pgsql docs
...
Redundant paragraph
Add <constant> markup and normalize
Fix parameter name
2021-10-11 00:39:34 +01:00
Máté Kocsis
58645a79f1
Generate ext/pgsql methodsynopses based on stubs ( #915 )
2021-10-10 00:23:32 +02:00
Sergey Panteleev
3976ceb925
Add MYSQLI_REFRESH_REPLICA
description ( #1006 )
2021-10-09 23:48:18 +03:00
Danack
b95e76e41d
Types are not hints in PHP. ( #1003 )
...
As they are checked at run-time, type checking is enforced in PHP and not 'hinted'.
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-09 14:43:01 +01:00
Sergey Panteleev
21129de174
[PHP 8.1] Add fdatasync and fsync description ( #1002 )
2021-10-08 21:31:27 +03:00
Yoshinari Takaoka
7859cc5649
deleted duplicate returnvalues section.
2021-10-09 01:11:39 +09:00
George Peter Banyard
8dba51217b
Normalise SPL sorting docs with array ones ( #925 )
2021-10-08 15:29:02 +01:00
Derick Rethans
2245d53f61
Updated to version 2021.3 (2021c)
2021-10-08 12:51:28 +01:00
Máté Kocsis
ed289c6f07
Generate methodsynopses from stubs for ext/intl (IntlBreakreakIterator) ( #904 )
2021-10-08 11:19:48 +01:00
George Peter Banyard
c5546510bd
[skip-revcheck] Fix typo in extractto snippet note
2021-10-08 11:07:39 +01:00
Sergey Panteleev
46364d741c
Fix pspell_new description
2021-10-07 12:18:59 +03:00
Yoshinari Takaoka
81b23db050
[PHP 8.1] Use an Pspell\[Dictionary|Config] instance instead of a resource ( #976 )
...
* add pspell related object class.
* changed resource list description.
* changes pspell function signature and parameters, changelog.
* use pspell.parameter.pspell-dictionary snippet.
2021-10-07 01:00:37 +09:00
Kamil Tekiela
67dc0a5dfc
Change int to bool ( #999 )
2021-10-05 21:39:20 +01:00
沈唁
59c987dca5
Fix the link error on the front page of the manual ( #995 )
2021-10-06 01:15:33 +09:00
Sergey Panteleev
a7e5e563d2
[PHP 8.1] Use GdFont ( #994 )
2021-10-05 15:30:01 +03:00
Kim Hallberg
e09dd5b25a
Fix http_build_query
method signature ( #922 )
...
Closes #916
2021-10-05 10:56:08 +01:00
Sergey Panteleev
8a2141dcc0
Deprecated functions and constants
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-981.
2021-10-04 16:53:40 +02:00
Christoph M. Becker
5e1a9062c0
Fix #81488 : ext/zip doesn't extract files with special names
2021-10-04 15:24:53 +02:00
Sergey Panteleev
5ecd5e8e50
[PHP 8.1] Add array_is_list
description ( #986 )
...
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-02 19:52:56 +03:00
Sergey Panteleev
9b50279c67
[PHP 8.1] Update mysqli_stmt::execute
description ( #987 )
...
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-10-02 19:50:22 +03:00
Kamil Tekiela
ab5887fb61
Small fixes in pdo execute ( #989 )
...
* Use temporary table instead
* Uppercase
* Better description
2021-10-01 17:43:42 +01:00
Máté Kocsis
b0b19b6618
Generate methodsynopses based on stubs for recent changes ( #903 )
2021-10-01 17:23:05 +02:00
Christoph M. Becker
aabe0e631b
Fix typo (preceeded 26 preceded)
2021-10-01 15:54:02 +02:00
Christoph M. Becker
a8f160fa97
Fix #62476 : DateTime::createFromFormat z format incorrect wrt 29.02
...
While this is only a hard requirement as of PHP 8.0.10, without an
explicit year before the day-of-year, previous versions always assumed
on non leap year, as Derick pointed out in chat, so users need the
explicit year anyway for correct code.
2021-10-01 15:33:54 +02:00
Yoshinari Takaoka
485e0b4b44
fixed pgsql resource name.
2021-10-01 04:50:30 +09:00
Yoshinari Takaoka
e706a6b557
fixed removed ldap functions parameter and warning.
2021-10-01 04:32:36 +09:00
Sergey Panteleev
fbc6f9055f
[PHP 8.1] Use an LDAP instance instead of a resource ( #975 )
2021-09-30 15:43:14 +01:00
Sergey Panteleev
4e04068f2d
[PHP 8.1] Add imageavif
and imagecreatefromavif
functions ( #983 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-09-30 13:17:20 +03:00
Sergey Panteleev
68ba58040e
[PHP 8.1] Use an finfo
instance instead of a resource ( #985 )
...
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-30 07:57:59 +03:00
George Peter Banyard
18b8af40b8
Update param name in SplFileObject::fputcsv
2021-09-28 19:28:06 +01:00
Sergey Panteleev
34892f8274
[PHP 8.1] Use an IMAP\Connection
instance instead of a resource ( #971 )
2021-09-28 19:13:36 +01:00
Boris Wintein
7aa6a0cc66
[skip-revcheck] Corrected spelling ( #979 )
...
Diffrent should be different.
2021-09-28 15:45:51 +01:00
Sergey Panteleev
fcbbbd9fda
[PHP 8.1] Update fputcsv
and SplFileObject::fputcsv
description ( #978 )
2021-09-28 14:18:31 +03:00
Tobias Bäthge
422bb03223
strspn() and strcspn(): Use proper parameter names in docs reference
...
* strspn(): Use proper parameter names in docs reference
Commit e095023e40
renamed the `$subject`, `$mask`, and `$start` parameters of the `strspn()` function to `$string`, `$characters`, and `$offset`, respectively. The three instances in the code example were missed.
* strcspn(): Use proper parameter names in docs reference
Commit e095023e40
renamed the `$subject`, `$mask`, and `$start` parameters of the `strcspn()` function to `$string`, `$characters`, and `$offset`, respectively. The three instances in the code example were missed.
Closes GH-977.
2021-09-28 11:39:53 +02:00
Remi Collet
c72aa59abb
add new constant from librpm 4.17
2021-09-28 08:46:02 +02:00
Livia Medeiros
6ce32bdcf3
Fix return value of Imagick::montageImage
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-974.
2021-09-27 14:55:05 +02:00
Milan Davídek
9f915c8621
ReflectionFunctionAbstract is abstract
...
Closes GH-954.
2021-09-27 14:53:56 +02:00
Christoph M. Becker
8ad9c12d9b
Fix #81473 : hash_pbkdf2 truncate in hex
...
We extend the example to show the behavior of raw binary results.
2021-09-27 14:33:58 +02:00
Christoph M. Becker
2f07d53d99
tempnam() issues E_NOTICE on temp dir fallback as of PHP 7.1.0
2021-09-27 14:21:32 +02:00
Sergey Panteleev
7404469919
Fix ftp_login parameter description
2021-09-26 13:11:02 +03:00
Sergey Panteleev
848a71cd9d
Revert ftp.resources section
2021-09-25 13:30:35 +03:00
Christoph M. Becker
0254e633d2
Fix #80431 : parse_url() return fragment, query while there is not
2021-09-24 18:46:45 +02:00