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
Christoph M. Becker
e95ae8d94c
Fix #74599 : parse_url allows bad characters in the common name
...
We remove this sentence altogether, because the return values section
provides the correct info now (besides that "invalid" is not specific
enough, the replacement is done on the result, not on the input).
2021-09-24 18:16:24 +02:00
Christoph M. Becker
416b9e9bdb
Fix #68296 : \n in path with parse_url() converts to underscore
2021-09-24 17:56:13 +02:00
Sergey Panteleev
4d1c34c9b7
[PHP 8.1] Use an FTP\Connection
instance instead of a resource ( #967 )
...
Co-authored-by: Peter Cowburn <petercowburn@gmail.com>
2021-09-24 13:17:30 +03:00
Christoph M. Becker
a96f81e58a
Fix typo
2021-09-23 19:38:33 +02:00
Christoph M. Becker
39cd8c54e8
Fix #68564 : Apparent inconsistency in the GC page
2021-09-23 18:40:12 +02:00
Christoph M. Becker
d33a6756e7
Fix #71206 : oci_fetch_all() returns 0 on failure
...
The signature has recently been updated, but the
&return.falseforfailure; has been overlooked.
2021-09-23 17:48:18 +02:00
David CARLIER
a6231c4c8b
rlimit constants update related to php 8.0.2 update ( #436 )
2021-09-23 14:01:12 +01:00
Craig Francis
eff487cfb3
Use 'ENT_QUOTES|ENT_SUBSTITUTE' for HTML encoding and decoding functions ( #361 )
2021-09-23 14:00:33 +01:00
George Peter Banyard
975e9114e8
Add documentation about the never type ( #889 )
2021-09-23 13:59:21 +01:00
Máté Kocsis
ed6de1ae20
Update ext/oci8 methodsynopses based on stubs ( #601 )
2021-09-23 13:55:36 +01:00
Yoshinari Takaoka
f8682cd86a
fixed wrong package name. also, replaced apt-get command.
2021-09-23 11:45:22 +09:00
Yoshinari Takaoka
03903669e6
Update Debian GNU/Linux installation notes ( #965 )
...
Updated Debian GNU/Linux installation notes, based on Debian 11 (bullseye).
we should replace php5 related package name.
update ini file location.
use not apt-get, but apt for interactive usage.
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_literal_apt_literal_vs_literal_apt_get_literal_literal_apt_cache_literal_vs_literal_aptitude_literal
Closes #964
2021-09-23 03:02:46 +01:00
John Barounis
887197f289
[skip-revcheck] Typo in EV book.xml ( #966 )
2021-09-23 03:01:49 +01:00
George Peter Banyard
4eeb07225f
Remove old install docs ( #662 )
...
* Remove docs for Apache 1
* Probably Apache2 doc fix
* HPUX is effectively dead, let's remove the docs
* Remove outdated info for Solaris/OpenBSD
We probably should improve those and/or drop them completely
* FPM
* Remove rackspace, it is not linked anywhere
* Update PECL
* INI configuration
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Yoshinari Takaoka <mumumu@mumumu.org>
2021-09-23 01:38:33 +09:00
George Peter Banyard
4d2479dcf3
Migration guide from PHP 8.0 to PHP 8.1 ( #941 )
...
Initial version for the PHP 8.0 to 8.1 migration guide.
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2021-09-22 15:13:39 +01:00
Christoph M. Becker
2eb43ad4f4
Fix #73238 : call_user_func() doesn't pass-by-ref; variable functions do
2021-09-22 13:57:05 +02:00
Kamil Tekiela
a6d7e331c3
Revert "Deprecated MYSQLI_REFRESH_SLAVE in favor of MYSQLI_REFRESH_REPLICA"
...
This reverts commit 5d2ef1771f
.
2021-09-22 11:00:31 +01:00
Philip Olson
5d2ef1771f
Deprecated MYSQLI_REFRESH_SLAVE in favor of MYSQLI_REFRESH_REPLICA
2021-09-21 15:02:06 -07:00
Alexander Pas
3c699fad2d
Fix mixed
return type declarations and parameters of Misc. Functions ( #942 )
2021-09-21 12:11:43 +01:00
Sergey Panteleev
268d48a184
Remove PHP 5 reference ( #959 )
2021-09-21 11:36:42 +01:00
Carlos C Soto
4d546a0a53
DOMDocument::documentElement property can be NULL
...
Property `documentElement` is `NULL` when there is no document element since PHP 5.4.0. https://3v4l.org/vOYYo
```php
var_dump( (new DOMDocument())->documentElement );
NULL
```
Other NULL properties on `DOMDocument` and `DOMNode` has been set before, see https://github.com/php/doc-en/pull/52
Closes GH-955.
2021-09-20 16:12:50 +02:00
Christoph M. Becker
c807f27964
Fix #81189 : PDOStatement::fetchAll() claims "false on failure" return
2021-09-20 12:15:17 +02:00
Martin Samesch
94af09dfef
typo
2021-09-20 11:23:20 +02:00
Máté Kocsis
7973fd5333
Generate some standard methodsynopses based on stubs ( #289 )
2021-09-19 12:30:47 +01:00
Yoshinari Takaoka
a4ba07f273
fixed localtime returnvalues description. ( #692 )
...
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
Co-authored-by: Anna Filina <afilina@gmail.com>
2021-09-17 21:28:56 +01:00
Sergey Panteleev
6b739fa2ec
Add get_mangled_object_vars
description ( #953 )
...
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-17 22:55:42 +03:00
Kim Hallberg
f63aa0afcd
[80738] Update MB string functions ( #630 )
...
* Add new `mbstring.changelog.needle-empty` entity
* Update changelog with `mbstring.changelog.needle-empty` entity
The following functions now support an empty `needle` argument.
- mb_strpos
- mb_strrpos
- mb_stripos
- mb_strripos
- mb_strstr
- mb_stristr
- mb_strrchr
- mb_strrichr
2021-09-17 20:53:19 +01:00
Kim Hallberg
39148ec514
Fix password_needs_rehash
method signature ( #930 )
2021-09-17 20:50:45 +01:00
Kim Hallberg
9bdf88f157
Fix attribute example titles ( #952 )
...
Closes #951
2021-09-17 20:33:38 +01:00
Christoph M. Becker
1b06187eb1
Recommend absolute paths for extension_dir
...
The search strategy for loading dynamic modules (dlopen/LoadLibrary)
depends on the system, and the "base" directory on the SAPI, so we
recommend to use an absolute path.
2021-09-17 18:25:54 +02:00
Christoph M. Becker
56a34a0d11
Add missing visibility modifier
2021-09-17 00:23:18 +02:00
Tyson Andre
1f64cacbb5
Add documentation for the var_representation PECL
...
Closes GH-885.
2021-09-16 19:14:10 +02:00
Sergey Panteleev
7c2251296a
Add imagecreatefromtga
description
...
Closes GH-950.
2021-09-16 13:02:06 +02:00
Martin Samesch
714d8e584c
typo
2021-09-14 19:44:23 +02:00
Máté Kocsis
af024f4800
Fix methodsynopsis role of curl_file_create()
...
It used to be erroneously removed.
Closes GH-947.
2021-09-14 16:47:44 +02:00
Kamil Tekiela
67c340d029
Updating mysqli: data_seek
...
* Simplified examples
* Add mysqli_stmt_get_result
* Fix example tags
* Added a secondary example
* Fix code comments
Closes GH-887.
2021-09-14 15:25:19 +02:00
garretm
fd6629b1ac
Remove duplicate "Superglobals"
...
In the site it looked like "Superglobals — Superglobals are built-in variables that are always available in all scopes"
https://www.php.net/manual/en/language.variables.superglobals.php
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
Closes GH-924.
2021-09-14 15:22:15 +02:00
Kamil Tekiela
52dc204a77
Add note about NOP code
...
Closes GH-933.
2021-09-14 15:09:52 +02:00