Commit graph

26927 commits

Author SHA1 Message Date
Larry Garfield
6b509ccf78
Fold comments into interfaces page
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>

Closes GH-594.
2021-05-12 16:52:12 +02:00
Sergey Panteleev
184f3f7bd4
Remove PHP 5, 7 references (#565) 2021-05-12 14:49:16 +03:00
Yoshinari Takaoka
9da37a457a
fixed SQLite3::setAuthorizer parameter order description. (#593)
5th and 6th parameter description is wrong, because they are copy-and-pasted from the following C interface manual page.

https://www.sqlite.org/c3ref/c_alter_table.html
2021-05-11 06:33:41 +09:00
SvenRtbg
477c5f97a6
Document the changes to syslog.filter
* Documenting the changes to syslog.filter

https://github.com/php/php-src/pull/4265 restored the previous handling of multi-line log messages by adding `syslog.filter=raw`.

* Highlight the fact that line splitting is happening in all of the three original modes, but not in "raw".

* Add "raw" to syslog section of 7.3 migration guide

Closes GH-589.
2021-05-10 18:19:06 +02:00
Yoshinari Takaoka
e86cd44003
added get_debug_type version info. 2021-05-10 17:50:00 +09:00
Yoshinari Takaoka
0edc11c6c4
fixed example title. 2021-05-10 17:42:39 +09:00
markrandall
51aee00be4
Improve get_debug_type() docs
Closes GH-591.
2021-05-09 22:50:18 +02:00
Yoshinari Takaoka
de8b838487
Added PHP 8 into versions.xml for phar based on stubs. (#350) 2021-05-08 19:40:42 +09:00
Sergey Panteleev
6a7a96ccc6
file_get_contents length parameter (#590)
* Rename maxlen parameter to length
2021-05-07 17:00:24 +03:00
Christoph M. Becker
f8476c9e0b
Fix BC number regex
* the integer part may contain non-leading zeroes
* The decimal point has to be a full stop
* the fractional part requires a leading decimal point
2021-05-07 14:18:59 +02:00
Máté Kocsis
c9c158137b
Generate ext/pdo methodsynopses based on stubs (#494) 2021-05-06 14:50:35 +02:00
Larry Garfield
fb5362c8b9
Reflection deprecation (#578)
* Clarify what a built-in type is.
* Add PHP 8 equivalent of ReflectionParameter::isArray().
* Leave note on ReflectionParameter::getClass() for what to use instead.
* Clarify order of the array in getParameters().
* Add example to aid working with union types.
* Add updated equivalent of isCallable().
2021-05-06 02:57:35 +02:00
Sergey Biryukov
ca9dbbbd2d
Remove extra full stop (#587)
Just removing an extra full stop before a constant name.

Follow-up to f3b5475 / #528.
2021-05-06 02:38:48 +02:00
Christoph M. Becker
304f2b04c9
Document PHP_EXTENSION_DIR
Cf. <https://bugs.php.net/bug.php?id=80969>.
2021-05-05 18:23:58 +02:00
Vincent JARDIN
06274b9824 Improve openssl-pkcs7-read + example for p7b
The input shall be a string data.

Basic example along with the error cases.

Fix: related to, bb0107b63d
2021-05-05 13:13:19 +01:00
George Peter Banyard
f22131593a
Revert param name change
As it needs to match the stubs in php-src for named arguments
2021-05-04 22:09:10 +01:00
Yoshinari Takaoka
7992b37212
Added PHP 8 into versions.xml for intl based on stubs. (#429) 2021-05-05 05:13:12 +09:00
Vincent JARDIN
284e06bd4d Improve openssl-pkcs7-read + example for p7b
The input shall be a string data.

Basic example along with the error cases.
2021-05-04 19:56:48 +01:00
Yoshinari Takaoka
1200e4ec5a Added PHP 8 into versions.xml for pdo based on stubs. 2021-05-04 18:54:58 +01:00
thinkverse
299d1daf07 Add missing parameters, returnvalues sections for reference/zookeeper
Bundle reference/zookeeper/* missing returnvalues and
parameters sections into one single commit.
2021-05-04 18:29:26 +01:00
George Peter Banyard
5ccee0ae1c Move iterable variance section to OOP section 2021-05-04 18:25:23 +01:00
Yoshinari Takaoka
e5d4a8419d
remove already deleted session function on PHP 5.4.0 (#583) 2021-05-03 23:44:04 +09:00
Kamil Tekiela
84e8f0960b
Removed redundant if and use short array syntax (#571) 2021-05-03 12:35:23 +02:00
Kim Hallberg
74155fb94b
Fix Yac::__construct documentation. (#570)
Add missing errors section
2021-05-03 12:02:53 +02:00
Kim Hallberg
ccc438a27b
Update miscellaneous variable handling functions. (#579)
Fix `print_r` Notes section before examples.
Fix `is_object`, `gettype` Example section before changelog.
Fix `get_defined_vars` No parameters sections.
2021-05-03 11:55:42 +02:00
Kim Hallberg
8bf12014c3
Fix fontFamilies No returnvalues sections (#581)
Co-authored-by: George Peter Banyard <girgias@php.net>
2021-05-03 11:53:33 +02:00
Kim Hallberg
c9893954e1
Fix #80671: Update mb_convert_encoding
* Update `mb_convert_encoding` changelog
Now throws `ValueError` if either $to_encoding or $from_encoding
are passed an invalid encoding, this change was introduced in PHP 8.0
* Add errors section to `mb_convert_encoding`

Co-authored-by: George Peter Banyard <girgias@php.net>

Closes GH-582.
2021-05-03 10:52:52 +02:00
Yoshinari Takaoka
90997ee146 Added PHP 8 into versions.xml for ffi based on stubs.
https://github.com/php/php-src/blob/php-8.0.0/ext/ffi/ffi_arginfo.h
https://github.com/php/php-src/blob/php-8.0.0/ext/ffi/tests/027.phpt#L79-L86
2021-05-02 20:20:33 +09:00
Yoshinari Takaoka
d3191e2f3c replaced deprected warning with deprecated-removed one. 2021-05-02 14:18:03 +09:00
Yoshinari Takaoka
2cf7e8823c added missing [deprecated|removed] info of reflector class. 2021-05-02 14:13:57 +09:00
Yoshinari Takaoka
7bdd9249f2 added WeakReference "PHP 8" version info.
https://github.com/php/php-src/blob/PHP-8.0/Zend/zend_weakrefs_arginfo.h#L38-L40
2021-05-02 08:45:46 +09:00
George Peter Banyard
c69c209823
Fix explode() changelog entry
Drive-by indentation fix of the section
2021-05-01 19:14:48 +01:00
thinkverse
4d72f13eaf
Fix missing sections/section order for Win32Services extension
Closes GH-577
2021-04-30 22:44:22 +01:00
Kim Hallberg
f47136fc2b
Fix uopz_unset_mock, uopz_set_mock No returnvalues sections (#580) 2021-04-30 23:01:43 +02:00
Kim Hallberg
cee13276de
Add missing parameter sections to XMLReader methods (#574)
- close
- isvalid
- movetoelement
- movetofirstattribute
- movetonextattribute
- read
2021-04-30 22:16:16 +02:00
thinkverse
0dade75260 Fix errors section not being in position four 2021-04-30 19:15:16 +01:00
thinkverse
4dcf5a9f13 Fix xml_get_current_byte_index notes section before changelog 2021-04-30 19:14:49 +01:00
thinkverse
0d0c319c7d Fix xml_set_default_handler return values section out-of-order 2021-04-30 19:14:49 +01:00
thinkverse
e17ff04a4a Add missing parameters section 2021-04-30 19:14:26 +01:00
Yoshinari Takaoka
202724dcac Added PHP 8 into versions.xml for reflection based on stubs. 2021-04-30 16:49:54 +01:00
Kim Hallberg
289efd69f9
Fix notes section being in wrong order for reference/zip (#568) 2021-04-30 15:52:17 +02:00
Kim Hallberg
435885e2f7
Add missing parameters section to zlib-get-coding-type.xml (#567) 2021-04-30 15:41:00 +02:00
George Peter Banyard
8f5f6a52c0 Remove POSIX regex docs 2021-04-30 13:29:24 +01:00
Christoph M. Becker
bca9a9e2d9
readline_on_new_line() is not always available 2021-04-30 11:11:42 +02:00
George Peter Banyard
eacabc8e15
Update string format specifier entity
- Remove PHP 5 mentions
- Add references to 'H' and 'h' specifiers
- Use canonical type names
2021-04-30 02:43:24 +01:00
George Peter Banyard
bcb7074498
Fix sentence and remove PHP 5 info in PCRE pattern modifiers 2021-04-30 01:55:44 +01:00
George Peter Banyard
10c85e65bb
Fix mail Changeable INI section 2021-04-30 01:55:44 +01:00
Yoshinari Takaoka
cdcad4c395 Added PHP 8 into versions.xml for spl based on stubs. 2021-04-30 00:11:29 +01:00
thinkverse
8a7c2e0368 Fix changelog being at the wrong section 2021-04-29 19:28:16 +01:00
Kim Hallberg
6b5de328b9
Fix #80975: Doc incomplete - explode
* Add TypeError to changelog
* Add note about seperator values at start of end of string

Closes GH-558.
2021-04-29 18:03:25 +02:00