History log of /PHP-8.1/ext/ffi/ffi.stub.php (Results 1 – 25 of 26)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1, php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31, php-7.3.30
# 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 ...

# a2845e32 13-Jul-2021 Dmitry Stogov

FFI::CType reflection API

Revision tags: php-7.3.29, php-7.3.28
# 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-7.3.27
# 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-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.3.26RC1, php-7.3.25, php-7.3.25RC1, php-7.3.24, 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.3.23, php-7.3.23RC1
# bea44429 10-Sep-2020 chopins

Added FFI\CType::getName() method

Revision tags: php-7.3.22, php-7.3.22RC1
# 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

Revision tags: php-7.3.21, php-7.3.21RC1, php-7.3.20, php-7.3.20RC1, php-7.3.19
# 59656100 08-Jun-2020 Máté Kocsis

Fix some UNKNOWN default values

In ext/ffi, ext/intl, ext/mysqli, and ext/pcntl

Revision tags: php-7.4.7RC1, php-7.3.19RC1
# 3ebce8e9 02-May-2020 Máté Kocsis

Fix UNKNOWN default values in various extensions

Closes GH-5514

# 7d1c8064 28-Apr-2020 Nikita Popov

Clarify that FFI::cdef() does not return NULL

Revision tags: php-7.3.18RC1, php-7.2.30, php-7.3.17
# c6485535 12-Apr-2020 Máté Kocsis

Generate method entries from stubs for curl, ffi, pdo, phar

Closes GH-5375

# ca006e54 11-Apr-2020 Máté Kocsis

Add missing visibility modifiers in stubs

Revision tags: php-7.3.17RC1, php-7.3.18, php-7.3.16, php-7.3.16RC1
# abfdfc9f 18-Feb-2020 Nikita Popov

Add return types to FFI methods

The FFI class is final, so we can use proper return types.

Revision tags: php-7.3.15RC1
# 16980577 03-Feb-2020 Nikita Popov

Merge branch 'PHP-7.4'

* PHP-7.4:
Apply tidy formatting


Revision tags: php-7.3.15, php-7.3.14, php-7.3.14RC1, php-7.3.13, php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12, php-7.4.0RC6, php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1
# 0128f6eb 10-Sep-2019 Dmitry Stogov

Merge branch 'PHP-7.4'

* PHP-7.4:
NEWS entry, test and minor cleanup for FFI::isNull()
add FFI::isNull() to check whether a FFI\CData is a null pointer


12