Commit graph

19408 commits

Author SHA1 Message Date
Christoph M. Becker
b9043112d8
Fix GH-1415: xref not working? 2022-02-18 10:55:04 +01:00
Christoph M. Becker
14b55b8b4b
Don't use old style constructor in example
Closes GH-1406.
2022-02-15 13:19:43 +01:00
the-toster
a416cd2c01
ReflectionClass::isEnum method (#1390) 2022-02-14 13:58:13 -06:00
carnage
012af70e47
Should use constant time sodium_bin2hex in examples
Closes GH-1399.
2022-02-14 12:22:30 +01:00
Jakub Zelenka
04210d535d
Update FPM installation and intro (#1407) 2022-02-13 22:14:47 +00:00
魔王卷子
3a1b673c5f
Fix wrong parameter name
Closes GH-1404.
2022-02-13 14:34:19 +01:00
魔王卷子
f0e6ac0428
[skip-revcheck] fixed typo (#1401) 2022-02-12 17:08:11 +00:00
Peter
560262a557
Update strlen documentation for PHP8
Length parameter to substr() behaves differently for PHP8+. It recognizes null as if no value was provided at all. Updated the documentation to reflect this.

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1219.
2022-02-10 12:53:41 +01:00
Jeremy Mikola
e4d26f1b44
Fix return type docs for unserialize() methods
Closes #1388
2022-02-09 12:56:30 -05:00
Niklas Keller
06b716a4c3
Fix parameter type for eio_readlink
See 5291fa10d0/php8/php_eio.stub.php (L101)

Closes GH-1386.
2022-02-09 08:25:16 +01:00
tnsoftbear
235a4b9e5a
Fix argument type in EventBufferEvent::setCallback() method and make it mixed instead of string. Add missed $arg argument to signature of EventBufferEvent::__construct()
* Fix argument  type in EventBufferEvent::setCallback() method and make it mixed instead of string.

* Add missed  argument to signature of EventBufferEvent::__construct()

Closes GH-1384.
2022-02-07 12:17:26 +01:00
Rotzbua
8a28a068fa
Add return value "AVIF Support" to gd_info()
Closes GH-1379.
2022-02-07 12:08:24 +01:00
George Peter Banyard
2b56c905fb
Fix error in touch() atime param docs
Closes GH-1377.
2022-02-06 12:55:00 +01:00
Safak Ozpinar
482fe6f482
Fix ini directive name for uopz extension
Closes GH-1378.
2022-02-06 12:44:45 +01:00
Jordi Boggiano
6b0ab29716
Fix ini name
Closes GH-1376.
2022-02-04 17:04:39 +01:00
Karmel0x
3562cc154f
PDOStatement::bindParam maxLength is confusing (#1371) 2022-02-02 17:51:14 +00:00
Christoph M. Becker
de99fc78de
Don't document ZPP failure return values
Cf. <https://github.com/vimeo/psalm/issues/7478>.
2022-02-01 23:14:29 +01:00
Philip Olson
607ec1f63c Mention LOAD LOCAL INFILE functionality was added in 8.1.0 2022-01-25 20:25:23 -08:00
Fabien Villepinte
01e5ac284e
Add missing changelog for Phar::getMetadata()
Closes GH-1357.
2022-01-25 21:12:49 +01:00
Gabriel Millian
7d1b425bd7
Fix typo (case-insentive → case-insensitive)
Closes GH-1354.
2022-01-21 23:47:49 +01:00
Christoph M. Becker
1ceec35d4d
SimpleXMLElement::children() returns null for attribute nodes 2022-01-20 12:00:39 +01:00
Tony Su
092a101134
Clarification for usage of JIT tunable options
This patch clarifies the usage of the four JIT tunable options -
jit_hot_{loop,func,return,side_exit} - in PHP manual which end users
should be aware of before they start to tune these options.

1. Valid value range
2. Default value will be used in case beyond valid range
3. Special case of zero value

The patch was verified on my machine with phd local website.

Signed-off-by: Su, Tao <tao.su@intel.com>

Closes GH-1350.
2022-01-19 11:56:57 +01:00
Okyn
6bff8377b9
Fix typo (ppolicy → policy )
Closes GH-1347.
2022-01-18 18:41:09 +01:00
Tony Su
c46a5fe7bc
Clarification of jit_bisect_limit usage
As a new bird to PHP interpreter, I tried to set jit_bisect_limit
with jit=tracing in order to debug/probe PHP JIT feature, but
failed to hit my breakpoint and hence got confused.

I found that jit_bisect_limit only works under special JIT trigger
mode like 0: on script load, or 1: on first execution, after heavily
reading source code and trial-and-error experiments.

So, I would like to clarify the usage in PHP manual.
Hopefully, this can save time cost and reduce confusion of new PHP
interpreter developers.

The patch is verified on my local machine with phd build and the
web content and link looks good.

Signed-off-by: Su, Tao <tao.su@intel.com>

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1337.
2022-01-17 22:15:29 +01:00
Jakub Zelenka
dc54babb68
Fix method call CS in gnupg examples 2022-01-16 22:08:32 +00:00
Jakub Zelenka
f393ece5f3
Document gnupg_getengineinfo (#1339) 2022-01-16 21:45:23 +00:00
Jeremy Mikola
33d23851b0
Warning about duplicate keys in BSON documents
https://jira.mongodb.org/browse/PHPC-1342
2022-01-14 19:58:21 -05:00
Jeremy Mikola
134e54f957
Remove warning about deprecated types
These classes are already documented elsewhere. toPHP() is rarely used directly and the types themselves are uncommon, so there is little need to call them out here.
2022-01-14 19:58:21 -05:00
Jakub Zelenka
7fab6e9590
Document gnupg_geterrorinfo (#1336) 2022-01-15 00:09:16 +00:00
Philip Olson
06cd4fdff7 Added modifyCollection() docs, and updated createCollection() docs to include validate parameter info 2022-01-14 15:06:46 -08:00
Christoph M. Becker
202db6be13
Drop main dummy manual page
This doesn't appear to be relevant for years, anyway.

Closes GH-1282.
2022-01-14 23:33:58 +01:00
Philip Olson
591ad94e5f Removed TLSv1 and TLSv1.1 support in v8.0.28 2022-01-14 11:17:19 -08:00
Máté Kocsis
43289826b4
Add SoapServer::$service property
This has been removed as of PHP 8.2, but since we currently document PHP 8.1, the property should be added.
2022-01-14 16:20:53 +01:00
Alexis MARQUIS
96263b1405
Fix openssl cms constants
Co-authored-by: Alexis MARQUIS <amarquis@opendev.fr>

Closes GH-1334.
2022-01-14 15:46:56 +01:00
Máté Kocsis
b9e6268918
Rename OCI-Lob and OCI-Collection
Closes GH-1323.
2022-01-14 14:26:19 +01:00
Christoph M. Becker
e82ff8a846
Fix GH-1326: "clearstatcache" always clears the stat cache 2022-01-14 14:20:49 +01:00
Christoph M. Becker
98ba3bd97a
Fix #1328: bcrypt max password length is about bytes, not characters 2022-01-14 13:45:21 +01:00
Christoph M. Becker
c7d6db0d24
Clarify meaning of opcache.optimization_level 2022-01-14 10:04:10 +01:00
Tony Su
c8696908a1
Clarification for setting 0 to jit_hot_loop/func
I tried to tell JIT to compile every loops and functions
by setting both opcache.jit_hot_loop and opcache.jit_hot_functions
to 0, but failed to get expected result.

After having read the source code and simple experiments, I found
that setting these two options to 0 will actually disable JIT to
compile any iterations and calls.

So I would like to add clarifications for this behavior in PHP manual.

Signed-off-by: Su, Tao <tao.su@intel.com>

Closes GH-1324.
2022-01-13 08:38:13 +01:00
Sergey Panteleev
62d996960c
Fix typo in gnupg_init example (#1325) 2022-01-13 10:30:05 +03:00
Jakub Zelenka
43b3e6f776
Document options for gnupg_init (#1322) 2022-01-12 22:45:10 +00:00
Christoph M. Becker
16805838e7
Fix GH-1318: get_resources has access to object-controlled resources 2022-01-11 15:57:27 +01:00
Christoph M. Becker
e8fbdb2fe6
Update defaults of session.cookie_secure and .cookie_httponly
That's rather a cosmetic change, but we still should strive to be
precise.
2022-01-11 15:43:31 +01:00
Máté Kocsis
7e6fceff7d
Fix DOMParentNode and DOMChildNode class and method synopses (#1321) 2022-01-11 13:52:43 +01:00
Sergey Panteleev
6a3090c77d
[PHP 8.0] Add new DOM interfaces (#1025)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-01-11 15:10:41 +03:00
Shakil Shahadat
1f26555e0d
Fix datatype in SQLite3 example
SQLite3 does not have a 'STRING' data type. Cf. <https://www.sqlite.org/datatype3.html>.

Closes GH-1320.
2022-01-11 11:11:10 +01:00
George Peter Banyard
e82d2dda19
DomDocument::createTextNode() doesn't return false anymore
Changelog entry already exists
2022-01-10 20:20:15 +00:00
Sergey Panteleev
2ad251ea7b
Refer to preg_replace() docs for param docs of preg_filter() (#723) 2022-01-10 19:36:32 +00:00
Máté Kocsis
213798ecf0
Document mysqli_sql_exception::getSqlState() (#1310)
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-10 14:55:43 +01:00
George Peter Banyard
d7cc460fb0
This method no longer returns false
It already has a changelog entry
2022-01-09 22:03:43 +00:00