Commit graph

27824 commits

Author SHA1 Message Date
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
fc7fe7faec
Don't use &url.php.bugs; to refer to the doc issue tracker
This doesn't work anymore since we've switched to using GH issues for
php-src bugs as well.  Since there is only one occurrence left, and
that needs some rewording anyway, we hard code the URLs for now.
2022-01-14 23:34:43 +01: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
721c650d4d
Linked to the local setup tutorial
Added a link to http://doc.php.net/tutorial/local-setup.php
2022-01-14 13:32:06 -08:00
Philip Olson
591ad94e5f Removed TLSv1 and TLSv1.1 support in v8.0.28 2022-01-14 11:17:19 -08:00
Thomas Landauer
170ca71e2d
Deleting usage "limitation" to debugging (#1331)
The name property is useful for more than just debugging.
2022-01-14 11:44:07 -06: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
Sergey Panteleev
afec339bc5
[PHP 8.1] Calling a static element on a trait is deprecated (#1333) 2022-01-14 16:11:24 +03:00
Christoph M. Becker
98ba3bd97a
Fix #1328: bcrypt max password length is about bytes, not characters 2022-01-14 13:45:21 +01:00
Sergey Panteleev
2dffa9fe11
[PHP 8.1] Calling a static element on a trait is deprecated (#1330) 2022-01-14 15:34:37 +03: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
Christoph M. Becker
831c458502
Fix GH-1314: getAvailableDrivers shows as pdo_drivers and not clickable 2022-01-08 23:47:50 +01:00
Yoshinari Takaoka
f889672ad1
fixed property example which is outside a class. 2022-01-09 07:20:15 +09:00
Yoshinari Takaoka
df05c244a6
added readonly modifier link. 2022-01-09 07:17:46 +09:00
George Peter Banyard
f5e5b54129
Properties do not need to be declared with a visibility modifier (#1311)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-01-08 18:58:14 +00:00
George Peter Banyard
b9d5dcd782
Default value for error_reporting is E_ALL as of PHP 8.0.0 (#1307) 2022-01-08 14:36:08 +00:00
Kamil Tekiela
c1adec107f
Add mb_str_split to see also in str_split
Closes GH-1309
2022-01-07 16:05:46 +00:00
Máté Kocsis
edd0f865ff
Fix method include at mysqli-stmt class page 2022-01-07 16:30:14 +01:00
Máté Kocsis
9ed7c3ebf7
List all ext/mysqli properties instead of including them - part 3 (#1305) 2022-01-07 16:27:13 +01:00
Máté Kocsis
5d8dfb3107
List all ext/mysqli properties instead of including them - part 1 (#1302) 2022-01-07 15:31:36 +01:00
Máté Kocsis
db38c455be
List all ext/mysqli properties instead of including them - part 2 (#1304)
Co-authored-by: Kamil Tekiela <tekiela246@gmail.com>
2022-01-07 15:10:48 +01:00
Yoshinari Takaoka
b57f8f256a
Clarify class-types meaning in composite type description. (#1306) 2022-01-06 14:22:32 +00:00
George Peter Banyard
7d9aa6352e
Restructure type declaration page & document Intersection types (#982) 2022-01-06 12:36:43 +00:00
Máté Kocsis
3cf5f667fb
Actually include FFI\CType methods (#1303) 2022-01-05 23:00:09 +01:00
Jeremy Mikola
2d75b03614
Correct alias for weak_cert_validation driver option 2022-01-05 10:34:45 -05:00
Máté Kocsis
8161936485
Add undocumented FFI\CType methods (#1227) 2022-01-05 11:00:17 +01:00
Christoph M. Becker
479a847e72
Fix "day and textual month" format
There is no `d`, but only `dd`.

Integrates user note 126745.
2022-01-04 16:49:05 +01:00
魔王卷子
ba9d7ebde7
Fix wrong parameter name
Closes GH-1298.
2022-01-04 16:02:51 +01:00
Máté Kocsis
302039194a
Add some missing ext/spl method includes (#1294) 2022-01-04 11:47:29 +01:00