Commit graph

18306 commits

Author SHA1 Message Date
Christoph M. Becker
0a10abc505 Fix #75073: date_default_timezone_set() doesn't reflect removal 2021-01-15 15:45:42 +01:00
Christoph M. Becker
37323ead95 Basic documentation for missing ssh2 functions and constants 2021-01-14 18:08:40 +01:00
Christoph M. Becker
d80c8d5646 Document ssh2 resources 2021-01-14 16:36:46 +01:00
Christoph M. Becker
0e28d0ea28 PECL/ssh2 DLLs are available for a long time 2021-01-14 14:58:17 +01:00
Christoph M. Becker
4b4883c70a Fix #78370: imagefilltoborder does not fill 2021-01-13 16:07:34 +01:00
Christoph M. Becker
9932902941 Fix ##64470: XMLReader::next($localname) moves cursor even if there is no more $localname 2021-01-13 14:27:40 +01:00
Christoph M. Becker
b316a70fec Fix #65176: openssl_pkey_new / openssl_pkey_get_public 2021-01-13 14:01:18 +01:00
George Peter Banyard
d278431ef5 Remove docs about NSAPI
This SAPI has been removed in PHP 7
2021-01-13 12:49:23 +00:00
Christoph M. Becker
a626743ba6 DatePeriod::__construct() no longer accepts 0 $recurrences
Cf. <https://bugs.php.net/bug.php?id=78590>.

We also document the default value of `$options`, and remove the PHP 5
related changelog entries.
2021-01-13 13:10:30 +01:00
Christoph M. Becker
d85ea8c720 Remove obsolete iisfunc documentation
This extension is unmaintained for more than ten years, and even the
docs say that it's dead (for 11 years now).
2021-01-13 12:14:10 +01:00
Derp
aefd268ba8 Fixed constant name LDAP_OPT_X_TLS_KEYILE
Closes GH-331.
2021-01-13 11:24:48 +01:00
Yoshinari Takaoka
e52245f15d Document OPENSSL_RAW_DATA constant.
This PR integrates user note #117208.

Closes GH-328.
2021-01-13 03:53:11 +09:00
Christoph M. Becker
c05a0bfb23 Fix #66101: IntlCalendar::getDayOfWeekType always return 0 or 1 never 2 or 3 2021-01-12 19:18:03 +01:00
Dharman
be526864c9 Updating mysqli docs: mysqli::__construct
Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-178.
2021-01-12 16:10:33 +01:00
Anna Filina
383a659e1f Remove references to mysql extension and to versions below 7.0
Closes GH-315.
2021-01-12 14:10:03 +01:00
Anna Filina
cc422ba8c7 Fix #55026: Document access to protected/private members using reflection
Closes GH-325.
2021-01-12 12:57:40 +01:00
George Peter Banyard
04d2e39603 Remove SDO docs
This extension doesn't compile since PHP 5.3 and is unmaintained.

Closes GH-326
2021-01-12 11:02:35 +00:00
Christoph M. Becker
a1f57404d7 Fix erroneous whitespace change
Cf. <a3bb15df3f (commitcomment-45824230)>.
2021-01-10 23:03:09 +01:00
Máté Kocsis
14dc7c4736 Generate sockets methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-311.
2021-01-10 19:04:58 +01:00
Christoph M. Becker
a3bb15df3f Remove interals2 book
The "Hacker's guide" is grossly outdated (it is about ZendEngine 2;
some stuff even about ZE1, although ZE4 is current), and nobody is
working on it for years.  Therefore we remove this part of the manual;
users are better off reading external resources, such as
<http://www.phpinternalsbook.com/>.

Closes GH-152.
2021-01-10 15:54:24 +01:00
Tyson Andre
b4d9a0a908 Link to SplFileInfo from is_file()/file_exists() docs
And update the list of values that can be returned by getType based on
php 8.0 ext/standard/filestat.c

SplFileInfo is the only way to do some things, such as

1. Check for the existence of a file that may or may not be readable
   without emitting a notice
   that is caught by whatever error handler the project uses.

   (e.g. file_exists can return false for unix sockets)
2. Check for file types such as unix sockets
   (e.g. `$info->getType() === 'socket'`)

Recently, I was looking for how to check if a given path was a unix
socket and the filesystem functions didn't have any links to that
information.

