#
a37a3d3d |
| 26-Sep-2024 |
Dmitry Stogov |
Fix FFI prototypes (these functions can't return NULL) (#16075)
|
#
f093015a |
| 17-May-2024 |
Máté Kocsis |
Fix class constant and property ID generation for the manual (#14249) Related to https://github.com/php/doc-en/pull/3367
|
#
6988973b |
| 17-Jul-2023 |
Máté Kocsis |
Declare type for ext/ffi internal class constants Since the relevant classes are final, it's straightforward to declare the type of these class constants
|
#
148ac364 |
| 17-Jan-2023 |
Máté Kocsis |
Customize the link of some constants in the manual These changes are necessary because the links which are generated by default are already taken.
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1 |
|
#
e328c683 |
| 19-Jul-2022 |
Máté Kocsis |
Rename @cname to @cvalue in stubs (#9043) @cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as
Rename @cname to @cvalue in stubs (#9043) @cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.
show more ...
|
Revision tags: php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30 |
|
#
413cbdf7 |
| 04-Jun-2022 |
Máté Kocsis |
Declare FFI::__BIGGEST_ALIGNMENT__ in stubs as well
|
#
d476da78 |
| 04-Jun-2022 |
Máté Kocsis |
Declare ext/ffi constants in stubs (#8695)
|
Revision tags: php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0, php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1, php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1 |
|
#
2378f357 |
| 20-Jul-2021 |
Máté Kocsis |
Use single line phpdoc in stubs where possible
|
#
570d9b63 |
| 20-Jul-2021 |
Joe Watkins |
Not serializable flag permeation
|
#
b3828836 |
| 20-Jul-2021 |
Máté Kocsis |
Indent stubs inside global namespace blocks (#7261)
|
#
02b803a5 |
| 14-Jul-2021 |
Nikita Popov |
Rename getStructFieldOffset/Type() parameter By convention, parameter names of camel case methods should also be camel case, i.e. the name should be $fieldName rather than $field_nam
Rename getStructFieldOffset/Type() parameter By convention, parameter names of camel case methods should also be camel case, i.e. the name should be $fieldName rather than $field_name. However, following GH-7236, which changed $arg_index to just $index, this also changes $field_name to just $name. The fact that it is a field name is obvious from context.
show more ...
|
#
efbdcb8e |
| 14-Jul-2021 |
Tyson Andre |
Rename FFI `getFuncArg*` to `getFuncParameter*`, $arg_index->$index (#7236) PHP is already already using "Parameter" instead of "Argument" for reflection on types elsewhere. Paramet
Rename FFI `getFuncArg*` to `getFuncParameter*`, $arg_index->$index (#7236) PHP is already already using "Parameter" instead of "Argument" for reflection on types elsewhere. Parameter is used to refer to the function declarations (AST_PARAM internally in the AST, ReflectionFunctionAbstract->getParameters(), etc.) Argument is used to refer to expressions passed to the functions by the caller (ArgumentCountError, etc.). (Error messages were also changed in php 8.x to refer to passing too many arguments to a function) Other languages use similar definitions, e.g. https://developer.mozilla.org/en-US/docs/Glossary/Parameter
show more ...
|
Revision tags: php-7.4.22RC1, php-8.0.9RC1 |
|
#
a2845e32 |
| 13-Jul-2021 |
Dmitry Stogov |
FFI::CType reflection API
|
Revision tags: php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1 |
|
#
45fa7596 |
| 09-Feb-2021 |
Máté Kocsis |
Add missing classes to stubs
|
#
99b08ac2 |
| 08-Feb-2021 |
Máté Kocsis |
Implicitly enable function entry generation when class entry generation is enabled Closes GH-6675
|
#
98fb565c |
| 05-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for another batch of extensions Closes GH-6669
|
Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1 |
|
#
973138f3 |
| 06-Jan-2021 |
Nikita Popov |
Add support for union types for internal functions This closes the last hole in the supported types for internal function arginfo types. It's now possible to represent unions of mult
Add support for union types for internal functions This closes the last hole in the supported types for internal function arginfo types. It's now possible to represent unions of multiple classes. This is done by storing them as TypeA|TypeB and PHP will then convert this into an appropriate union type list. Closes GH-6581.
show more ...
|
Revision tags: php-8.0.1, php-7.4.14, php-7.3.26 |
|
#
13f898b5 |
| 27-Dec-2020 |
Christoph M. Becker |
Fix ffi stubs Closes GH-6543.
|
#
ab4c5976 |
| 24-Dec-2020 |
Máté Kocsis |
Fix the signature of FFI::typeof() and FFI::memcmp()
|
#
ed19cb65 |
| 23-Dec-2020 |
Máté Kocsis |
Fix the signature of FFI::sizeof() and FFI::alignof()
|
Revision tags: php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1 |
|
#
22ab18c2 |
| 06-Oct-2020 |
Nikita Popov |
Update ext/ffi parameter names Closes GH-6282.
|
#
2d234d11 |
| 02-Oct-2020 |
Nikita Popov |
Declare FFI\CType in namespace Now that it is supported, declare that CType is part of the FFI namespace, not a freestanding class.
|
Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1 |
|
#
bea44429 |
| 10-Sep-2020 |
chopins |
Added FFI\CType::getName() method
|
Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1 |
|
#
f7fbc633 |
| 14-Aug-2020 |
Máté Kocsis |
Add more precise type info for stubs Closes GH-6005
|
#
2803c8fb |
| 07-Aug-2020 |
Máté Kocsis |
Add all the missing parameter types to stubs Closes GH-5955
|