Commit graph

27113 commits

Author SHA1 Message Date
George Peter Banyard
9bbb2a70cc
No need for two changelog sections 2021-05-24 01:12:24 +01:00
Yoshinari Takaoka
eafb431a9a
fixed typo. 2021-05-24 00:10:43 +09:00
Christoph M. Becker
6a5b42e0d3
Remove obsolete PHP 5 specific info from appendices 2021-05-23 16:50:50 +02:00
Christoph M. Becker
24ea750d47
Remove PHP 5 specific info 2021-05-23 15:07:41 +02:00
Christoph M. Becker
6f41560bf1
Fix #81065: Changes to Reflection modifiers not documented 2021-05-23 14:46:27 +02:00
Christoph M. Becker
c50bbeddc9
Fix #81069: Minor parameter error in documentation 2021-05-23 13:47:22 +02:00
Máté Kocsis
e2a460ca39
Generate some standard methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-05-23 13:26:34 +02:00
Shyim
7c74b86d6d
Update get_headers function methodsynopsis
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-622.
2021-05-23 12:57:16 +02:00
Kamil Tekiela
20fb8a52f4
Updating mysqli: mysqli_close
* Replace the old note with something clearer
* Create proper example
* Do without fetch_all

Closes GH-619.
2021-05-23 00:18:01 +02:00
Kamil Tekiela
91bec719b3
Fix #81073: bad example titles for PDOStatement::execute
Closes GH-621.
2021-05-22 23:17:22 +02:00
Kamil Tekiela
ecf8d0250e
Remove words 'last' and 'failed' 2021-05-22 22:15:07 +01:00
Kamil Tekiela
9ee5d8bbb8
Fix the examples for character_set_name
* Fix the examples for character_set_name
* a -> the
* Returns the current character set

Closes GH-618.
2021-05-22 23:12:44 +02:00
Kamil Tekiela
614d77598a
Updating mysqli: connect_error & connect_errno
* Remove unhelpful notes
* It's not only mysqli_connect. It's any connection attempt
* It's not only mysqli_connect. Reduced clutter
* Added explanatory comments in the code and used error_log

Closes GH-620.
2021-05-22 23:05:08 +02:00
Rowan Tommins
9863d12c5e
Clarify that \Q and \E don't affect delimiters
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-611.
2021-05-22 17:38:07 +02:00
Máté Kocsis
5916fd8f74
Update ext/simplexml methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes-GH 599.
2021-05-22 17:15:57 +02:00
Máté
c44475e1fa
Generate methodsynopses based on stubs for Zend functions and methods
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-168.
2021-05-22 16:48:16 +02:00
Máté Kocsis
5770355a66
Various methodsynopsis updates based on recent stub changes
* Update ext/zip methodsynopses based on stubs
* Update resource-related ext/standard methodsynopses based on stubs
* Update ext/dom methodsynopses based on stubs
* Update ext/ffi methodsynopses based on stubs
* Update ext/fileinfo methodsynopses based on stubs
* Update ext/soap methodsynopses based on stubs
* Update ext/sodium methodsynopses based on stubs
* Update ext/ldap methodsynopses based on stubs

Closes GH-598.
2021-05-22 15:24:20 +02:00
Karsten Lehmann
0867f488b5
Fix parameter names for rmdir function (#615) 2021-05-22 12:00:44 +01:00
Karsten Lehmann
4ac2306796
Fix parameter names for mkdir function
Closes GH-614.
2021-05-22 12:24:31 +02:00
AlexandrErohin
c945294038
Added Static Properties example for Traits (#488) 2021-05-21 21:09:16 +03:00
Dat Hoang
88f6725933
Add outputs to show differences between PHP 8 and previous versions (#602) 2021-05-21 21:06:26 +03:00
Christoph M. Becker
1fe877df2e
Fix #81066: Documentation conflicts about default PDO error mode 2021-05-21 18:14:23 +02:00
Sebastian Hädrich
e2c7b3635d
Add link to spec (#613)
* Add link to spec

* Make entity lowercase for consistency
2021-05-21 15:24:46 +03:00
George Peter Banyard
fa2d2496e1
Refactor SEM constant page to use standard formating 2021-05-20 18:37:16 +01:00
YutaAdachi
e1d58b4166
Fix the default value of rollback-on-cached-plink
Closes GH-610.
2021-05-20 14:59:35 +02:00
Sergey Panteleev
3a16221dd9
Remove PHP 4 ref from FDF 2021-05-20 10:22:48 +03:00
Sergey Panteleev
56eca1c39d
Add TokyoTyrant references 2021-05-20 09:20:57 +03:00
Yoshinari Takaoka
655dc9013c
Clean up Classname::Method refs (part II) 2021-05-20 01:20:41 +09:00
Sergey Panteleev
a4645fd639
Clean up Classname::Method refs (#608) 2021-05-19 18:00:45 +03:00
Sergey Panteleev
cbd86aa2a1
TokyoTyrantException reference (#609) 2021-05-19 17:59:58 +03:00
Yoshinari Takaoka
16c0995798
followed parameter fix in the previous commit.
ref: c1a31a1a3d
2021-05-19 02:54:28 +09:00
Alexander Schranz
c1a31a1a3d
Fix fputcsv for php 8 to separator
Closes GH-607.
2021-05-18 14:00:44 +02:00
Shyim
a7421437b6
Remove Windows XP note
Closes GH-605.
2021-05-18 11:28:26 +02:00
Sergey Panteleev
8cdc6621f9
Remove PHP 5, 7 references (#563)
- array functions
- datetime functions
- mbstring functions
- strings functions
- var functions
- xml functions
- json functions
2021-05-16 22:07:40 +03:00
Yoshinari Takaoka
86ff4f0fe3
Added PHP 8 into versions.xml for dom based on stubs. (#431) 2021-05-15 19:20:18 +09:00
Yoshinari Takaoka
c045b64078
added named arguments link. 2021-05-13 11:33:06 +09:00
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