Closes GH-319.
2021-01-10 13:37:52 +01:00
Dharman
2bd21ff7be Updating mysqli: fixing mysqli_report
Co-authored-by: Anna Filina <afilina@gmail.com>
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-180.
2021-01-10 13:28:10 +01:00
Dharman
a714378ed8 Remove PHP 5 info from mysqli, PDO_MySQL and mysqlnd
Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-253.
2021-01-10 12:47:52 +01:00
Anna Filina
86a02efda4 Fix #54863 by clarifying return values
Closes GH-318.
2021-01-10 12:39:08 +01:00
Julien Boulen
c2db1519bf Fix #74284: Update runtime configuration page for memcached
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-53.
2021-01-09 13:41:38 +01:00
George Peter Banyard
d24e819ef1 Fix docs after stubs fix in php-src 2021-01-08 22:36:52 +00:00
Larry Garfield
ded1af5913 Order the JIT configuration options in definition order.
Closes GH-229.
2021-01-08 19:42:59 +01:00
Yoshinari Takaoka
dde024b52e fixed XPointer evaluation failed build warning.
Closes GH-308.
2021-01-08 01:22:23 +01:00
Alexandru Pătrănescu
fd8eb0ea17 fix return type of array_change_key_case error
fix return type of `array_change_key_case` in case of parameter wrong type that changed from false to null starting PHP 5.3 ~11.5 years ago

Closes GH-314.
2021-01-08 00:52:58 +01:00
George Peter Banyard
a2afb71b63 Extend ReflectionProperty::hasDefaultValue() example
Closes GH-295.
2021-01-08 00:14:21 +01:00
Christoph M. Becker
ad0175ba44 Actually document openssl_cms_*() functions 2021-01-04 13:04:55 +01:00
Christoph M. Becker
e6e8ba36fc Fix section order
The `returnvalues` should be placed before the `changelog`.
2021-01-03 18:32:02 +01:00
Christoph M. Becker
1ae5ae975a Document OpenSSL CMS support
Cf. <https://wiki.php.net/rfc/add-cms-support>.
2021-01-03 18:05:56 +01:00
Christoph M. Becker
8217228b33 Restore overloaded signature of reflectionmethod::__construct()
Still not great, but that constructor is a mess.
2021-01-03 00:32:27 +01:00
DColt
2424a1accc Whitespace fix for datetime.getoffset
Closes GH-307.
2021-01-02 23:36:03 +01:00
Christoph M. Becker
fcb74e8f48 Remove duplicate constructorsynopsis 2021-01-02 16:55:35 +01:00
Máté Kocsis
926842882d Generate dom methodsynopses based on stubs 2021-01-02 16:32:41 +01:00
Christoph M. Becker
c31630ca23 Document XMLWriter class 2021-01-02 16:29:01 +01:00
Christoph M. Becker
e727888942 The procedural Zip API is deprecated as of PHP 8.0.0 2021-01-02 13:08:29 +01:00
Máté Kocsis
c0a030bf35 Generate zip methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-302.
2021-01-02 12:16:20 +01:00
Máté Kocsis
5453bb7d88 Generate string methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-265.
2021-01-02 01:19:41 +01:00
Christoph M. Becker
b2a1cefc64 Remove obsolete PHP 5 info in crypt() docs 2021-01-02 01:15:51 +01:00
Máté Kocsis
d15a12639f Generate sqlite3 methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-303.
2021-01-01 23:40:36 +01:00
Máté Kocsis
18680fd168 Generate FTP methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-305.
2021-01-01 23:20:38 +01:00
Yoshinari Takaoka
2f4863e1f6 improved parameter markup in strtok function description.
Closes php/doc-en#306
2021-01-02 06:57:13 +09:00
Máté Kocsis
2a7c919451 Generate string methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Cf. <https://github.com/php/doc-en/pull/265>.
2021-01-01 19:19:03 +01:00
Christoph M. Becker
3c969c420f Update implode() docs for PHP 8.0.0
Closes GH-269.
2021-01-01 16:22:06 +01:00
Christoph M. Becker
a810fcc1ff implode-fix 2021-01-01 15:48:17 +01:00
Yoshinari Takaoka
4881b14f09 deleted original UTF-7 description.
Halfway deleted in imap-utf7-decode.xml.
2021-01-01 07:17:37 +09:00
Máté Kocsis
e2f50c240b Generate imap methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-297.
2020-12-31 19:30:38 +01:00