Commit graph

19 commits

Author SHA1 Message Date
George Peter Banyard
68c2c87150 Fix extension doc membership 2021-06-13 23:23:33 +01: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
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
Máté Kocsis
a411286750 Generate methodsynopses based on recently updated stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-362.
2021-01-18 23:31:36 +01:00
Christoph Michael Becker
57c47965ff Generate missing FFI methodsynopses based on stubs
Closes GH-284.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352253 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 18:37:59 +00:00
Christoph Michael Becker
6f4648f6b9 Generate some FFI methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/284>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352217 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 19:35:39 +00:00
Tyson Andre
c01fa948e9 Fix typos in FFI\CData documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350776 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-05 17:40:07 +00:00
Christoph Michael Becker
d862616201 Add FFI enum example
We also add a note regarding calling conventions.

Patch contributed by Szopen Xiao <chopins.xiao@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350751 c90b9560-bf6c-de11-be94-00142212c4b1
2020-10-02 09:08:07 +00:00
Christoph Michael Becker
852978ed89 Clarify pseudo C preprocessor support
Based on a patch provided by Larry Garfield.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349215 c90b9560-bf6c-de11-be94-00142212c4b1
2020-02-12 13:09:26 +00:00
Nikita Popov
03e515786e Clarify that it's safe to reuse an FFI scope.
Patch by Crell.

Closes php/doc-en#22.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349002 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-24 13:00:44 +00:00
Nikita Popov
f19337d272 Cross-link FFI::load and FFI::scope
Patch by Crell.

Closes php/doc-en#21.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349001 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-24 12:56:04 +00:00
Christoph Michael Becker
d197a1438a Document ffi.preload and opcache.preload_user directives
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348203 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-23 07:13:34 +00:00
Christoph Michael Becker
8d2921cd82 Remove "undocumented function" warning
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348195 c90b9560-bf6c-de11-be94-00142212c4b1
2019-10-21 14:57:22 +00:00
Christoph Michael Becker
d8d06c9527 Document FFI:: isNull()
Cf. <https://github.com/php/php-src/pull/4691>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347967 c90b9560-bf6c-de11-be94-00142212c4b1
2019-09-10 09:55:35 +00:00
George Peter Banyard
cffb5f5289 Fix configure arg for FFI extension and add an example for PostgreSQL extension.
Provided by petk.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347649 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-23 00:59:14 +00:00
Christoph Michael Becker
55a5eca8af Update FFI variable accessing docs
Cf. <http://git.php.net/?p=php-src.git;a=commitdiff;h=6738241aece97979bdb7531babcfdf12e3c4b45b>.

We also add a respective example.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347522 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-01 12:09:20 +00:00
George Peter Banyard
db880d014b Indent fix.
Patch provided by Michal Brzuchalski

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347416 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-13 20:30:04 +00:00
Christoph Michael Becker
09b078144a Clarify $lib default behavior of FFI::cdef()
Firstly, $lib does not default to NULL; actually, it has no default.
Secondly, we document what happens if $lib is omitted.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347387 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-06 10:48:14 +00:00
Christoph Michael Becker
4a86f6e16d Add basic ext/ffi documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347385 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-05 16:06:46 +00:00