Commit graph

27335 commits

Author SHA1 Message Date
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
Máté Kocsis
7f99d5e488
Remove some unnecessary methodsynopsis role attributes (#913) 2021-09-14 14:37:29 +02:00
Máté Kocsis
35b57d9df0
Remove some unnecessary abstract modifier from methodsynopses (#914) 2021-09-14 12:43:32 +01:00
Milan Davídek
5a8b53edab
Fixed synopsis of IteratorAggregate
IteratorAggregate is an inteface, not a class

Closes GH-946.
2021-09-13 17:30:34 +02:00
Christoph M. Becker
871fdba56f
Fix 71082: Order of use clause and return type declaration unspecified 2021-09-13 17:20:48 +02:00
Márton Visnovitz
f739452fff
Add note about GLOB_BRACE flag not working in Alpine (#945) 2021-09-13 16:02:27 +01:00
Kamil Tekiela
25a4efd32a
Reword PDOStatement::nextRowset example description
Closes GH-940.
2021-09-13 15:48:46 +02:00
Christoph M. Becker
6e67c80bc7
Revert "Fix #944: Usage of class keyword unclear"
This reverts commit 57ea81ca45.

Cf. <https://news-web.php.net/php.doc.cvs/18875>.
2021-09-13 13:40:34 +02:00
Christoph M. Becker
57ea81ca45
Fix #944: Usage of class keyword unclear 2021-09-13 12:38:05 +02:00
Kamil Tekiela
ee741f884f
[skip-revcheck] typo 2021-09-10 12:17:01 +01:00
Kamil Tekiela
0df813e8c5
[skip-revcheck] grammar 2021-09-10 11:35:58 +01:00
Peter Cowburn
1bfd6a1d79
WS - remove trailing whitespace
[skip-revcheck]
2021-09-09 22:19:52 +01:00
Peter Cowburn
36571044a0
changelog for typeerror -> argumentcounterror in PHP 7.1.0 2021-09-09 22:19:51 +01:00
Barney Laurance
900b6a65c0
Add typed properties reference to TypeError page (#936) 2021-09-09 22:18:23 +01:00
Christoph M. Becker
89ee07c72d
Match substr() description to its signature
substr() no longer returns false as of PHP 8.0.0.
2021-09-09 18:04:26 +02:00
Christoph M. Becker
6199e10e91
simplexml_load_file(): see also libxml_set_streams_context()
Cf. <https://bugs.php.net/53369>.
2021-09-09 16:27:36 +02:00
Kim Hallberg
017824544c
Remove php_logo_guid references (#934) 2021-09-09 11:46:11 +08:00
Yoshinari Takaoka
3cdd39bb95
Followed change of default value of display_startup_errors, as of PHP 8.0.0 (#927)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-09-08 19:00:30 +09:00
Yoshinari Takaoka
abb0c22310
Deleted old PHP 5.3 -> 5.4 tiger hash compatibility example. (#926) 2021-09-08 00:41:10 +01:00
Christoph M. Becker
f7ee329405
Document that mailparse_msg_free() should be called explicitly
Cf. <https://bugs.php.net/bug.php?id=73110>.
2021-09-07 17:04:47 +02:00
Christoph M. Becker
487fa1db84
Document mailparse.def_charset INI setting 2021-09-07 16:06:53 +02:00
Christoph M. Becker
7d5af18bbd
Document mailparse resource 2021-09-07 15:53:04 +02:00
Maurício Meneghini Fauth
7a7ad98fe2 Document the null behaviour for http_build_query 2021-09-06 11:54:18 -03:00
Dennis Birkholz
4854fd6254
DomElement::setAttribute does not always return a new DomAttr instance
See https://3v4l.org/8YrUO

Closes GH-919.
2021-09-06 15:45:41 +02:00