Commit graph

26466 commits

Author SHA1 Message Date
Christoph M. Becker
dd48d47d8b Fix re2c requirement info
Cf. <https://github.com/php/php-src/pull/6593>.
2021-01-13 17:52:07 +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
George Peter Banyard
a9edd62d08 Refactor OO section
This mostly consists of removing PHP 5 mentions and rewritting the docs accordingly.

Reviewed by Christoph M. Becker <cmbecker69@gmx.de> and Anna Filina <afilina@gmail.com>

Co-authored-by: Anna Filina <afilina@gmail.com>

Closes GH-277
2021-01-13 04:00:03 +00: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
Yoshinari Takaoka
9a07a96850 fixed current Zend Engine Version.
PHP 8.0.1 (cli) (built: Jan  8 2021 19:12:31) ( NTS )
Copyright (c) The PHP Group
Zend Engine v4.0.1, Copyright (c) Zend Technologies
2021-01-11 12:27:09 +09: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
George Peter Banyard
1822bb3819 Make class type declaration context independent
Closes GH-316
2021-01-10 01:40:34 +00: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
f0d6f41604 Add 'parent' type declaration 2021-01-09 01:25:56 +00:00
George Peter Banyard
a8aca5fb3f Typo in code output 2021-01-09 00:46:23 +00: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
Andreas Möller
9b205665d2 Enhancement: Switch from Travis CI to GitHub Actions
Closes GH-299.
2021-01-08 19:20:12 +01:00
Christoph M. Becker
c4ac84bedb Fix #68540: Documenation about checking SimpleXML needs clarification 2021-01-08 12:07:40 +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
027f187b3e Remove migration guides for PHP 5
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-157.
2021-01-08 00:38:12 +01:00
George Peter Banyard
a2afb71b63 Extend ReflectionProperty::hasDefaultValue() example
Closes GH-295.
2021-01-08 00:14:21 +01:00
Cees-Jan Kiewiet
db29d86808 Add QuickStart with homebrew
Closes GH-116.
2021-01-07 22:58:06 +01:00
Jeremy Mikola
c47cd31566 Fix spacing in mongodb.option.encryption.kmsProviders 2021-01-06 21:20:20 +08:00
Nilgün Belma Bugüner
d60cfe1bfd chmod -x 2021-01-06 15:22:17 +03:00
Henri Larget
646e6eb3e3 fix typo in arithmetic assignment operators
Closes GH-313

Signed-off-by: George Peter Banyard <girgias@php.net>
2021-01-05 22:54:51 +00:00
Christoph M. Becker
ad0175ba44 Actually document openssl_cms_*() functions 2021-01-04 13:04:55 +01:00
Christoph M. Becker
bcd51bdf1d Update "How to read a function definition" section
Since there are barely any differences to user defined functions, this
section could mostly be dropped, but for now we just update to match
the manual proper. See also <https://github.com/php/phd/pull/37>.
2021-01-04 13:03:44 +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